From mboxrd@z Thu Jan 1 00:00:00 1970 From: nobody at nowhere.ws (Christian Franke) Date: Fri, 27 Apr 2012 15:50:59 +0200 Subject: Snapshots mtime breaks digests In-Reply-To: References: <4F9A52CC.1020602@hupie.com> Message-ID: <4F9AA443.70007@nowhere.ws> On 04/27/2012 01:42 PM, Dan McGee wrote: >> On 27-04-12 04:14, Adrian C. wrote: >>> I use cgit release 0.9.0.2 with Lighttpd frontend and snapshots enabled >>> on http://git.sysphere.org I presume the mtime changes when the original >>> tarball expires from the Cgit cache and I didn't find anything in the >>> cgitrc manual so far. >>> >>> Anyone knows of a workaround I can apply to keep these folks happy? >>> Thanks. > > Use anything except gzip; it is the only one having a silly field like > this. xz did not make this same mistake. Note that the `gzip -n` > program option will prevent this from being included (and thus > changing); not sure if you could patch cgit to generate tarballs in > this fashion. Couldn't the date also be based on the time of the last change? Best Regards, Christian Franke