Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10748 - a function which returns all masked ebuilds would be nice
Summary: a function which returns all masked ebuilds would be nice
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-14 15:04 UTC by Hannes Mehnert (RETIRED)
Modified: 2011-10-30 22:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes Mehnert (RETIRED) gentoo-dev 2002-11-14 15:04:05 UTC
hi, 
 
sth like portage.portdb.masked_all() which returns a list/string of all masked ebuilds 
would be nice to have in portage (currently we are thinking about using the 
following in kportage): 
 
def masked(self): 
                """returns a string which contains all masked ebuilds.""" 
                b="" 
                        for package in portage.portdb.cp_all(): 
                                list = portage.portdb.cp_list(package) 
                                list2 =  portage.portdb.visible(list) 
                                for sub in list: 
                                        if (sub not in list2): 
                                                b+=sub+" " 
                return b
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-20 13:41:38 UTC
if you want to know which portage functions we use in kportage, you can check at: 
http://savannah.nongnu.org/cgi-bin/viewcvs/kportage/kportage/kportage/portage/portagepython.py?rev=HEAD&content-type=text/vnd.viewcvs-markup 
Comment 3 Andrew Cooks (RETIRED) gentoo-dev 2003-11-29 12:58:27 UTC
This bug is about to die of old age. Any changes?
Comment 4 Brian Harring (RETIRED) gentoo-dev 2004-08-17 00:27:25 UTC
Killing it... kportage is dead, and no commentary in 19 months...