gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: Auto-registration


From: James Blackwell
Subject: Re: [Gnu-arch-users] Re: Auto-registration
Date: Thu, 5 Feb 2004 19:53:50 -0500

In lists.arch.users, (I forget who) wrote:
> tla get http://sourcecontrol.net/~miles/address@hidden/\
>    emacs--cvs-trunk--0

Then I wrote:
> 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

I parse that as you mean this:
tla get http://url.com/some/archive/root / a--b[--c[--d]] ?

Which doesn't strike me as right because now we're collecting / in
argv[2] and then throwing it away. So you mean the this?:
tla get http://url.com/some/archive/root a--b[--c[--d]] ?

This would be ok with me, I guess, but it's no longer an url as the OP
was requesting in the first place. 

Or did you mean this (and just put the spaces in to underscore a point
you were making that I didn't understand.
tla get http://url.com/some/archive/root/a--b[--c[--d]] ?

Because I absolutely hate this. Now we're building an url (whether http,
sftp, or whatnot) that in the real world would generate a 404. So, what
do we do then? Make it valid by actually adding a a--b[--c[--d]] file
there? What would we put in it? How many of these could we end up with
in the top level directory of an archive? 




> 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 =20
>   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 compos=
> e
>> > the distribution of tla ?
>>=20
>> tla catcfg configname  | cut -f1 | xargs -n1 tla update
>
> or (sorry, I know I'm pimping)
> cm update configname
>
> Rob
> --=20
> GPG key available at: <http://www.robertcollins.net/keys.txt>.
>
> --=-sp9dZWXkcQTmHo/wwArj
> Content-Type: application/pgp-signature; name=signature.asc
> Content-Description: This is a digitally signed message part
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQBAIsOMI5+kQ8LJcoIRAi4JAKCCVL9g/zJk3W9S0JcsizCOu918NgCgtZpL
> Sic/AQ76scY5Lo75DmUgStk=
> =0YE6
> -----END PGP SIGNATURE-----
>
> --=-sp9dZWXkcQTmHo/wwArj--
>
>
>
>
> --===============1140998218==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnu-arch-users
>
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/
> --===============1140998218==--
>
>
>


-- 
James Blackwell      Using I.T. to bring more             570-407-0488
Owner, Inframix      business to your business     http://inframix.com

GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400




reply via email to

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