[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] [help needed] How to reconstruct archive from revis
Re: [Gnu-arch-users] [help needed] How to reconstruct archive from revision library.
Thu, 4 Sep 2003 09:27:21 -0700 (PDT)
> From: Karel Gardas <address@hidden>
> yesterday was sad day for MICO project (http://www.mico.org), because we
> lost our main mico.org machine. Beside website, mailing list archives,
> mailman and CVS it also hosted main Arch-based MICO archive.
Wow. That well and truly sucks.
> The problem is, we have not single mirror of this archive around, on the
> other hand we have full revision library for this archive.
Well, next time make a mirror :-). (Backups? Bah!)
The good news is that, with a full revision library, no important
information has been lost. Reconstruction should be quite possible
and not even all that hard.
> I hope that we are not the first in this situation and so I
> would like to ask if anybody here already does have some script
> or description which will/howto reconstruct archive from
> revision library.
I haven't heard of any such scripts, however, it really shouldn't be
My intuition is that you should just rebuild the archive directly
rather than trying to use `commit', `import', and `tag'.
In other words, for each revision in the library, look at the log
message and decide which of the three types of revision it is. Then
build the revision directory in the archive directly. As a final
step, you can fill in the lock directories.