[pkgcore] #240: Show info on testing packages on a stable system

1 view
Skip to first unread message

pkgcore

unread,
Jan 18, 2011, 8:36:18 AM1/18/11
to pkgco...@googlegroups.com
#240: Show info on testing packages on a stable system
-------------------------+----------------------
Reporter: ArneBab | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 0.6
Component: pkgcore | Version: 0.5.11.8
Keywords: |
-------------------------+----------------------
Hi,

I run a stable system with a good deal of testing packages and I often
stumble over not seeing a testing package at all when using pkgcore.

What I’d love to see is something like the following flow (on a stible
system - on an ~arch system accordingsly with only unstable):

{{{
$ pmerge atom
if in_stable(atom): return merge(atom)

if in_testing(atom):
deps = check_all_dependencies(atom, testing=True) + [atom]
testing_deps = [dep for dep in deps if not in_stable(dep)]
return print("To merge the package", atom, "you need to unmask the
following packages", testing_deps)

if in_unstable(atom):
deps = check_all_dependencies(atom, unstable=True) + [atom]
testing_deps = [dep for dep in deps if not in_stable(dep) and
in_testing(dep)]
unstable_deps = [dep for dep in deps if not in_stable(dep) and not
in_testing(dep)]
print("To merge the package", atom, "you need to unmask the following
testing packages for your ~arch", testing_deps, "and the following
unstable packages via cathegory/package **", unstable_deps)
}}}

--
Ticket URL: <http://www.pkgcore.org/trac/pkgcore/ticket/240>
pkgcore <http://www.pkgcore.org/trac/pkgcore>
pkgcore package manager

Reply all
Reply to author
Forward
0 new messages