Bug#612863: devscripts: please preserve timestamps in the dget script

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Mon Sep 17 10:23:56 UTC 2012


James Vega wrote...

> On Fri, Feb 11, 2011 at 08:03:40AM +0000, Aníbal Monsalve Salazar wrote:
> > Please preserve timestamps in the dget script. I'm using the patch
> > below to pass the -N option to wget. I don't know the corresponding
> > option for curl.
> 
> What use is this in the context of dget?

Call it compability with apt-get source which does preserve the
timestamps.

Or just eye-candy.

Or, although rather personal: An .orig.tar.gz with a timestamp of more
or less "now" is an alarm sign to me: In the past I saw that only if
that tar ball was re-generated, something that was very likely not
intended.

> Also, your patch doesn't change the current behavior at all
> since wget ignores -N when -O is being used (which dget does).

Indeed, dget using wget always worked as expected here, read:
timestamps were preserved. Aníbal, I suspect you have an .wgetrc
interfering, causing you to suggest "-N".

The trouble for me started when curl was installed and preferred by
dget, since the "-R" (long form is better: "--remote-time") option is
needed for curl. I'm not including the trivial patch, however it works
for me.

    Christoph



More information about the devscripts-devel mailing list