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

Bug 571594

Summary: sys-apps/portage: repoman, add a fatal check for filenames in SRC_URI without RESTRICT=fetch
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: normal CC: chewi, qa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=571592
https://bugs.gentoo.org/show_bug.cgi?id=695814
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-01-11 21:50:51 UTC
Please add a QA check that's going to forbid developers from using 'simple filenames' in SRC_URI if RESTRICT=fetch is not being used. I mean cases like:

  SRC_URI="${P}.tar.gz"

where some developers assume to be implicit form of mirror://gentoo. In fact, Portage may seem to do that but it's only using user-defined GENTOO_MIRRORS, so with no mirrors defined in configuration, it's going to fail hard. And this is not something that should be done in ::gentoo.
Comment 1 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.