1 |
El sáb, 26-07-2014 a las 07:47 -0400, Anthony G. Basile escribió: |
2 |
> On 07/26/14 07:36, Pacho Ramos wrote: |
3 |
> > El sáb, 26-07-2014 a las 06:22 -0400, Anthony G. Basile escribió: |
4 |
> > [...] |
5 |
> >> 1) I don't think we need to drop to exp if we do this right. |
6 |
> >> |
7 |
> >> 2) I like this plan. Its not that we'll drop the whole arch to ~ at |
8 |
> >> once but trim at our discretion. Less chance of breaking everything. |
9 |
> >> |
10 |
> > Looks like we can get the full list of packages with stable versions |
11 |
> > with: |
12 |
> > EIX_LIMIT=0 eix --stable -# |
13 |
> > |
14 |
> > But I don't find how to make eix show me the output for ppc* (I have |
15 |
> > amd64 and uses that as arch) |
16 |
> > |
17 |
> > |
18 |
> |
19 |
> The following python script will list all ebuilds and their keywords. |
20 |
> I'm busy as all hell right now, but I can hack it up to give us what we |
21 |
> need. You can in the mean time play with it. It is slow because python |
22 |
> is slow and the tree is big. |
23 |
> |
24 |
> |
25 |
> #!/usr/bin/env python |
26 |
> |
27 |
> import portage, re |
28 |
> |
29 |
> portdb = portage.db[portage.root]["porttree"].dbapi |
30 |
> |
31 |
> for pkg in portdb.cpv_all(): |
32 |
> keywords = portdb.aux_get(pkg, ["KEYWORDS"])[0] |
33 |
> print("%s %s" % (pkg, keywords)) |
34 |
> |
35 |
> |
36 |
|
37 |
Nice. Well, eix is really fast for this... but I need to see how to make |
38 |
it think I have a ppc setup ;) |
39 |
|
40 |
I guess we will need to wait for the next Council to officially decide |
41 |
to do this as it will be a big change for ppc* users :/ (I remember |
42 |
their action was needed for the move to testing of some arches and the |
43 |
"package-by-package" proposal for others) |
44 |
|
45 |
Also, I am not sure if any other arch teams (sparc, ia64?) would want to |
46 |
get this policy too :| (I got ppc* because this concrete case ;)) |