On Wed, Sep 28, 2022 at 02:42:00PM +0200, Thorsten Glaser wrote:
> Package: devscripts
> Version: 2.21.3+deb11u1
> Severity: normal
> X-Debbugs-Cc: t...@mirbsd.de
> 
> u@u:~/Projekte $ dget -d 
> http://deb.debian.org/debian/pool/main/t/tomcat9/tomcat9_9.0.67-1.dsc
> dget: retrieving 
> http://deb.debian.org/debian/pool/main/t/tomcat9/tomcat9_9.0.67-1.dsc
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  
> Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100  2748  100  2748    0     0  85644      0 --:--:-- --:--:-- --:--:-- 88645
…
> u@u:~/Projekte $ wget 
> http://deb.debian.org/debian/pool/main/t/tomcat9/tomcat9_9.0.67.orig.tar.xz
> --2022-09-28 14:38:25--  
> http://deb.debian.org/debian/pool/main/t/tomcat9/tomcat9_9.0.67.orig.tar.xz
> Resolving deb.debian.org (deb.debian.org)... 2a04:4e42:62::644, 
> 199.232.138.132
> Connecting to deb.debian.org (deb.debian.org)|2a04:4e42:62::644|:80... 
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 4053772 (3.9M) [application/x-xz]
> Saving to: ‘tomcat9_9.0.67.orig.tar.xz’
> 
> tomcat9_9.0.67.orig.tar.xz   
> 100%[===========================================>]   3.87M  2.93MB/s    in 
> 1.3s
> 
> 2022-09-28 14:38:26 (2.93 MB/s) - ‘tomcat9_9.0.67.orig.tar.xz’ saved 
> [4053772/4053772]

> Why can dget not, or does not, retain the mtime? This would be
> rather useful to have, e.g. when uploading a forked package to
> a local repo I would have the same mtime on the origtgz.


Well, because as you can notice it's a different program...

dget uses curl by default, and curl by default doesn't try to retain
mtimes, as wget does....

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to