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: Tom Lord
Subject: Re: [Gnu-arch-users] Re: Auto-registration
Date: Thu, 5 Feb 2004 15:18:42 -0800 (PST)

    > From: Miles Bader <address@hidden>

    > No, I don't think that's what Stefan was asking; he means:

    >    Why can't:

    >       tla get METH://LONG/PATH/NAME/FINAL-COMPONENT DEST-DIR

    >    be automatically expanded into:

    >       tla register-archive --no-complain METH://LONG/PATH/NAME
    >         => ARCHIVE-NAME
    >       tla get ARCHIVE-NAME/FINAL-COMPONENT DEST-DIR

    > To be honest I'm not sure; it does appear to be a basically unambiguous 
and
    > really fairly easy to implement.  There's no need to worry about the
    > archive's actual structure, just the path to its root (the actual archive
    > grovelling is completely through existing tla commands).

    > BTW, I added the --no-complain option with the intended meaning: `if the
    > registration already exists, don't complain, just check to see that it
    > hasn't changed'.


For that matter, why not:


        tla build-cfg --no-complain --get METH://LONG..../FINAL cfg


which registers, gets the top level project, and builds the config?

(And, is there any reason why --no-complain shouldn't be the only 
behavior?   Would one ever want --complain?)

-t





reply via email to

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