Docs: Improve release-process.md formatting #17981

pull giulio92 wants to merge 2 commits into bitcoin:master from giulio92:release-process-formatting changing 1 files +277 −219
  1. giulio92 commented at 9:33 AM on January 22, 2020: contributor

    This PR will improve release-process.md formatting by:

    1. Updating Markdown syntax to the latest one
    2. Adding syntax highlighting to all code blocks
    3. Aligning the text up to 80 column guideline (before it was following different guidelines, sometime 80, sometime 90, etc.)
    4. Small grammar improvements here and there
  2. Improve release-process.md formatting b90172c668
  3. fanquake added the label Docs on Jan 22, 2020
  4. giulio92 commented at 9:43 AM on January 22, 2020: contributor

    The Lint job of Travis CI just failed with this issue:

    test/lint/lint-shell.sh:44: desriptor  ==> descriptor
    ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/lint-spelling.ignore-words.txt
    This diff appears to have added new lines with trailing whitespace.
    The following changes were suspected:
    diff --git a/doc/release-process.md b/doc/release-process.md
    @@ -13,3 +11,4 @@ Release Process
    +* Update [`bips.md`](bips.md) to account for changes since the last release
    +* Update version in [`configure.ac`](/configure.ac)
    @@ -30,13 +27,25 @@ Release Process
    +and `m_assumed_chain_state_size` with the current size plus some overhead
    @@ -354,2 +401,5 @@ bitcoin.org (see below for bitcoin.org update instructions).
    +        - Click "Request builds" for every new release on this branch
    ^---- failure generated from test/lint/lint-whitespace.sh
    

    It's a false positive? This PR just changes a .md file, how could this be possibile?

  5. fanquake commented at 9:46 AM on January 22, 2020: member

    This diff appears to have added new lines with trailing whitespace. @giulio92 From the log. The problem is the trailing whitespace you've introduced.

  6. in doc/release-process.md:7 in b90172c668 outdated
       8 | -
       9 | -* Update translations (ping wumpus on IRC) see [translation_process.md](https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md#synchronising-translations).
      10 | -* Update manpages, see [gen-manpages.sh](https://github.com/bitcoin/bitcoin/blob/master/contrib/devtools/README.md#gen-manpagessh).
      11 | -* Update release candidate version in `configure.ac` (`CLIENT_VERSION_RC`).
      12 | +* Update translations (ping [@wumpus](https://github.com/laanwj) on IRC) see [translation_process.md](./translation_process.md#synchronising-translations).
      13 | +* Update manpages, see [gen-manpages.sh](/contrib/devtools/README.md#gen-manpagessh).
    


    hebasto commented at 9:53 AM on January 22, 2020:

    back ticks around gen-manpages.sh ?


    giulio92 commented at 10:08 AM on January 22, 2020:

    ACK, applied change in 5a797b4

  7. in doc/release-process.md:8 in b90172c668 outdated
       0 | @@ -1,168 +1,210 @@
       1 | -Release Process
       2 | -====================
       3 | +# Release Process
       4 |  
       5 |  ## Branch updates
       6 |  
       7 |  ### Before every release candidate
       8 | -
       9 | -* Update translations (ping wumpus on IRC) see [translation_process.md](https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md#synchronising-translations).
    


    hebasto commented at 9:54 AM on January 22, 2020:

    back ticks around translation_process.md ?


    giulio92 commented at 10:08 AM on January 22, 2020:

    ACK, applied change in 5a797b4

  8. in doc/release-process.md:336 in b90172c668 outdated
     336 | -space *do not upload these to the bitcoin.org server, nor put them in the torrent*.
     337 | +The `*-debug*` files generated by the gitian build contain debug symbols for
     338 | +troubleshooting by developers. It is assumed that anyone that is interested in
     339 | +debugging can run gitian to generate the files for themselves. To avoid end-user
     340 | +confusion about which file to pick, as well as save storage space *do not upload
     341 | +these to the bitcoin.org server, nor put them in the torrent*.
    


    hebasto commented at 9:59 AM on January 22, 2020:

    Why this change?

  9. in doc/release-process.md:423 in b90172c668 outdated
     418 | @@ -368,19 +419,23 @@ bitcoin.org (see below for bitcoin.org update instructions).
     419 |  
     420 |    - Update title of #bitcoin on Freenode IRC
     421 |  
     422 | -  - Optionally twitter, reddit /r/Bitcoin, ... but this will usually sort out itself
     423 | +  - Optionally twitter, reddit /r/Bitcoin, ... but this will usually sort out
     424 | +  itself
    


    hebasto commented at 10:00 AM on January 22, 2020:

    Why this change?

  10. giulio92 commented at 10:06 AM on January 22, 2020: contributor

    This diff appears to have added new lines with trailing whitespace.

    @giulio92 From the log. The problem is the trailing whitespace you've introduced.

    I understand.

    Those trailing whitespace represent a line break in Markdown syntax (reference) and I placed them to place the "Note:" section below the text it is referred to

    Before: Some text Note: some note

    After: Some text Note: some note

    In my opinion it looks better, should I remove the two trailing whitespaces?

  11. Code review 5a797b40fb
  12. giulio92 commented at 10:14 AM on January 22, 2020: contributor

    @hebasto regarding comments: one and two I aligned the text up to 80 column guideline to make it look more readable while editing the .md file

  13. hebasto commented at 10:26 AM on January 22, 2020: member

    @hebasto regarding comments: one and two I aligned the text up to 80 column guideline to make it look more readable while editing the .md file

    Our project style guideline does not have such requirements. Though, it seems good be able not using horizontal scrolling on the GitHub while (re)viewing the code and diffs. It implies the maximum of line length about 118 characters.

  14. jonatack commented at 11:39 AM on January 22, 2020: member

    I don't think these style changes warrant the review effort for an internal process document.

  15. Empact commented at 7:08 PM on January 22, 2020: member

    Agree with @jonatack. To ease review, consider splitting it up into narrowly-constructed commits or separate pull requests. E.g. the syntax highlighting changes which would be trivial to review, particularly if you limited your changes to the bounds around the code.

  16. giulio92 commented at 1:52 PM on January 28, 2020: contributor

    While already knowing that this document is something internal, I also think that, being Bitcoin an open source project, everyone should be able to read and understand how things works (even out of curiosity), and the changes of this PR goes in the direction of improving the formatting of the description of the release process so that everyone and not just who is the "release master" understands.

    If we think that merging this changes is not useful I would prefer to close the PR now instead of starting a process of splitting the changes in separate commits and PRs

  17. jonatack commented at 2:10 PM on January 28, 2020: member

    @giulio92, FWIW here are several in-depth articles that you might find useful for contributing. This is only my opinion, but review time is valuable and scarce and more value is added by testing/reviewing important PRs and issues, or handling good first issues where help is actively requested. Cheers :)

  18. DrahtBot commented at 3:24 AM on February 12, 2020: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #18125 (doc: remove PPA note from release-process.md by fanquake)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  19. giulio92 closed this on Feb 12, 2020

  20. giulio92 deleted the branch on Feb 12, 2020
  21. giulio92 commented at 9:23 AM on February 12, 2020: contributor

    Closing this as it seems it does not bring any value

  22. Empact commented at 5:23 AM on February 17, 2020: member

    Thanks @giulio92, as Bitcoin is currently review-constrained, I encourage you to contribute but with attention to how you might reduce the review burden of your contributions, e.g. by making them more narrowly tailored.

  23. DrahtBot locked this on Feb 15, 2022

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-22 18:14 UTC

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