What's missing from our changelogs
What's missing from our changelogs
Posted Jul 24, 2013 22:11 UTC (Wed) by lrothc (subscriber, #41210)Parent article: What's missing from our changelogs
I very often find myself googling for the commit summary string as a way to figure out what has really led to the patch in question.
Now, how that could be incorporated in the commit log beats me.
Posted Jul 24, 2013 22:43 UTC (Wed)
by blackwood (guest, #44174)
[Link]
For similar reasons I also insist that the revision log of individual patches is kept as part of the commit message (and not hidden below the -- line). We also use a bit more elaborate commit message citation layout (essentially git show up to the patch headline) so that author, committer, sha1 and headline is all there at a glance.
It's a lot more work than onleliners but imo enforcing high standars for commit messages is really worth it when digging through history.
Posted Jul 25, 2013 2:01 UTC (Thu)
by nevets (subscriber, #11875)
[Link] (14 responses)
Link: http://lkml.kernel.org/r/20130718184712.GA4786@redhat.com
That maps to marc.info/?i=20130718184712.GA4786@redhat.com which is the email of the patch. Usually from that, you can get the thread, which *is* very useful. I just used it a few minutes ago to figure out why some function was called in the MIPS code.
Posted Jul 25, 2013 8:02 UTC (Thu)
by lacos (guest, #70616)
[Link] (4 responses)
http://news.gmane.org/find-root.php?message_id=2013071818...
A further improvement is storing the original subject (including the "bag of tags" part) of the patch email (if the patch was posted to and applied from a list) as a "pseudo header". This helps identifying a series using just the git commit log (due to the patch numbering being captured).
What I miss is some way to save cover letters as standalone, no-code-change commits.
Posted Jul 25, 2013 8:32 UTC (Thu)
by johill (subscriber, #25196)
[Link] (1 responses)
Posted Jul 25, 2013 8:44 UTC (Thu)
by lacos (guest, #70616)
[Link]
(Still I like to end up immediately in the threaded / frames interface.)
Posted Jul 25, 2013 12:39 UTC (Thu)
by hmh (subscriber, #3838)
[Link] (1 responses)
This works well only when the patch stack is going in through the same tree, obviously.
As for notes, their out-of-band nature will complicate a secure workflow somewhat, but it should be possible to do it.
Posted Jul 26, 2013 0:53 UTC (Fri)
by aliguori (subscriber, #30636)
[Link]
Posted Jul 25, 2013 9:29 UTC (Thu)
by lrothc (subscriber, #41210)
[Link]
But I think it would be better if this became more standard. Maybe if git itself would save the message ID so it could be easily looked up.
What we're missing here is a way to make it possible to find email discussions by looking at *any* commit in the git log. If there is a commit for which the message ID cannot be found in any public mailing lists, that would be a red flag telling us that the commit was not reviewed publicly.
Posted Jul 25, 2013 12:29 UTC (Thu)
by aliguori (subscriber, #30636)
[Link] (7 responses)
Here's an example:
http://git.qemu.org/?p=qemu.git;a=commit;h=fd1d9926e91f42...
Besides being a good way to associate a commit with a mail thread, it is useful for generating automatic "Thank you" notes when a patch is applied.
Posted Jul 25, 2013 13:02 UTC (Thu)
by nevets (subscriber, #11875)
[Link] (6 responses)
https://lkml.org/lkml/2011/3/28/460
Which was changed to the link format of:
Link: http://lkml.kernel.org/r/<message-id>
That way we have a link to the message that you can easily find, and if you are worried about that link disappearing, you have the message-id in the link. The best of both worlds.
But you should know that Linus hates just having the message-id as a tag.
Posted Jul 25, 2013 16:58 UTC (Thu)
by aliguori (subscriber, #30636)
[Link] (5 responses)
A message-id is infinitely more useful than a link. There is no programmatic way of getting a message-id from a link so you can't generate email responses without it.
People just need to learn how to use mid.gmane.org :-)
Posted Jul 25, 2013 19:02 UTC (Thu)
by marcH (subscriber, #57642)
[Link] (3 responses)
Posted Jul 27, 2013 18:41 UTC (Sat)
by mathstuf (subscriber, #69389)
[Link] (2 responses)
Posted Jul 26, 2013 3:02 UTC (Fri)
by nevets (subscriber, #11875)
[Link]
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
What's missing from our changelogs
I don't see the problem with the way we do the links. The link includes the message id. You get the best of both worlds.
What's missing from our changelogs