[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Auto-registration
From: |
Robert Collins |
Subject: |
Re: [Gnu-arch-users] Re: Auto-registration |
Date: |
Fri, 06 Feb 2004 09:28:29 +1100 |
On Fri, 2004-02-06 at 09:19, James Blackwell wrote:
> In lists.arch.users, you wrote:
> >>> I wish we I could do
> >>> tla get http://sourcecontrol.net/~miles/address@hidden/emacs--cvs-trunk--0
> >
> > Are there technical or philosophical reasons why it's considered
> > a bad thing?
>
> At least one. The url you're talking about is actually probably this 99
> character monster:
>
> http://sourcecontrol.net/~miles/address@hidden/
> emacs/emacs--cvs-trunk/emacs--cvs-trunk--0/
Nah. It's easier than that:
location/version-spec
i.e.
http://sourcecontrol.net/~miles/address@hidden /
emacs--cvs-trunk--0
Note, the lack of a trailing /, and the spaces I've put around the
rightmost slash. We could deterministically parse that to turn it into
three steps
1) locate-archive $location
Here we find the archive name from the location, IF its registered.
2) if it's not registered, register it.
if it is registered, strip any -SOURCE or -MIRROR
3) tla get $name/$version-spec
> > Oh and while I'm here: after building tla-1.2pre1, how can I do a
> > `tla update all' that would do an `update' in all the trees that compose
> > the distribution of tla ?
>
> tla catcfg configname | cut -f1 | xargs -n1 tla update
or (sorry, I know I'm pimping)
cm update configname
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
signature.asc
Description: This is a digitally signed message part
[Gnu-arch-users] Re: Auto-registration, Stefan Monnier, 2004/02/05
Re: [Gnu-arch-users] Re: Auto-registration, Miles Bader, 2004/02/05
Re: [Gnu-arch-users] Re: Auto-registration, Tom Lord, 2004/02/05
Re: [Gnu-arch-users] Re: Auto-registration, Brian May, 2004/02/06
Re: [Gnu-arch-users] Re: Auto-registration, Aaron Bentley, 2004/02/06
Re: [Gnu-arch-users] Re: Auto-registration, Robert Collins, 2004/02/06
Re: [Gnu-arch-users] Re: Auto-registration, Brian May, 2004/02/08
[Gnu-arch-users] Re: Auto-registration, Stefan Monnier, 2004/02/05
Re: [Gnu-arch-users] Re: Auto-registration, Miles Bader, 2004/02/05
Message not available