Snapshots mtime breaks digests

Christian Franke nobody at nowhere.ws
Fri Apr 27 15:50:59 CEST 2012


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





More information about the CGit mailing list