Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364743

Summary: app-portage/gentoolkit-0.3.0 euse does not correctly handle displaying all USE flags
Product: Portage Development Reporter: Jared Hancock <gravydish>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED OBSOLETE    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fixes output of `euse -i` to display all global and all local flags

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.