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

Bug 602408

Summary: app-portage/repoman should validate command line arguments and die if any are invalid
Product: Portage Development Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.