This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git commit message conventions


On 06/03/2015 11:01 AM, Siddhesh Poyarekar wrote:
> On Wed, Jun 03, 2015 at 10:14:19AM +0000, Joseph Myers wrote:
>> I propose that at this point we specifically do not adopt any further 
>> conventions regarding how commit messages relate to ChangeLog entries 
> 
> However, I would love to see us progress to a stage where maintainers
> can simply do a git-am on the patch mbox and push the patch instead of
> manually patching, massaging the ChangeLog, massaging the NEWS file
> and then preparing the commit.  The former will take care of most
> cases where a maintainer may forget to set --author when committing
> someone else's patch.  I try to make sure I do it for all commits, but
> it's happened more than once that I realized that I hadn't set
> --author after I had pushed the patch.
> 
> The part of NEWS that usually conflicts (the bug list) ought to be
> generated from bugzilla.  I've said before that I don't find the
> ChangeLog format useful at all, but others have expressed their
> preference to keep it, so that IMO is the only blocker to us following
> the git-am workflow.
> 
> Oh, and using the git-am workflow also allows us to automate patchwork
> so that we don't have to send reminders to clean up their patches
> there.

This is a distinct discussion, but yes we need to automate ChangeLog
generation from git commit messages and git notes (modified ChangeLog
entries), similarly with NEWS, that way it lives in the metadata and
is generated at release time or whenever a user wants it updated.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]