Bug#651993: dpkg-mergechangelogs fails if any changelog contains an invalid version

2011-12-21 Thread Raphael Hertzog
On Wed, 21 Dec 2011, Martin Packman wrote: > Thanks Raphael! That cut down approach does work, though it also lacks > some of the benefits of the larger change. > It's a judgement call whether warning about invalid versions during > merge is worthwhile For this I have added a check in the Dpkg::C

Bug#651993: dpkg-mergechangelogs fails if any changelog contains an invalid version

2011-12-21 Thread Martin Packman
On 21/12/2011, Raphael Hertzog wrote: > > Thanks for the report and the patch. I pushed a fix in git master. > The fix itself is really simple: Thanks Raphael! That cut down approach does work, though it also lacks some of the benefits of the larger change. It's a judgement call whether warning a

Bug#651993: dpkg-mergechangelogs fails if any changelog contains an invalid version

2011-12-21 Thread Raphael Hertzog
Hi, On Tue, 13 Dec 2011, Martin Packman wrote: > See attached patch making the dpkg-mergechangelogs only tolerate bad > versions, leaving the existing strict handling in Dpkg::Version. Thanks for the report and the patch. I pushed a fix in git master. The fix itself is really simple: --- a/script

Bug#651993: dpkg-mergechangelogs fails if any changelog contains an invalid version

2011-12-13 Thread Martin Packman
See attached patch making the dpkg-mergechangelogs only tolerate bad versions, leaving the existing strict handling in Dpkg::Version. I'm a little rusty on perl, but happy to change or update things as requested. I assume the change in general is acceptable as it looks like the code currently trie

Bug#651993: dpkg-mergechangelogs fails if any changelog contains an invalid version

2011-12-13 Thread Martin Packman
Package: dpkg Version: 1.16.1.2 Severity: normal As reported downstream in launchpad, dpkg-mergechangelogs fails trying to merge the gcc debian changelog: Reproduce with the attatchments on that bug, and: $ dpkg-mergechangelogs chan