Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135841 - default options in practice
Summary: default options in practice
Status: VERIFIED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 18:04 UTC by Nick
Modified: 2007-01-12 06:30 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 Nick 2006-06-06 18:04:30 UTC
I have been using the EBUILD_DEFAULT_OPTS="-atv" as this saves a lot of typing when exploring what to emerge next.  But this causes some issues:

When running emerge --info I can't get rid of the -v.
Suggest: ignore -v from OPTS and use on command line if wanted.

When calling from script, emerge complains about -a.
Suggest: only complain if specified as "emerge -a", but drop silently if from OPTS.

When running emerge -p, emerge complains about -pa.
Suggest: only complain if both -p and -a specified in OPTS or cli options.  If options are specified one in each source, the cli should be used.

Similar issue exists with --columns and -t.

Obviously, there was only one source for options when these messages were written.
Comment 1 Zac Medico gentoo-dev 2006-06-06 18:16:06 UTC
We really need to rewrite all the option parsing to use python's optparse module.  We will certainly consider these suggestions at that time.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2007-01-12 06:30:12 UTC
This is fixed by now with --ignore-default-opts