[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507849: lintian.d.o: group packages by source version



On Sun, 2008-12-14 at 11:58 +0100, Jordà Polo wrote:
> On Thu, Dec 04, 2008 at 05:27:16PM -0800, Russ Allbery wrote:
> > To do this, we'll need to change the format of the binary package list
> > to add an additional field, source package version.  In unpack/list-binpkg,
> > we'll need to parse the Source field out of the Packages file.  If it's
> > not present, we can assume it matches the binary package, including in
> > version.  If it doesn't contain a version, we can assume the version
> > matches.  Otherwise, we'll need to parse it for the version of the source
> > package.
[...]
> The binary info file generated by list-binpkg includes a new "source
> version" field[1], which is then used by html_reports to group packages
> correctly. The generated HTML output also includes the version of binary
> packages if it isn't the same as its source version[2].
> 
> Just wanted to make sure it is OK before polishing and committing
> (e.g.udeb packages probably need something similar)

Thanks for looking at this.

You'll need to bump the package list versions ($*LIST_FORMAT at the top
of Read_pkglists.pm) as otherwise using an existing laboratory produced
by an earlier version of lintian will fail when splitting the fields.

Adding equivalent modifications for udeb packages would be good, now
that we're no longer hiding the fact that the tags belong to those
packages (see 18eab956f696a6bb4600765ff29f4443c6b79891).

Other than that, it looks good to me. :-)

Adam



Reply to: