[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] Savannah recovery TODO

From: Sylvain Beucler
Subject: Re: [Savannah-hackers-public] Savannah recovery TODO
Date: Thu, 4 Jun 2009 23:41:05 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

> > > - Write a script to check the logs and branches of the git and hg
> > >   repository, to see if one needs to be restored from May 27th (they
> > >   were all restored from April 29th, some users pushed the latest
> > >   changes, but maybe not everybody if the project is currently
> > >   inactive)
> > 
> > I can do this.

Thanks :)

I made a slight change to your script to handle git sub-repos (haven't
tried hg yet).

Do you think you could improve the script so it can compare 2
hierarchies (e.g. /srv/git/*/* and
/srv/git/backup/backup-20090527/*/*) and get the ones who are more
recent in the backup?

I manually diffed the output to get that list, but this means there's
a non-negligeable delay between the script run and the resulting mv's.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]