Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350456 Details for
Bug 472208
emerge should show a warning when it is skipping a newer version due to some problem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
script that checks all installed slots for new versions
update-slot-check.py (text/x-python), 420 bytes, created by
Zac Medico
on 2013-06-08 23:25:35 UTC
(
hide
)
Description:
script that checks all installed slots for new versions
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2013-06-08 23:25:35 UTC
Size:
420 bytes
patch
obsolete
>#!/usr/bin/env python > >import portage > >vardb = portage.db[portage.root]['vartree'].dbapi >portdb = portage.db[portage.root]['porttree'].dbapi > >for cpv in vardb.cpv_all(): > slot, = vardb.aux_get(cpv, ["SLOT"]) > slot_atom = "%s:%s" % (portage.cpv_getkey(cpv), slot) > available = portdb.xmatch("bestmatch-visible", slot_atom) > if available and available != cpv: > portage.util.writemsg_stdout("%s\t%s\n" % (available, cpv))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 472208
: 350456