1 |
commit: 2f8a07cf6b41b8883ad751d0e67705ab3cd264d4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 22 18:52:00 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 14:35:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=2f8a07cf |
7 |
|
8 |
ebuild-vars: Remove 'simple filename' mirror fetching |
9 |
|
10 |
The feature of using 'simple filename' to fetch from mirrors |
11 |
is ill-defined (which mirrors?). The Portage implementation works only |
12 |
if GENTOO_MIRRORS are explicitly set. It's not used in any ebuilds. |
13 |
Let's remove it retroactively from the specification. |
14 |
|
15 |
Bug: https://bugs.gentoo.org/695814 |
16 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
17 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
18 |
|
19 |
ebuild-vars.tex | 6 ++---- |
20 |
1 file changed, 2 insertions(+), 4 deletions(-) |
21 |
|
22 |
diff --git a/ebuild-vars.tex b/ebuild-vars.tex |
23 |
index 9de9d55..476ea13 100644 |
24 |
--- a/ebuild-vars.tex |
25 |
+++ b/ebuild-vars.tex |
26 |
@@ -159,11 +159,9 @@ managers may also consult mirrors for their files. |
27 |
The special \t{mirror://} protocol must be supported. See section~\ref{sec:thirdpartymirrors} for |
28 |
mirror details. |
29 |
|
30 |
-If a simple filename rather than a full URI is provided, the package manager can only use mirrors |
31 |
-to download the file. |
32 |
- |
33 |
The \t{RESTRICT} metadata key can be used to impose additional restrictions upon downloading---see |
34 |
-section~\ref{sec:restrict} for details. |
35 |
+section~\ref{sec:restrict} for details. Fetch restricted packages may use a simple filename instead |
36 |
+of a full URI. |
37 |
|
38 |
\featurelabel{src-uri-arrows} In EAPIs listed in table~\ref{tab:uri-arrows-table} as supporting |
39 |
arrows, if an arrow is used, the filename used when saving to \t{DISTDIR} shall instead be the name |