Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602408 - app-portage/repoman should validate command line arguments and die if any are invalid
Summary: app-portage/repoman should validate command line arguments and die if any are...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-12 04:14 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2022-07-12 03:18 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 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-12-12 04:14:17 UTC
The number of times I've been bitten from repoman silently taking my parameters
and doing nothing with them is too damn high.

> repoman full --invalid-argument

Not a problem for repoman!

> repoman full --include-arches="~amd64"

Not a problem, *and* that's not an arch, because "~"
but repoman says its all good! 

> repoman full --include-arches="yourmom"

About as useful as the above.

> repoman full ./zlib-1.2.8-r1.ebuild

Does this actually do anything? I can't actually tell.

> repoman manifest perl-Test-Simple/perl-Test-Simple-1.1.14-r3.ebuild

*sees dozens of manifests being generated*

I ... I guess not.

> repoman help manifest

WTF!? Its giving me a "Full" ?!?

> repoman manifest manifest

Well, at least that doesn't do anything *really* crazy.

But like, that should barf.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:19 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.