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

Re: Pain points in Git's patch flow

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Apr 18, 2021, 08:29 UTC
Message-ID
<22a0a383-0ae1-c7d1-75f7-7dfdfe5fb504@gmail.com>
In-Reply-To
<YHaIBvl6Mf7ztJB3@google.com>
On 2021-04-14 08:13, Jonathan Nieder wrote:
> Those four are important in my everyday life.  Questions:

Thanks for bringing up these questions in a dedicated format. I'll take this as an opportunity to share my thoughts on this topic, which have accompanied me for quite a while.

>   1. What pain points in the patch flow for git.git are important to
>      you?

Well, it's email-based. As a result it's error prone to things like formatting / quoting issues, putting the right people it CC, etc.

I have always wondered why Git core development does not start to make use of the Git ecosystem that we have by now, esp. in the form of review tools / platforms like GitHub (via pull-requests), GitLab (via merge-requests), or Gerrit (via patches). From these, Gerrit would IMO be the best fit for Git, due to its capability to cope well with rebase-workflows. Those tools avoid things like formatting / quoting issues completely, and shift the responsibility of assigning reviewers from the contributor to the tool, where people can subscribe to code changes or code ownership can be defined and automatically taken into account.

Sure, I get that that the contribution workflow to Git core has historically grown, but what concerns me is that the efforts to "bridge" the contribution workflow to the "modern world" seem to go into the wrong direction: Tools like submitgit [1], gitgitgadget [2] and now patchwork [3] were created / are considered for use to allow the legacy email path workflow to remain, but also allow more "GUI minded" people to contribute. While this has worked quite well for some time, and esp. gitgitgadget [2] seems to haven gotten popular, I wonder whether it's now the time to "swap the default", and make a patch / contribution tool with a GUI the standard, and bridge the legacy workflow by using / creating tooling that makes it convenient to use those modern tools from the CLI, instead of the opposite.

>   2. What tricks do you use to get by with those existing pain points?
None. I simply have stopped contributing to Git core, to be frank.
>   3. Do you think patchwork goes in a direction that is likely to help
>      with these?

No. To me, this is yet another effort that tries to come up with a work-around instead of fixing the root cause: It tries to lift the limitations of an email-based contribution workflow instead of getting rid of the email-based contribution workflow altogether.

>   4. What other tools would you like to see that could help?

Currently, only Gerrit [4] comes to my mind, as a complete substitute for the email-based contribution workflow.

[1] https://github.com/rtyley/submitgit [2] https://github.com/gitgitgadget/gitgitgadget [3] http://jk.ozlabs.org/projects/patchwork [4] https://www.gerritcodereview.com

-- 
Sebastian Schuberth
Previous: ZheNing HuNext: Ævar Arnfjörð Bjarmason
Message 17 of 46 in “Pain points in Git's patch flow”
  1. Jonathan NiederApr 14, 2021
  2. Bagas SanjayaApr 14, 2021
  3. Junio C HamanoApr 14, 2021
  4. Junio C HamanoApr 14, 2021
  5. Denton LiuApr 15, 2021
  6. Junio C HamanoApr 15, 2021
  7. Son Luong NgocApr 15, 2021
  8. Eric WongApr 19, 2021
  9. Theodore Ts'oApr 19, 2021
  10. Ævar Arnfjörð BjarmasonApr 21, 2021
  11. Eric WongApr 28, 2021
  12. Eric WongApr 28, 2021
  13. Atharva RaykarApr 15, 2021
  14. Junio C HamanoApr 16, 2021
  15. Junio C HamanoApr 16, 2021
  16. ZheNing HuMay 2, 2021
  17. Sebastian SchuberthApr 18, 2021
  18. Ævar Arnfjörð BjarmasonApr 18, 2021
  19. Eric WongApr 19, 2021
  20. Sebastian SchuberthApr 19, 2021
  21. Sebastian SchuberthApr 19, 2021
  22. Ævar Arnfjörð BjarmasonApr 19, 2021
  23. Sebastian SchuberthApr 19, 2021
  24. Theodore Ts'oApr 19, 2021
  25. Sebastian SchuberthApr 20, 2021
  26. Theodore Ts'oApr 20, 2021
  27. Felipe ContrerasApr 30, 2021
  28. Ævar Arnfjörð BjarmasonApr 20, 2021
  29. Eric WongApr 19, 2021
  30. Sebastian SchuberthApr 19, 2021
  31. Konstantin RyabitsevApr 19, 2021
  32. dwh@linuxprogrammer.orgMay 8, 2021
  33. Konstantin RyabitsevApr 19, 2021
  34. Stephen SmithApr 19, 2021
  35. dwh@linuxprogrammer.orgMay 8, 2021
  36. Bagas SanjayaMay 8, 2021
  37. Felipe ContrerasApr 30, 2021
  38. Daniel AxtensApr 21, 2021
  39. brian m. carlsonApr 26, 2021
  40. Theodore Ts'oApr 26, 2021
  41. Ævar Arnfjörð BjarmasonApr 26, 2021
  42. Eric WongApr 28, 2021
  43. brian m. carlsonApr 28, 2021
  44. Felipe ContrerasApr 30, 2021
  45. Felipe ContrerasApr 30, 2021
  46. Felipe ContrerasApr 30, 2021

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.