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