rpm-software-management / librepo

A library providing C and Python (libcURL like) API for downloading packages and linux repository metadata in rpm-md format
http://rpm-software-management.github.io/librepo/
GNU Lesser General Public License v2.1
75 stars 91 forks source link

Add an option to preserve timestamps of the downloaded files (RhBug:1688537) #149

Closed m-blaha closed 5 years ago

m-blaha commented 5 years ago

If LRO_PRESERVETIME is set to True, librepo will try to keep the timestamps of downloaded files in sync with that on the remote side.

https://bugzilla.redhat.com/show_bug.cgi?id=1688537

jamescassell commented 5 years ago

Seems like it would be better to enable this option by default or always use this Behavior with an out an option to closer match python URL grabber from yum 3