On Wed February 27 2008 3:14:13 am Guido Günther wrote:
> Hi John,
>
> On Tue, Feb 26, 2008 at 09:34:53PM -0600, John Goerzen wrote:
> > It would be nice for git-dch to have an option to include the full
> > commit message in the changelog.  It would of course have to re-wrap
> > and indent paragraphs a bit.  That way, I could say Closes: #nnnnnn in
> > the commit message for future reference and also have it appear in the
> > changelog -- sort of debcommit in reverse.
>
> Yes, this is on my TODO list since quiet some time. Along these lines I
> intend to introduce some more meta tags like:
>
> Closes: #bugnumer
> Thanks: ...
>
> to help git-dch format the changelog.

FWIW, you may be interested to look at:

http://git.complete.org/commithooks

I have in there a git-deb-commit script that is intended to be called from 
post-receive.  It will look for things like "Closes: #xxxxxx" or "fixes 
deb#xxxxxx".  When it sees that, it will tag a bug pending and send a commit 
message to the BTS.  It will also look for "refs deb#xxxxxx", and when it 
sees that, it will simply send a commit message to the BTS but not tag it 
pending.  I find this helpful to keep people informed of the status of 
projects without necessarily having to release new versions right away.  I 
really like the idea of being able to use the same messages with git-dch.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417791 for an example.

I hope to get that packaged up for Debian soonish.

-- John


Reply via email to