Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571594 - sys-apps/portage: repoman, add a fatal check for filenames in SRC_URI without RESTRICT=fetch
Summary: sys-apps/portage: repoman, add a fatal check for filenames in SRC_URI without...
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-01-11 21:50 UTC by Michał Górny
Modified: 2022-07-12 03:18 UTC (History)
2 users (show)

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 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.