By the way, how could I use Arch on common-lisp.net?
Regards, Yurii.
On Mon, Dec 22, 2003 at 02:35:58PM +0200, Yurii A. Rashkovskii wrote:
By the way, how could I use Arch on common-lisp.net?
In the short term your best option is to contact Andreas Fuchs or Marco Baringer: both are using arch on the common-lisp.net projects (ubf, ucw, bese at least) and ask them.
We, the administrators are still largely baffled by Arch...
Eventually we hope to compile (or get someone to do it) a short arch howto for common-lisp.net, but one does not yet exist.
Cheers,
-- Nikodemus
Nikodemus Siivola nikodemus@random-state.net writes:
Eventually we hope to compile (or get someone to do it) a short arch howto for common-lisp.net, but one does not yet exist.
[draft - this is based on my experience, comments from ubf, encline and clotnet developers would be nice]
[note: this is written in the second person, probably not the best idea]
------------------------------------------------------------------------
How to setup an arch repository for a project hosted on common-lisp.net:
Short Version:
$ tla make-archive --listing \ 'PROJECT-NAME@common-lisp.net--YEAR' \ 'sftp://LOGIN@common-lisp.net/project/PROJECT-NAME/public_html/PROJECT-NAME@common-lisp.net--YEAR'
Long Version:
The first thing you'll need is to decide the name of the archive and where, on the cl.net machine's file system, to put the archive. For simplicity we'll assume you'll follow the PROJECT-NAME@common-lisp.net--YEAR convention. Since we want this archive to be accessible via http it must be located in the public_html directory or your project. Arch's http access mechanism does not allow writes to the archive, so developers will access the archive via sftp. The command to create this archive is:
$ tla make-archive --listing \ 'PROJECT-NAME@common-lisp.net--YEAR' \ 'sftp://LOGIN@common-lisp.net/project/PROJECT-NAME/public_html/PROJECT-NAME@common-lisp.net--YEAR'
Anyone who wants anonymous (read-only) access to the archive will need to do:
$ tla register-archive \ 'PROJECT-NAME@common-lisp.net--YEAR' \ 'http://www.common-lisp.net/project/PROJECT-NAME/PROJECT-NAME@common-lisp.net...'
Other developers who want read/write access will need to do:
$ tla register-archive \ 'PROJECT-NAME@common-lisp.net--YEAR' \ 'sftp://LOGIN@common-lisp.net/project/PROJECT-NAME/public_html/PROJECT-NAME@common-lisp.net--YEAR'
Obviously they'll need to have ssh access to the cl.net machine.
The last thing you might consider doing is sending an email to admin@common-lisp.net to get the archive added to ViewARCH.
[draft - this is based on my experience, comments from ubf, encline and clotnet developers would be nice]
Here you are :)
Short Version:
$ tla make-archive --listing \ 'PROJECT-NAME@common-lisp.net--YEAR' \
'sftp://LOGIN@common-lisp.net/project/PROJECT-NAME/public_html/PROJECT-NAME@ common-lisp.net--YEAR'
Just as a suggestion, tla 1.2 could sign archives, so the proposition of '--signed' usage and reference to http://wiki.gnuarch.org/moin.cgi/Signing_20Archives could be added.
And (just personally!) I don't think that --YEAR is a "right thing" (I know that it's recommended by Tom, but...)