Gentoo Archives: gentoo-dev

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Re: Versioning the tree
Date: Wed, 29 Nov 2006 13:04:36
Message-Id: 456D846C.9050001@gentoo.org
In Reply to: [gentoo-dev] Re: Re: Versioning the tree by Steve Long
1 Steve Long wrote:
2 > Chris Gianelloni wrote:
3 > From your post we need to add:
4 >> - strip all USE flags that aren't used from use.mask (per-profile)
5 >> - strip all packages that aren't available from package.mask
6 >> (per-profile)
7 >
8 > What language is the script implemented in?
9
10 The current script is actually 2 scripts: a python script that I wrote that
11 interfaces with the portage API and a bash script that wolf31o2 wrote that takes
12 the output from my script and does the cleanup.
13
14 Last night, with the help of ferringb, I started working on a replacement script
15 that uses the pkgcore API. The portage-based script takes quite a while to run,
16 and gets it wrong if there are any p.mask'd stable packages on any arch or other
17 weird things. The pkgcore-based script actually uses the profiles properly and
18 runs over the entire tree with all the "stable" profiles (according to
19 profiles.desc) in 1m1.869s (on my box). I'll probably end up combining the
20 scripts and doing the cleanup in python to make things easier.
21
22 > Wrt security updates, is it possible to tie into GLSAs so that we could
23 > automate updating packages that need it? By updating I mean adding the
24 > ebuilds and any dependencies (or dependants that might require updating.)
25
26 I'm not sure this is the best idea.
27
28 > Caleb Cushing wrote:
29 >> .. isn't it possible only to sync certain
30 >> parts of the tree using excludes. maybe some additional functionality
31 >> saying only sync package X for updates.
32 >
33 > Would that help in terms of having say, up to date GUI packages, or is it
34 > just easier to use overlays?
35
36 Overlays are definitely best here.
37
38 --
39 Andrew Gaffney http://dev.gentoo.org/~agaffney/
40 Gentoo Linux Developer Installer Project
41 Today's lesson in political correctness: "Go asphyxiate on a phallus"
42 --
43 gentoo-dev@g.o mailing list