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

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

Re: [Gnu-arch-users] libraries


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] libraries
Date: 06 Feb 2004 16:25:24 -0500

But you can turn them on 
On Thu, 2004-02-05 at 19:23, Johannes Berg wrote:
> Is it possible to configure a library in a way that it can only be used
> for a single archive?
> I'm thinking this:
> 
> > Basically, in-tree pristines are DEAD -- and all that's left is
> > to add new convenience commands so that new users have that experience
> > without thinking about it.  Personally, I'm looking forward to the
> > command which sets up a mirror of some remote repository and adds a
> > revision lib for that archive _in_the_mirror_directory_.
> 
> (From Tom, in 
> Date: Fri, 5 Dec 2003 17:58:22 -0800 (PST)
> Message-Id:  <address@hidden>
> Subject: [Gnu-arch-users] library mgt. magic
> )
> 
> So I figured that would be a nice command to add to aba, but I cannot
> figure out if its possible to mark that new revision lib to be used only
> with the archive it represents.

It's possible to associate a library with a specific tree, but not with
a specific archive at present.

aba has per-tree options disabled, because I haven't satisfied myself
that they're immune to attacks.  To enable them, uncomment this line in
aba:
#if tmp=`tla tree-root 2>/dev/null`; then treeroot=$tmp; fi

Then do
mkdir ++options
echo "-L foo" > ++options/library-add

>From then on, whenever you're in that tree, library-add will always use
foo.

I don't think it would be hard to adapt this to work with specific
archives instead of specific trees.  You can get the archive name with
tree-version and parse-package name.

Aaron

-- 
Aaron Bentley
Director of Technology
PanoMetrics, Inc.





reply via email to

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