Menu

#37 add USE flag tab for management per package

open
nobody
None
5
2012-10-27
2005-08-27
cHris
No

I was going to start a gtk project to manage use flags
for packages but it would be nice if it were part of
this application.

You could make a new tab, parse the IUSE flags from the
ebuilds, grab the desc from use.desc or use.local.desc,
have a input of some type to switch it from +,-,default
and N/A (default meaning its not in make.conf but a
default in the profile, N/A meaning nowhere to be
found, could cross-reference emerge --info and USE in
make.conf to find out)

could take a stab at it myself, if you think its worth
while.

Discussion

  • Tommy

    Tommy - 2005-09-06

    Logged In: YES
    user_id=1279370

    Hi, sorry for the slow reply. I've been away on holiday, and
    our lead developer is also on leave for a couple weeks.

    I think a tab in the bottom pane for use flag setting is a
    great idea. The lack of good use flag management is one of
    Porthole's major weak points.

    It's currently possible (but clunky) to modify use flags in
    the "advanced emerge" window, and commit the changes to
    package.use or make.conf from there. As such, we may have
    most of the necessary code already in place.

    If you are still keen, check out a copy from sourceforge cvs
    and have a look through the code we already have. Feel free
    to join the porthole-dev mailing list and ask any questions
    there :).

     
  • Brian Dolbec

    Brian Dolbec - 2005-09-09

    Logged In: YES
    user_id=953915

    I like the idea as well. I have wanted to add a bunch to
    the use flags listings in porthole for a while but was busy
    with lots of other things.

    A new tab could provide complete information and editing.

    Have a look at advemerge.py to see how to add tooltips, etc.
    to the flags and such. For ease of use and code re-use some
    of the code could possibly be split out to a separate module
    to make it easy to be modified and debugged.

     

Log in to post a comment.