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

Re: email as a bona fide git transport

From
Theodore Y. Ts'o <tytso@mit.edu>
Date
Oct 17, 2019, 13:11 UTC
Message-ID
<20191017131140.GG25548@mit.edu>
In-Reply-To
<a1c33600-14e6-be37-c026-8d8b8e4bad92@oracle.com>
On Thu, Oct 17, 2019 at 02:23:58PM +0200, Vegard Nossum wrote:
Show 7 quoted lines
> Of course, this relies strongly on actually having (correct) sha1
> references to previous versions inside the changelog. In my original
> idea, this reference would only appear inside the merge commit that
> binds the patchset together to minimise churn, although maybe it is
> feasible to also append it to each patch -- in that case, the "patchset"
> command from my first email is not sufficient to create a new version of
> a patchset.

This also relies on the base of the commit actually being a public SHA1. Sometimes developers will cherry-pick in a patch that they need so that the kernel will actually *boot* (or otherwise fix problems that have been fixed in other subsystems, but not yet landed in -rc2 or -rc3).

Of course, we could tell people that they should always create their patches off of the last stable version (but then there may have been changes pulled in via the last merge window that makes their patch not apply), or they could be told to develop against -rc2 or -rc3, and then cherry pick the required fix-up patches on top of -rc2 and -rc3, but then they have to do a lot more rebuilding.

So there are no perfect solutions here, and while in the ideal world, -rc2 and -rc3 should be perfectly stable enough for developers so that they never need to manually patch in stablization patches, we need to live in the real world. I believe that Darrick told me that in the previous development cycle, he had to wait until -rc4 before the tree was stable enough for him to start building xfs patches on top mainline.

(This is also true for this development cycle if you enable CONFIG_KMEMLEAK, although fortunately, the workaround that worked for me was to just CONFIG_KMEMLEAK --- although of course, if I do have to run a KMEMLEAK test run, I'll need to cherry-pick the fix which landed this week on top of the ext4 git tree.)

What this all might mean is that sometimes it will make sense to allow the user to override the base commit so such stablization patches can be elided. Of course, we could force the user to create a separate branch and rebase, but can be quite painful and slow --- and they won't be able to test the rebased branch anyway, unless we then want to tell them to cherry pick the stablization patches on top, and then remove them before running "git send-email".

						- Ted
Previous: Vegard NossumNext: Vegard Nossum
Message 28 of 36 in “email as a bona fide git transport”
  1. Vegard NossumOct 16, 2019
  2. Willy TarreauOct 16, 2019
  3. Santiago Torres AriasOct 16, 2019
  4. Greg KHOct 17, 2019
  5. Konstantin RyabitsevOct 17, 2019
  6. Greg KHOct 18, 2019
  7. Konstantin RyabitsevOct 18, 2019
  8. Willy TarreauOct 18, 2019
  9. Nicolas BelouinOct 18, 2019
  10. Santiago Torres AriasOct 18, 2019
  11. Laurent PinchartOct 20, 2019
  12. Vegard NossumOct 18, 2019
  13. Theodore Y. Ts'oOct 18, 2019
  14. Vegard NossumOct 18, 2019
  15. Theodore Y. Ts'oOct 18, 2019
  16. Willy TarreauOct 20, 2019
  17. Vegard NossumOct 20, 2019
  18. Vegard NossumOct 22, 2019
  19. Theodore Y. Ts'oOct 22, 2019
  20. Vegard NossumOct 22, 2019
  21. Eric WongOct 22, 2019
  22. Santiago Torres AriasOct 18, 2019
  23. Konstantin RyabitsevOct 18, 2019
  24. Santiago Torres AriasOct 18, 2019
  25. Konstantin RyabitsevOct 18, 2019
  26. Pratyush YadavOct 16, 2019
  27. Vegard NossumOct 17, 2019
  28. Theodore Y. Ts'oOct 17, 2019
  29. Vegard NossumOct 17, 2019
  30. Theodore Y. Ts'oOct 17, 2019
  31. Steven RostedtOct 17, 2019
  32. Jonathan NiederOct 16, 2019
  33. Vegard NossumOct 17, 2019
  34. Junio C HamanoOct 17, 2019
  35. Vegard NossumOct 17, 2019
  36. Eric WongOct 18, 2019

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.