Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148578 - Create 'modules' module with "list" and "has" actions.
Summary: Create 'modules' module with "list" and "has" actions.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-09-21 15:09 UTC by Donnie Berkholz (RETIRED)
Modified: 2009-05-18 20:15 UTC (History)
0 users

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 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-21 15:09:37 UTC
Sometimes one desires to know whether an optional module is available. A command like `eselect list-modules $module` that returned 0 or 1 would be helpful. Currently, the only way I see is trying `eselect $module` and checking whether it spams you with error messages or with help messages. Trying `eselect $module` also gives a return code, but it would be more convenient to have a way that you didn't need to do >& /dev/null with.
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2006-10-03 12:41:37 UTC
Pioto, Ciaran and me discussed a new 'modules' module with 'list' as
default action and an additional 'has' action.

Targetted for 1.2.0. We can start working on that once I've branched out
1.0.x.
Comment 2 Ulrich Müller gentoo-dev 2009-04-17 08:51:52 UTC
This is in SVN trunk since a long time.
Comment 3 Ulrich Müller gentoo-dev 2009-05-18 20:15:38 UTC
Fixed in eselect-1.1_rc1.