Re: [fossil-users] Fingerprinting a fossil repository

2013-08-22 Thread Stephan Beal
On Thu, Aug 22, 2013 at 5:41 AM, Ron Aaron r...@ronware.org wrote: So I tried to find a way to discern whether or not a repo was *really* different, and I hit upon the following. I think it would be nice if there were an easier way. Have you tried rsync? rsync -qza -e ssh *.fsl

Re: [fossil-users] Fingerprinting a fossil repository

2013-08-22 Thread Joerg Sonnenberger
On Thu, Aug 22, 2013 at 06:41:58AM +0300, Ron Aaron wrote: So I tried to find a way to discern whether or not a repo was *really* different, and I hit upon the following. I think it would be nice if there were an easier way. echo 'select uuid from blob order by blob' | fossil sqlite | fossil

Re: [fossil-users] Fingerprinting a fossil repository

2013-08-22 Thread Ron Aaron
Em, rsync doesn't help. Firstly, because I'm doing my backup on an encrypted version of the entire fossil repo (not the individual files), which changes in its entirety if after a 'fossil upd'. Secondly, because I'm putting the files 'on the cloud', and rsync can't help me there. On 08/22/2013

Re: [fossil-users] Fingerprinting a fossil repository

2013-08-22 Thread Stephan Beal
On Thu, Aug 22, 2013 at 5:07 PM, Ron Aaron r...@ronware.org wrote: Em, rsync doesn't help. ...Secondly, because I'm putting the files 'on the cloud', and rsync can't help me there. Ah, of course. i suspect that Joerg's suggestion (or some derivative) is probably the easiest. -- -

Re: [fossil-users] Fingerprinting a fossil repository

2013-08-22 Thread Ron Aaron
That is a nice start. Unfortunately, it doesn't catch config changes. Adding 'select mtime from config order by mtime;' helps, but it's too sensitive (the update time is there, as are a few other things which would change without the repo itself changing). Food for thought, though. On

Re: [fossil-users] Fingerprinting a fossil repository

2013-08-22 Thread Ron Aaron
Yeah, something on that order. I need to refine it (but what I have does work, it's just clunky). Still would be nice to simply be able to say fossil fingerprint... On 08/22/2013 06:26 PM, Stephan Beal wrote: On Thu, Aug 22, 2013 at 5:19 PM, Ron Aaron r...@ronware.org mailto:r...@ronware.org

[fossil-users] Fingerprinting a fossil repository

2013-08-21 Thread Ron Aaron
Hi all - I've got a lot of fossil repositories, and for backup purposes I encrypt and upload them to cloud storage. The backup process runs every night, but I don't want to upload repos which haven't changed. My initial thought was that I could just do an sha1 hash of the repo. But it turns