[Mono-dev] github workflow proposals

Mark Probst mark.probst at gmail.com
Thu Jul 29 11:29:16 EDT 2010

On Wed, Jul 28, 2010 at 5:12 PM, Mark Probst <mark.probst at gmail.com> wrote:
> If nobody else does it I'm volunteering - I really, really want to get
> rid of ChangeLogs :-)

And here is the script:


Here are a few test cases:


It works like this:

The script will add ChangeLog entries for all files that a commit
touches.  All commits that touch any ChangeLog file are ignored.

You can write per-file comments like so:

* sgen-gc.c: Whatever.

Or, more elaborately:

* sgen-gc.c (major_do_collection), sgen-gc.h: Something.

These will be put into the corresponding ChangeLog files.  If a
comment specifies files in directories with separate ChangeLogs, the
comments will be put in each of them, but only with the relevant files
in the comment.

If there are no comments mentioning files for a particular ChangeLog
in whose directory some file has been touched, then whatever comes
before the first per-file comment will be put into that ChangeLog.  In
the extreme case (no per-file comments) that means the whole comment.

Please see the test cases for details.

Comments, suggestions?  Is this enough to get rid of ChangeLog entries
in commits?


More information about the Mono-devel-list mailing list