Debian build #600

pull TheBlueMatt wants to merge 2 commits into bitcoin:master from TheBlueMatt:debian-build changing 25 files +1556 −0
  1. TheBlueMatt commented at 6:09 PM on October 30, 2011: member

    I know jgarzik didn't want this, but IMHO it belongs in the repo instead of (insert name of third party here)'s repo.

    If the ubuntu/ubuntu ppa is to be linked on bitcoin.org (which I very much believe it should be), I would say its much better to have a debian folder in bitcoin's src, even if it just sits there and only one or two third-partys update it via pull requests instead of the core team keeping it up-to-date.

    Note that this is essentially how the gitian scripts have been done for the past many releases, also just because a debian/ folder is here, doesn't mean any core devs have to deal with releases or the bitcoin/bitcoin ppa, it just makes the build process a bit more transparent and a bit more public.

    Anyway, its open for discussion.

  2. Re-add bitcoin(32&80).xpm 486ee252c4
  3. Add debian build folder 8248ee5070
  4. graingert commented at 6:48 PM on October 30, 2011: contributor

    I don't see the harm in this

  5. laanwj commented at 7:11 PM on October 30, 2011: member

    I don't have problems with adding this either. The provided files can be useful for other distributions as well.

    Except I don't really see the point of the included patch; we could support using the system json-spirit in the build system, this would save the need for including a diff in the repository (which can run out of date, not apply cleanly anymore etc...)

  6. TheBlueMatt commented at 7:40 PM on October 30, 2011: member

    The included patch isn't actually used (see debian/patches/series) it was added by the bitcoind debian maintainer and I just decided to leave it since it is disabled anyway.

    "Wladimir J. van der Laan" reply@reply.github.com wrote:

    I don't have problems with adding this either. The provided files can be useful for other distributions as well.

    Except I don't really see the point of the included patch; we could support using the system json-spirit in the build system, this would save the need for including a diff in the repository (which can run out of date, not apply cleanly anymore etc...)

    Reply to this email directly or view it on GitHub: #600 (comment)

  7. gavinandresen commented at 12:07 AM on November 1, 2011: contributor

    Does this belong in the main repo? Or would another github repo be better (maybe 'bitcoin/distros'?)

  8. laanwj commented at 2:14 AM on November 1, 2011: member

    I think there are arguments for and against including it in the main repository.

    For:

    • Many of us are using a debian-ish distribution, so having the files directly available (and versioned synchronously) aid in testing the debian package and debug issues like #595
    • What applies to packaging for debian can also serve as an example for packaging for other distributions

    Against:

    • As the debian maintainer is not currently part of the core team, it will eternally be out of date. It now already includes patches and other files that are not used. There is something to be said for keeping the main repository lean and mean.
    • If we made top-level directories for every distribution, we'd end up with total crazyness. Maybe moving it to contrib or even a separate repository makes sense. We could give the debian maintainer (and others) direct access there as well...

    That said, quite a lot of open source packages have a "debian" directory in their main repository.

  9. TheBlueMatt commented at 2:56 PM on November 1, 2011: member

    I dont care too much where it goes, but at build-time the debian folder has to be at the top level, so if you move it, builders have to shuffle it around to commit updates and build.

  10. laanwj commented at 7:40 AM on November 4, 2011: member

    Well if debian itself thinks it's undesirable we can close this issue.

    If upstream has a debian directory in their releases, you should contact them 
    and ask if they can remove the debian/ directory from their tarball releases. There's no 
    need to remove the debian directory from their revision control system (although if it's 
    out of date they may decide to do so anyway), but at the very least the directory 
    shouldn't appear in releases. If you are upstream yourself, well, you can ask yourself to do it.
    
  11. laanwj closed this on Nov 4, 2011

  12. TheBlueMatt commented at 12:33 PM on November 4, 2011: member

    The thing is, in this case the debian directory isn't for debian to use, it's for us.

    "Wladimir J. van der Laan" reply@reply.github.com wrote:

    Well if debian itself thinks it's undesirable we can close this issue.

    If upstream has a debian directory in their releases, you should contact them and ask if they can remove the debian/ directory from their tarball releases. There's no need to remove the debian directory from their revision control system (although if it's out of date they may decide to do so anyway), but at the very least the directory shouldn't appear in releases. If you are upstream yourself, well, you can ask yourself to do it.


    Reply to this email directly or view it on GitHub: #600 (comment)

  13. Stemby commented at 12:58 PM on November 4, 2011: none

    There's no need to remove the debian directory from their revision control system (although if it's out of date they may decide to do so anyway), but at the very least the directory shouldn't appear in releases.

    If you think that having a debian/ directory is useful, you can keep it in Git (only in Git!) evenly.

    Ciao!

  14. TheBlueMatt commented at 2:17 PM on November 4, 2011: member

    As I previously stated, the reasoning for adding our own debian directory is for distributed control/updates to the build-methods for the bitcoin/bitcoin ppa. Without this, the debian directory is manged in (insert name of third party's tree here) which just becomes a mess (we used to do that for gitian builds, but people complained too much and gitian descriptors were merged upstream).

    Debian's arguments against upstream debian directories are (IMHO) very weak. All they argue is that it makes debian diffs more complicated, but if you've actually used debian's package system, it really handles diffs very cleanly and the added effort for maintainers is absolutely non-existent.

    Also, if people don't want debian in the top level of bitcoin anyway, we can easily just move it to contrib and not have to worry about conflicting with debian's suggestions.

  15. laanwj commented at 2:32 PM on November 4, 2011: member

    yes, just move it to contrib, then it's in the tree and we don't have to remove it before release every time...

  16. TheBlueMatt commented at 2:45 PM on November 4, 2011: member

    already did (though github wont update and show that if the pull is closed)

  17. ptschip referenced this in commit b4b10c3f40 on May 22, 2017
  18. fjahr referenced this in commit 6c36de7a33 on Jul 24, 2019
  19. elichai referenced this in commit 461acf5c6c on Aug 22, 2019
  20. sipa referenced this in commit 6b9cd1520b on Sep 24, 2019
  21. kallewoof referenced this in commit c866f52e2a on Oct 4, 2019
  22. sipa referenced this in commit 544c1f35e7 on Nov 6, 2019
  23. sipa referenced this in commit d5cd9db7a3 on Nov 19, 2019
  24. sipa referenced this in commit de659898b6 on Jan 21, 2020
  25. sipa referenced this in commit 36362dfb90 on Jan 23, 2020
  26. jnewbery referenced this in commit 85e7d06351 on Mar 17, 2020
  27. sipa referenced this in commit 4977ac14d3 on Mar 18, 2020
  28. sipa referenced this in commit 5bf7fb5baa on Mar 18, 2020
  29. sipa referenced this in commit fb2a05e468 on Mar 19, 2020
  30. sipa referenced this in commit 497fad6f09 on Mar 21, 2020
  31. sipa referenced this in commit eae016f117 on Mar 22, 2020
  32. sipa referenced this in commit 4e37a7c2cb on Mar 27, 2020
  33. jnewbery referenced this in commit 9696dea839 on Apr 16, 2020
  34. jnewbery referenced this in commit a541fd0e87 on Apr 19, 2020
  35. sipa referenced this in commit c308759ea5 on Apr 19, 2020
  36. sipa referenced this in commit 4eaec32f1c on May 2, 2020
  37. sipa referenced this in commit ef7117193c on May 22, 2020
  38. sipa referenced this in commit 67f232b5d8 on Jun 9, 2020
  39. stackman27 referenced this in commit 78cde6f8c7 on Jun 26, 2020
  40. KolbyML referenced this in commit bc86927231 on Sep 4, 2020
  41. rajarshimaitra referenced this in commit 9ff862c037 on Aug 5, 2021
  42. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me