Hi Jonathan,
On Sun, Apr 03, 2011 at 09:42:18PM +0100, Jonathan Wiltshire wrote:
> On Sun, Apr 03, 2011 at 03:28:49PM +0200, Guido Günther wrote:
> > Looking at
> > 
> > http://packages.qa.debian.org/libx/libxml-simple-perl.html
> > 
> > the Vcs link points to svn. Is the git repo available somewhere?
> 
> This is a red herring, it's a line from another package entirely.

...and the package would have a self-dependency ;)

> 
> To reproduce I suggest cloning the rednotebook package [1] and checking out
> commit a3adc06eff37ef58d8c7a761c74abbfb0ae5c4a2, then try generating the
> changelog.

The issue is, that you don't have an empty line between the subject
(first line of the commit message) and the body (all following lines).

In this case git-dch still reads this as the commits subject and doesn't
do any tag parsing in it. IMHO this correct since e.g. a 

git-rebase -i 20a9ed0b4a6aa2dbadfc5636b295fda07d457802^

looks like this: 

  pick 20a9ed0 Convert to source format 3.0 (quilt)
  pick a3adc06 Backport fix for window position crashes Closes: #619001 LP: 
#728466
  pick 63cebed Changelog entries for 1.1.3-2

so it also treats the part on the 2nd and 3rd lines as part of the
subject.

So git-dch is stricter in interpreting the commit message. If I add
a blank line after the subject the result looks like:

  * [68d8e5] Backport fix for window position crashes (Closes: #619001) (LP: 
#728466)
  * [37e3f8] Changelog entries for 1.1.3-2

Hope this helps,
 -- Guido

> 
> 1: git://robin.powdarrmonkey.net/git/rednotebook/
> 
> > Cheers,
> >  --- Guido
> 
> -- 
> Jonathan Wiltshire                                      j...@debian.org
> Debian Developer                         http://people.debian.org/~jmw
> 
> 4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to