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

Re: Date and Upsteam-URL fields



On Thu, Jun 08, 2006 at 12:31:29AM -0700, Don Armstrong wrote:
> On Thu, 08 Jun 2006, Kai Hendry wrote:
> > One being Date:
> > 
> > To show when the package was last touched. Currently I get this
> > information from the painfully from the "Latest News" section of the QA
> > page, e.g.: http://packages.qa.debian.org/g/geomview.html
> 
> Is there any reason why
> 
> zcat /usr/share/doc/<package>/changelog.Debian.gz |perl -ne \
> 'next unless /^ -- .+?\s{2}(.+)$/; print $1,qq(\n) and exit;';

Rather use dpkg-parsechangelog:

zcat /usr/share/doc/<package>/changelog.Debian.gz| dpkg-parsechangelog -l- |grep '^Date'

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 



Reply to: