Summary: | app-portage/repoman: manifest tries to download stuff from mirrors even when RESTRICT="mirror" is set | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Cyprien Nicolas (fulax) <cyprien> |
Component: | Repoman | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2.2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 377365 |
Description
Cyprien Nicolas (fulax)
2010-11-02 16:15:34 UTC
If the file is required to create the manifest, then wouldn't you expect it to download the file automatically when possible? In that case, shouldn't we fix ebuild manifest to download the files when necessary? BTW I think repoman may be even supposed to not use mirrors in any case. I guess it's mostly supposed to do initial Manifests, and in this case the file is obviously not on the mirrors. Or remanifests, where it is better to check whether the mirrors haven't diverged. I think the title was not clear at all, reformulated. (In reply to comment #1) > If the file is required to create the manifest, then wouldn't you expect it to > download the file automatically when possible? In that case, shouldn't we fix > ebuild manifest to download the files when necessary? Yes, but not from mirrors, as there are specific sources specified in SRC_URI. (In reply to comment #2) > BTW I think repoman may be even supposed to not use mirrors in any case. I > guess it's mostly supposed to do initial Manifests, and in this case the file > is obviously not on the mirrors. Or remanifests, where it is better to check > whether the mirrors haven't diverged. Yeah, I guess it makes sense to automatically trigger behavior like RESTRICT="primaryuri" in this case. (In reply to comment #3) > Yes, but not from mirrors, as there are specific sources specified in SRC_URI. Right, it's even more desirable to avoid trying to fetch from mirrors when RESTRICT=mirror is set. 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. |