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

Re: Accessing the archive mirroring CVS commits?



On Wed, 2005-01-12 at 15:48 +0100, Christian Perrier wrote:

> This could have been asked to Matt, but better ask this publicly in
> case it may interest other people.
> 
> I just tried to register and use the special archive set for mirroring
> commits in the CVS, but it failed:
> 
> $ tla register-archive http://arch.ubuntu.com/apt@arch.ubuntu.com/
> arch_archive_connect: attempt to connect to incompatible archive
>   archive: http://arch.ubuntu.com/apt@arch.ubuntu.com/
> 
> Any idea ?
> 
The Ubuntu archives use 'bazaar', rather than 'tla' and are stored in a
slightly different format[0] which 'tla' can't understand.

I'd recommend someone (maybe Matt) do the following (and the command
jumping isn't a mistake):

	baz register-archive apt@arch.ubuntu.com-SOURCE \
			http://arch.ubuntu.com/apt@arch.ubuntu.com/

	tla make-archive --listing --signed \
			--mirror-from apt@arch.ubuntu.com-SOURCE \
			sftp://path/to/public_html/apt@arch.ubuntu.com/

	echo "apt@arch.ubuntu.com-SOURCE" \
		> ~/.arch-params/signing/apt@arch.ubuntu.com

	baz archive-mirror apt@arch.ubuntu.com

And pop the last command in cron, if there's to be continued mirroring
from CVS.  This exploits the fact that baz will write to tla archives
without corrupting them to make a tla-accessible mirror of the archive.

Scott

[0] archive/category--branch--0/*  instead of
    archive/category/category--branch/category--branch--0/*
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: