Re: [RFC] Enhance checksum support

2008-01-16 Thread Frank Lichtenheld
On Mon, Jan 14, 2008 at 08:53:13AM +0100, Raphael Hertzog wrote: > On Mon, 14 Jan 2008, Frank Lichtenheld wrote: > > dpkg-genchanges is easy insofar that not many programs actually need > > to read .changes files (dak, dput, and dupload come to mind). So we > > mostly just can increase the format n

parse_changelog modification, dpkg-genchanges refactoring

2008-01-16 Thread Raphael Hertzog
Hi, this is mainly for djpig since it relates to stuff we discussed on #debian-dpkg, however I post it here so that others have the opportunity to comment as well. With Frank, we thought that instead of calling dpkg-parsechangelog in the parse_changelog function, it ought to work in the opposite

[PATCH] dpkg-genchanges: Enhance logic to decide if we include orig tarballs

2008-01-16 Thread Raphael Hertzog
By default, include orig tarballs only if the current upstream version differs from the previous changelog entry. Closes: #28701 --- man/dpkg-genchanges.1 |9 - scripts/dpkg-genchanges.pl | 31 --- 2 files changed, 32 insertions(+), 8 deletions(-) di

[PATCH] dpkg-genchanges: some code refactoring to simplify the code

2008-01-16 Thread Raphael Hertzog
* scripts/dpkg-genchanges.pl: Some code refactoring. Also fix the generation of the Description field to not have duplicate description in case of udeb (a single description per binary package is enough). --- scripts/dpkg-genchanges.pl | 88 +--- 1 files c

[PATCH] Integrated dpkg-parsechangelog processing into Dpkg::Changelog::parse_changelog()

2008-01-16 Thread Raphael Hertzog
* scripts/Dpkg/Changelog.pm (parse_changelog): Rewrite it completely to not call dpkg-parsechangelog but do the work of this program by itself. * scripts/dpkg-parsechangelog.pl: Rewrote it to use the enhanced parse_changelog() function. * scripts/dpkg-genchanges.pl, script/dpkg-gencontrol.pl: Adapt

Re: Review of controllib-removal branch requested

2008-01-16 Thread Guillem Jover
On Wed, 2008-01-16 at 08:18:12 +0100, Raphael Hertzog wrote: > On Wed, 16 Jan 2008, Guillem Jover wrote: > > The Format substvar is not set anymore. > > Indeed, that was on purpose. It wasn't used by the code as a substitution > but only like a general purpose variable (which I really created as i