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

Bug#801528: lintian: package-contains-timestamped-gzip false positive



On Tue, Oct 13, 2015 at 02:51:25PM +0000, Mattia Rizzolo wrote:
> On Tue, Oct 13, 2015 at 03:49:25PM +0200, Bill Allombert wrote:
> > Being compressed at buildtime is not a problem, since the timestamp stored
> > is the original one, and it can be useful to preserve it.
> 
> the timestamp stored on the gzip container is the one at build time.

It is the timestamp of the file that is compressed. If the file is taken from
the original source and the timestamp is not updated when moving it to the 
debian/tmp tree, for example by using 'cp -p', then the gzip file will contain 
the time stamp of the original file.

And indeed the current lintian heuristic handles this case fine.

The problem here is that the changelog original timestamp
is normally posterior to the changelog time, since programs like
dch will update the changelog time before the user edit it and save it.
So the heuristic does not work for the changelog file.

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

Imagine a large red swirl here. 


Reply to: