Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581742 - repoman: please make `-e' option to be an equivalent of `-e y'
Summary: repoman: please make `-e' option to be an equivalent of `-e y'
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-05-01 14:29 UTC by Coacher
Modified: 2022-07-12 03:18 UTC (History)
0 users

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


Attachments
0001-repoman-make-y-default-argument-for-e-and-include-ex.patch (0001-repoman-make-y-default-argument-for-e-and-include-ex.patch,1.01 KB, patch)
2016-05-01 15:35 UTC, Coacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2016-05-01 14:29:28 UTC
Hello.

Currently repoman requires y|n argument for some long options, while short options don't generally require any additional arguments. The only exception is `-e' short option, which requires y|n argument as well.

Could you please make it so `-e' doesn't require extra arguments and works like `-e y'? This makes `-e' option work the same way as `-d'. Also if user specifies `-e' in the command-line he most likely wants the `-e y' behaviour.
Comment 1 Coacher 2016-05-01 15:35:37 UTC
Created attachment 432842 [details, diff]
0001-repoman-make-y-default-argument-for-e-and-include-ex.patch

Proposed patch that solves this problem for me.
Comment 2 Coacher 2016-05-01 15:47:49 UTC
IMHO it would make even more sense to turn `--include-exp-profiles' into a boolean switch that acts the same way as `--include-dev', but this would break compatibility.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2016-05-01 16:14:50 UTC
I was looking over the other y/n options and they all make sense to have a default=y with the exception of echangelog.

Yes, for changing the interface, any breakage is generally not well received.

The module_spec change I made, has already produced bug 581702 over the user warning it makes for the laymansync module.  And the portage code has only existed a few days, and not yet in a release...

Thank you for the patch.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:25 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.