Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686074 - app-portage/repoman silently ignores unknown options
Summary: app-portage/repoman silently ignores unknown options
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2019-05-16 06:25 UTC by Michał Górny
Modified: 2022-04-11 20:34 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-05-16 06:25:40 UTC
$ repoman full --foo

RepoMan scours the neighborhood...

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

RepoMan sez: "If everyone were like you, I'd be out of business!"


This is especially irritating because if you make a typo in one of the options (e.g. I sometimes type --if-changed instead of --if-modified), repoman jest silently ignores that and proceeds with options that are different from what the user intended.
Comment 2 Larry the Git Cow gentoo-dev 2019-05-26 04:29:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=26edaf8f93326085928dbd3c0606b80062b1ce6a

commit 26edaf8f93326085928dbd3c0606b80062b1ce6a
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-05-25 22:35:45 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-05-25 22:43:01 +0000

    repoman: report error for unknown arguments (bug 686074)
    
    Bug: https://bugs.gentoo.org/686074
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 repoman/lib/repoman/argparser.py | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2019-05-26 07:55:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d08bdcc71c359831f5f5e6a682918c3c54989b9

commit 4d08bdcc71c359831f5f5e6a682918c3c54989b9
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-05-26 07:46:02 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-05-26 07:55:23 +0000

    app-portage/repoman: version bump to 2.3.13
    
    Bug: https://bugs.gentoo.org/686074
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-portage/repoman/Manifest              |  1 +
 app-portage/repoman/repoman-2.3.13.ebuild | 63 +++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)