Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364743 - app-portage/gentoolkit-0.3.0 euse does not correctly handle displaying all USE flags
Summary: app-portage/gentoolkit-0.3.0 euse does not correctly handle displaying all US...
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 03:42 UTC by Jared Hancock
Modified: 2022-07-20 03:34 UTC (History)
0 users

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


Attachments
Fixes output of `euse -i` to display all global and all local flags (euse-364743.patch,647 bytes, patch)
2011-04-25 03:45 UTC, Jared Hancock
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Hancock 2011-04-25 03:42:00 UTC
euse -i should give information about all known use flags is two sections: global (use.desc) and local (use.local.desc). The output is correct for the global section, but globbing  happens for the local section and the files in the current location are used for searching instead of "*".

If either scope is searched independently (euse -i -l or euse -i -g) then the output is correct

Reproducible: Always

Steps to Reproduce:
1. euse -i
Actual Results:  
Shows all the global use flags and local flags that match files int he current working path

Expected Results:  
Shows all the global and all the local use flags
Comment 1 Jared Hancock 2011-04-25 03:45:32 UTC
Created attachment 271063 [details, diff]
Fixes output of `euse -i` to display all global and all local flags

Although the output is so verbose that it is unlikely useful
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2011-04-25 05:18:54 UTC
Jared.  You do know that local use flags can be defined in the packages metadata.xml file.  From what I've gathered from watching portage development is that they want to move away from use.local.desc in favor of using metadata.xml which will more accurately describe the flag's use in the package.