[fossil-users] Hashes from fossil

2011-09-28 Thread Lluís Batlle i Rossell
Hello, downloading a tarball for a fossil checkin, gives different file contents at every download I try. I'd like the tarball contents to be fixed for every checkin. Do you know if this can be done? Do you all would prefer having fixed contents? What makes the contents change at every download?

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Richard Hipp
2011/9/28 Lluís Batlle i Rossell virik...@gmail.com Hello, downloading a tarball for a fossil checkin, gives different file contents at every download I try. I'd like the tarball contents to be fixed for every checkin. Do you know if this can be done? Do you all would prefer having fixed

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Lluís Batlle i Rossell
On Wed, Sep 28, 2011 at 06:10:16AM -0400, Richard Hipp wrote: 2011/9/28 Lluís Batlle i Rossell virik...@gmail.com The zlib compressor adds a timestamp at the beginning. If you gunzip the tarballs, you'll find that they are identical. Hello, Can we set the timestamp at will, for example,

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Dmitry Chestnykh
The zlib compressor adds a timestamp at the beginning. If you gunzip the tarballs, you'll find that they are identical. If I read gzip specs correctly, it allows zero timestamp: MTIME (Modification TIME) This gives the most recent modification time of the original file being

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Richard Hipp
On Wed, Sep 28, 2011 at 8:31 AM, Dmitry Chestnykh dmi...@codingrobots.comwrote: The zlib compressor adds a timestamp at the beginning. If you gunzip the tarballs, you'll find that they are identical. If I read gzip specs correctly, it allows zero timestamp: MTIME (Modification TIME)

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Dmitry Chestnykh
I already checked in a change that sets the timestamp based on the check-in time. But I like your patch better (since it is simpler). Hehe, I started writing something similar, but was scared away by many changes required to do this, and was not sure if I the manifest time was the correct

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Lluís Batlle i Rossell
On Wed, Sep 28, 2011 at 02:53:18PM +0200, Dmitry Chestnykh wrote: I already checked in a change that sets the timestamp based on the check-in time. But I like your patch better (since it is simpler). Hehe, I started writing something similar, but was scared away by many changes required

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Stephan Beal
On Wed, Sep 28, 2011 at 2:53 PM, Dmitry Chestnykh dmi...@codingrobots.comwrote: Anyway, your change is better in case the are ungzip implementations that do not handle 0 time correctly, plus we get a nice proper timestamp when gunzipping. FWIW: +1 -- - stephan beal

Re: [fossil-users] Hashes from fossil

2011-09-28 Thread Ron Wilson
On Wed, Sep 28, 2011 at 8:53 AM, Dmitry Chestnykh dmi...@codingrobots.com wrote: Richard wrote: I already checked in a change that sets the timestamp based on the check-in time.  But I like your patch better (since it is simpler). Anyway, your change is better in case the are ungzip