git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 0/9] Minor improvements to CodingGuidelines and SubmittingPatches

From
Josh Soref via GitGitGadget <gitgitgadget@gmail.com>
Date
Dec 28, 2023, 04:55 UTC
Message-ID
<pull.1623.v3.git.1703739324.gitgitgadget@gmail.com>
In-Reply-To
<pull.1623.v2.git.1703176865.gitgitgadget@gmail.com>

These are a bunch of things I've run into over my past couple of attempts to contribute to Git.

 * Incremental punctuation/grammatical improvements
 * Update extra tags suggestions based on common usage
 * drop reference to an article that was discontinued over a decade ago
 * update GitHub references
 * harmonize non-ASCII while I'm here

Note that I'm trying to do things "in the neighborhood". It'll be slower than me replacing things topically, but hopefully easier for others to digest. My current estimate is a decade or two :).

Josh Soref (9):
  CodingGuidelines: move period inside parentheses
  CodingGuidelines: write punctuation marks
  SubmittingPatches: drop ref to "What's in git.git"
  SubmittingPatches: discourage new trailers
  SubmittingPatches: update extra tags list
  SubmittingPatches: provide tag naming advice
  SubmittingPatches: clarify GitHub visual
  SubmittingPatches: clarify GitHub artifact format
  SubmittingPatches: hyphenate non-ASCII
 Documentation/CodingGuidelines  |  4 ++--
 Documentation/SubmittingPatches | 33 +++++++++++++++++++++++----------
 2 files changed, 25 insertions(+), 12 deletions(-)
base-commit: 624eb90fa8f65a79396615f3c2842ac5a3743350
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1623%2Fjsoref%2Fdocumentation-v3
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1623/jsoref/documentation-v3
Pull-Request: https://github.com/gitgitgadget/git/pull/1623
Range-diff vs v2:
  1:  b9a8eb6aa4e =  1:  b9a8eb6aa4e CodingGuidelines: move period inside parentheses
  2:  c0db8336e51 =  2:  c0db8336e51 CodingGuidelines: write punctuation marks
  3:  22d66c5b78a =  3:  22d66c5b78a SubmittingPatches: drop ref to "What's in git.git"
  4:  eac2211332f =  4:  eac2211332f SubmittingPatches: discourage new trailers
  5:  8848572fe2c =  5:  8848572fe2c SubmittingPatches: update extra tags list
  6:  8f16c7caa73 !  6:  f28c1011ba9 SubmittingPatches: improve extra tags advice
     @@ Metadata
      Author: Josh Soref <jsoref@gmail.com>
      
       ## Commit message ##
     -    SubmittingPatches: improve extra tags advice
     +    SubmittingPatches: provide tag naming advice
      
          Current statistics show a strong preference to only capitalize the first
          letter in a hyphenated tag, but that some guidance would be helpful:
     @@ Documentation/SubmittingPatches: While you can also create your own trailer if t
       encourage you to instead use one of the common trailers in this project
       highlighted above.
       
     -+Extra tags should only capitalize the very first letter, i.e. favor
     ++Only capitalize the very first letter of tags, i.e. favor
      +"Signed-off-by" over "Signed-Off-By" and "Acked-by:" over "Acked-By".
      +
       [[git-tools]]
  7:  cdb5fd0957f <  -:  ----------- SubmittingPatches: clarify GitHub visual
  8:  77576327df8 !  7:  49cef6f7c20 SubmittingPatches: clarify GitHub artifact format
     @@ Metadata
      Author: Josh Soref <jsoref@gmail.com>
      
       ## Commit message ##
     -    SubmittingPatches: clarify GitHub artifact format
     +    SubmittingPatches: clarify GitHub visual
      
     -    GitHub wraps artifacts generated by workflows in a .zip file.
     +    GitHub has two general forms for its states, sometimes they're a simple
     +    colored object (e.g. green check or red x), and sometimes there's also a
     +    colored container (e.g. green box or red circle) which contains that
     +    object (e.g. check or x).
      
     -    Internally, workflows can package anything they like in them.
     -
     -    A recently generated failure artifact had the form:
     -
     -    windows-artifacts.zip
     -      Length      Date    Time    Name
     -    ---------  ---------- -----   ----
     -     76001695  12-19-2023 01:35   artifacts.tar.gz
     -     11005650  12-19-2023 01:35   tracked.tar.gz
     -    ---------                     -------
     -     87007345                     2 files
     +    That's a lot of words to try to describe things, but in general, the key
     +    for a failure is that it's recognized as an `x` and that it's associated
     +    with the color red -- the color of course is problematic for people who
     +    are red-green color-blind, but that's why they are paired with distinct
     +    shapes.
      
          Signed-off-by: Josh Soref <jsoref@gmail.com>
      
       ## Documentation/SubmittingPatches ##
     -@@ Documentation/SubmittingPatches: branches here: `https://github.com/<Your GitHub handle>/git/actions/workflows/ma
     - If a branch did not pass all test cases then it is marked with a red
     - +x+. In that case you can click on the failing job and navigate to
     - "ci/run-build-and-tests.sh" and/or "ci/print-test-failures.sh". You
     +@@ Documentation/SubmittingPatches: After the initial setup, CI will run whenever you push new changes
     + to your fork of Git on GitHub.  You can monitor the test state of all your
     + branches here: `https://github.com/<Your GitHub handle>/git/actions/workflows/main.yml`
     + 
     +-If a branch did not pass all test cases then it is marked with a red
     +-cross. In that case you can click on the failing job and navigate to
     +-"ci/run-build-and-tests.sh" and/or "ci/print-test-failures.sh". You
      -can also download "Artifacts" which are tarred (or zipped) archives
     -+can also download "Artifacts" which are zip archives containing
     -+tarred (or zipped) archives
     - with test data relevant for debugging.
     +-with test data relevant for debugging.
     ++If a branch does not pass all test cases then it will be marked with a
     ++red +x+, instead of a green check. In that case, you can click on the
     ++failing job and navigate to "ci/run-build-and-tests.sh" and/or
     ++"ci/print-test-failures.sh". You can also download "Artifacts" which
     ++are tarred (or zipped) archives with test data relevant for debugging.
       
       Then fix the problem and push your fix to your GitHub fork. This will
     + trigger a new CI build to ensure all tests pass.
  -:  ----------- >  8:  deb1bf02f3a SubmittingPatches: clarify GitHub artifact format
  9:  a4878f58fe4 =  9:  b1b75cc6a3e SubmittingPatches: hyphenate non-ASCII
-- 
gitgitgadget
Previous: Josh Soref via GitGitGadgetNext: Josh Soref via GitGitGadget
Message 46 of 55 in “Minor improvements to CodingGuidelines and SubmittingPatches”
  1. 0/8 Minor improvements to CodingGuidelines and SubmittingPatchesJosh Soref via GitGitGadget, Dec 19, 2023
  2. 1/8 CodingGuidelines: move period inside parenthesesJosh Soref via GitGitGadget, Dec 19, 2023
  3. 2/8 CodingGuidelines: write punctuation marksJosh Soref via GitGitGadget, Dec 19, 2023
  4. 3/8 SubmittingPatches: drop ref to "What's in git.git"Josh Soref via GitGitGadget, Dec 19, 2023
  5. 4/8 SubmittingPatches: update extra tags listJosh Soref via GitGitGadget, Dec 19, 2023
  6. Phillip WoodDec 20, 2023
  7. Elijah NewrenDec 20, 2023
  8. Josh SorefDec 20, 2023
  9. Elijah NewrenDec 20, 2023
  10. Josh SorefDec 20, 2023
  11. phillip.wood123@gmail.comDec 21, 2023
  12. Junio C HamanoDec 20, 2023
  13. 5/8 SubmittingPatches: improve extra tags adviceJosh Soref via GitGitGadget, Dec 19, 2023
  14. 6/8 SubmittingPatches: clarify GitHub visualJosh Soref via GitGitGadget, Dec 19, 2023
  15. René ScharfeDec 19, 2023
  16. Elijah NewrenDec 20, 2023
  17. Josh SorefDec 20, 2023
  18. Junio C HamanoDec 20, 2023
  19. 7/8 SubmittingPatches: clarify GitHub artifact formatJosh Soref via GitGitGadget, Dec 19, 2023
  20. Elijah NewrenDec 20, 2023
  21. Josh SorefDec 20, 2023
  22. Elijah NewrenDec 20, 2023
  23. 8/8 SubmittingPatches: hyphenate non-ASCIIJosh Soref via GitGitGadget, Dec 19, 2023
  24. Elijah NewrenDec 20, 2023
  25. 0/9 Minor improvements to CodingGuidelines and SubmittingPatchesJosh Soref via GitGitGadget, Dec 21, 2023
  26. 1/9 CodingGuidelines: move period inside parenthesesJosh Soref via GitGitGadget, Dec 21, 2023
  27. Junio C HamanoDec 21, 2023
  28. Josh SorefDec 21, 2023
  29. Dragan SimicDec 22, 2023
  30. 2/9 CodingGuidelines: write punctuation marksJosh Soref via GitGitGadget, Dec 21, 2023
  31. Junio C HamanoDec 21, 2023
  32. Josh SorefDec 21, 2023
  33. Junio C HamanoDec 21, 2023
  34. 3/9 SubmittingPatches: drop ref to "What's in git.git"Josh Soref via GitGitGadget, Dec 21, 2023
  35. Junio C HamanoDec 21, 2023
  36. 4/9 SubmittingPatches: discourage new trailersJosh Soref via GitGitGadget, Dec 21, 2023
  37. 5/9 SubmittingPatches: update extra tags listJosh Soref via GitGitGadget, Dec 21, 2023
  38. Junio C HamanoDec 21, 2023
  39. Josh SorefDec 21, 2023
  40. 6/9 SubmittingPatches: improve extra tags adviceJosh Soref via GitGitGadget, Dec 21, 2023
  41. Junio C HamanoDec 21, 2023
  42. 7/9 SubmittingPatches: clarify GitHub visualJosh Soref via GitGitGadget, Dec 21, 2023
  43. Junio C HamanoDec 21, 2023
  44. 8/9 SubmittingPatches: clarify GitHub artifact formatJosh Soref via GitGitGadget, Dec 21, 2023
  45. 9/9 SubmittingPatches: hyphenate non-ASCIIJosh Soref via GitGitGadget, Dec 21, 2023
  46. 0/9 Minor improvements to CodingGuidelines and SubmittingPatchesJosh Soref via GitGitGadget, Dec 28, 2023
  47. 1/9 CodingGuidelines: move period inside parenthesesJosh Soref via GitGitGadget, Dec 28, 2023
  48. 2/9 CodingGuidelines: write punctuation marksJosh Soref via GitGitGadget, Dec 28, 2023
  49. 3/9 SubmittingPatches: drop ref to "What's in git.git"Josh Soref via GitGitGadget, Dec 28, 2023
  50. 4/9 SubmittingPatches: discourage new trailersJosh Soref via GitGitGadget, Dec 28, 2023
  51. 5/9 SubmittingPatches: update extra tags listJosh Soref via GitGitGadget, Dec 28, 2023
  52. 6/9 SubmittingPatches: provide tag naming adviceJosh Soref via GitGitGadget, Dec 28, 2023
  53. 7/9 SubmittingPatches: clarify GitHub visualJosh Soref via GitGitGadget, Dec 28, 2023
  54. 8/9 SubmittingPatches: clarify GitHub artifact formatJosh Soref via GitGitGadget, Dec 28, 2023
  55. 9/9 SubmittingPatches: hyphenate non-ASCIIJosh Soref via GitGitGadget, Dec 28, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.