Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292119 - app-admin/eselect-wxwidgets: support brief output mode
Summary: app-admin/eselect-wxwidgets: support brief output mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 154511
  Show dependency tree
 
Reported: 2009-11-06 14:37 UTC by Ulrich Müller
Modified: 2009-11-13 01:45 UTC (History)
1 user (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 Ulrich Müller gentoo-dev 2009-11-06 14:37:37 UTC
eselect-1.2* now has a brief output mode (with option --brief), mainly intended for calling eselect from programs. Support for this requires some changes in modules, mainly in the "list" action:

- The "*" next to the active item should not be explicitly added. Use the
  "highlight_marker" function instead.
- In case of an empty list, nothing should be output if in brief output mode.
  Function write_numbered_list has a new "-m" option that will handle output
  modes correctly.

Documentation of the new features can be found in <http://www.gentoo.org/proj/en/eselect/dev-guide.xml>. Also see the tracker bug for details, especially bug 154511 comment #5 for a typical example of a do_list() function.

Please note that the ebuild of the fixed module should have a >=app-admin/eselect-1.2.3 dependency.
Comment 1 Ulrich Müller gentoo-dev 2009-11-12 07:30:45 UTC
I've committed a fix to SVN (r719 in the eselect repository).
Please tell me if I should do a release for you.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-11-12 23:25:38 UTC
thanks ulm :D

i think i'll do the release, there's a couple other things i should tweak.  is there a minimum version of eselect to depend on for this?
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-11-12 23:26:30 UTC
nevermind, i should read the bug.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2009-11-13 01:45:22 UTC
Released in 1.2.