Trivial tree merge #5731

pull theuni wants to merge 12 commits into bitcoin:master from theuni:trivial-rebased changing 41 files +244 −333
  1. theuni commented at 10:52 PM on January 31, 2015: member

    Here's merge attempt #1 from the trivial tree. Though the changes are obviously trivial, I'd like to end up with a functional work-flow for merging such trees, so that the process may eventually be useful for other subsystems as well. Here's my approach so far:

    • User PRs into the trivial-next branch. Actually for now most are PRing into the Bitcoin tree and I poach them, but this could change after documenting the changes.
    • The trivial tree follows master, and often does upstream merges in order to stay sync'd up. Whenever pulling in a PR that has a tip higher than the current trivial-next tip, I merge from upstream first, then merge the PR. That allows for conflicts against master to be resolved before bringing in the new changes. Also, I ensure that 'git rerere' is enabled first, so that my conflict resolutions are recorded.
    • I simultaneously maintain a 'trivial-rebased' branch which is essentially staging for a merge into master. After merging in a PR, I checkout this branch, reset to trivial-next, then rebase onto origin/master. The previously-recorded resolutions are re-used, so there should be no need for manual conflict resolution here if the previous steps were done correctly.
    • PR into master. After merge, trivial-rebased can be reset to trivial-next, and the cycle starts over. Since trivial-next always follows master and merges from upstream rather than rebasing, users aren't required to do force-pulls or do anything else out of the ordinary.

    Written out, that may sound a bit complicated, but after a few merges it's actually quite brainless.

  2. Remove bootstrap.md
    See #5455
    86731603d4
  3. remove sig_canonical.json and sig_noncanonical.json d6bed1514c
  4. Improve gitian build guide
    Point to the Debian 7.7 installer
    Fix wording now that we only use a single image
    Remove bitcoin checkout steps, they are covered in release-process
    bfc29dcdc5
  5. Fix typo - sentence starts with capital letter 91a9fe094b
  6. Fix typo 3800135ad3
  7. Remove whitespaces before double colon in errors and logs 5262fde0ec
  8. TRIVIAL: fix misleading comment bd2b73bb9b
  9. depends: fix typos 5a809ef0f0
  10. Suggest --disable-wallet when libdb_cxx headers are missing faf0af49f5
  11. Fix README link from util.sh -> util.py. 34c61813a4
  12. fix _code_ snippet in gitian-building.md
    Trivial typo-like fix
    1fa89a54e8
  13. Changed pronouns for correctness and inclusivity ee932025c1
  14. jgarzik commented at 11:39 PM on January 31, 2015: contributor

    One complaint -- "remove sig_canonical.json and sig_noncanonical.json" commit description does not say why it is being removed. Needs more explanation.

    Everything else: ut ACK

  15. laanwj commented at 9:32 PM on February 1, 2015: member

    @jgarzik see #5491 for the discussion/explanation about that

  16. laanwj commented at 10:49 AM on February 2, 2015: member

    Binary analysis:

    Commit Description bitcoind hash
    6af674e (parent) 27eea9941bd3ebb9e8488331169f68e67008dbee95ea41f07fe6a45c305c5acf
    8673160 Remove bootstrap.md 27eea9941bd3ebb9e8488331169f68e67008dbee95ea41f07fe6a45c305c5acf
    d6bed15 remove sig_canonical.json and sig_noncanonical.json ...
    bfc29dc Improve gitian build guide 27eea9941bd3ebb9e8488331169f68e67008dbee95ea41f07fe6a45c305c5acf
    91a9fe0 Fix typo - sentence starts with capital letter 0e1f1998034de1912e2256c0a945cd9e36a5bf5fbb4c887f15412b9af4a648d9
    3800135 Fix typo 0e1f1998034de1912e2256c0a945cd9e36a5bf5fbb4c887f15412b9af4a648d9
    5262fde Remove whitespaces before double colon in errors and logs e745d081926784c9a83ac2a60c3edeba675f8560bb028f0b16e1850d515f5f04
    bd2b73b TRIVIAL: fix misleading comment ...
    5a809ef depends: fix typos ...
    faf0af4 Suggest --disable-wallet when libdb_cxx headers are missing ...
    34c6181 Fix README link from util.sh -> util.py ...
    1fa89a5 fix code snippet in gitian-building.md ...
    ee93202 Changed pronouns for correctness and inclusivity e745d081926784c9a83ac2a60c3edeba675f8560bb028f0b16e1850d515f5f04

    Concluding from this, binary changes happened in

    • 91a9fe0: One-byte change in string table in rpcwallet.o 2e204966 206e6f74 2070726f 76696465 . If not provide to 2e206966 206e6f74 2070726f 76696465 . if not provide (ACK)
    • 5262fde:
     .../src/libbitcoin_common_a-chainparams.o          | Bin 546336 -> 546336 bytes
     .../src/libbitcoin_common_a-core_read.o            | Bin 662552 -> 662552 bytes
     .../src/libbitcoin_common_a-keystore.o             | Bin 400744 -> 400744 bytes
     .../src/libbitcoin_common_a-protocol.o             | Bin 83600 -> 83600 bytes
     .../src/libbitcoin_server_a-alert.o                | Bin 1439800 -> 1439800 bytes
     .../src/libbitcoin_server_a-init.o                 | Bin 5660920 -> 5660920 bytes
     .../src/libbitcoin_server_a-main.o                 | Bin 9025208 -> 9025048 bytes
     .../src/libbitcoin_server_a-miner.o                | Bin 1262288 -> 1262288 bytes
     .../src/libbitcoin_server_a-net.o                  | Bin 5019160 -> 5019128 bytes
     .../src/libbitcoin_server_a-pow.o                  | Bin 77768 -> 77768 bytes
     .../src/libbitcoin_server_a-rpcmining.o            | Bin 1753176 -> 1753176 bytes
     .../src/libbitcoin_server_a-rpcrawtransaction.o    | Bin 2656296 -> 2656296 bytes
     .../src/libbitcoin_server_a-txdb.o                 | Bin 762384 -> 762384 bytes
     .../src/libbitcoin_server_a-txmempool.o            | Bin 1517992 -> 1517992 bytes
     .../src/libbitcoin_wallet_a-db.o                   | Bin 531440 -> 531440 bytes
     .../src/libbitcoin_wallet_a-rpcwallet.o            | Bin 3074120 -> 3074120 bytes
     .../src/libbitcoin_wallet_a-wallet.o               | Bin 5892408 -> 5892408 bytes
     .../src/libbitcoin_wallet_a-walletdb.o             | Bin 3362264 -> 3362264 bytes
     .../primitives/libbitcoin_common_a-transaction.o   | Bin 293376 -> 293376 bytes
     .../src/script/libbitcoin_common_a-interpreter.o   | Bin 336824 -> 336824 bytes
     .../src/script/libbitcoin_common_a-sign.o          | Bin 419264 -> 419264 bytes
     .../src/script/libbitcoin_common_a-standard.o      | Bin 482480 -> 482480 bytes
    

    I verified all these changes are in .data sections, no code changes, but had no time to investigate deeper exactly what data is affected. Coupled with review of the source code diff to confirm these are just message changes -> ACK.

  17. laanwj merged this on Feb 2, 2015
  18. laanwj closed this on Feb 2, 2015

  19. laanwj referenced this in commit a62649731f on Feb 2, 2015
  20. luke-jr commented at 11:21 AM on February 2, 2015: member

    This was missing the final resolution of #5730

  21. laanwj commented at 11:34 AM on February 2, 2015: member

    Let's leave that for next trivial merge.

  22. theuni commented at 2:49 PM on February 2, 2015: member

    @jgarzik: I think that's actually a point worth addressing in the workflow. Ideally all changes would be explained, but often they depend on the original PR. For the next merge, I'll look into grabbing the PR description, since it won't necessarily be coming from the bitcoin repo. @laanwj Thanks for the thorough review.

  23. jgarzik commented at 2:53 PM on February 2, 2015: contributor

    @theuni As @gmaxwell and I have pointed out in the past, what matters is what goes into the git repo and appears in the git history.

    Forcing people to perform research just to figure the "why" of a commit is a sign of a broken commit description (and broken process).

    The trivial tree should not be dropping crucial information.

  24. theuni commented at 2:57 PM on February 2, 2015: member

    @jgarzik Sorry if I wasn't clear. By "grabbing the PR description", i meant adding it to the commit message so that nothing is lost when going upstream. I agree with you entirely.

  25. laanwj commented at 4:53 PM on February 2, 2015: member

    Indeed, adding a link to the original pull request to the commit descriptions would make sense. I also do this when backporting to a branch.

  26. luke-jr commented at 5:04 PM on February 2, 2015: member

    s/link/description/

    Can't assume GitHub will always be here.

  27. theuni commented at 5:05 PM on February 2, 2015: member

    Discussed this quickly on IRC. The issue is that I didn't demand a better commit message that can stand on its own for 'git log' purposes. Noted.

    Edit: and obviously the PR link is a good idea regardless. I'll be doing that from now on as well.

  28. laanwj commented at 7:00 PM on February 2, 2015: member

    @luke-jr If that's what you're afraid of, we have a mirror of all gh metadata (including issues and all discussions) for this repository here, thanks to @zw: https://github.com/zw/bitcoin-gh-meta By keeping a local clone of that repository, we can keep everything backed up.

  29. in src/checkqueue.h:None in ee932025c1
      80 | @@ -81,7 +81,7 @@ class CCheckQueue
      81 |                      fAllOk &= fOk;
      82 |                      nTodo -= nNow;
      83 |                      if (nTodo == 0 && !fMaster)
      84 | -                        // We processed the last element; inform the master he can exit and return the result
      85 | +                        // We processed the last element; inform the master he or she can exit and return the result
    


    Diapolo commented at 9:10 PM on February 3, 2015:

    What is the sense here!? Are we now gendering the code?


    theuni commented at 9:24 PM on February 3, 2015:

    @Diapolo It was prematurely ack'd. See the long discussion here: #5730 . It will be fixed.


    Diapolo commented at 10:10 PM on February 3, 2015:

    Didn't take notice of the happening there... if it will be fixed I'm fine. It's likely better to not comment on the rest ^^.

  30. MarcoFalke 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-13 21:15 UTC

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