Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH v2] ebuild-vars: Remove 'simple filename' mirror fetching
Date: Sun, 22 Dec 2019 18:52:29
Message-Id: 20191222185200.172095-1-mgorny@gentoo.org
1 The feature of using 'simple filename' to fetch from mirrors
2 is ill-defined (which mirrors?). The Portage implementation works only
3 if GENTOO_MIRRORS are explicitly set. It's not used in any ebuilds.
4 Let's remove it retroactively from the specification.
5
6 Bug: https://bugs.gentoo.org/695814
7 Signed-off-by: Michał Górny <mgorny@g.o>
8 ---
9 ebuild-vars.tex | 6 ++----
10 1 file changed, 2 insertions(+), 4 deletions(-)
11
12 diff --git a/ebuild-vars.tex b/ebuild-vars.tex
13 index 2f81db7..b38260e 100644
14 --- a/ebuild-vars.tex
15 +++ b/ebuild-vars.tex
16 @@ -159,11 +159,9 @@ managers may also consult mirrors for their files.
17 The special \t{mirror://} protocol must be supported. See section~\ref{sec:thirdpartymirrors} for
18 mirror details.
19
20 -If a simple filename rather than a full URI is provided, the package manager can only use mirrors
21 -to download the file.
22 -
23 The \t{RESTRICT} metadata key can be used to impose additional restrictions upon downloading---see
24 -section~\ref{sec:restrict} for details.
25 +section~\ref{sec:restrict} for details. Fetch restricted packages may use a simple filename instead
26 +of a full URI.
27
28 \featurelabel{src-uri-arrows} In EAPIs listed in table~\ref{tab:uri-arrows-table} as supporting
29 arrows, if an arrow is used, the filename used when saving to \t{DISTDIR} shall instead be the name
30 --
31 2.24.1