Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] ebuild-vars: Remove 'simple filename' mirror fetching
Date: Sun, 22 Dec 2019 18:51:33
Message-Id: edc759c45360696c42b1ea66a9f6d4b95835e100.camel@gentoo.org
In Reply to: Re: [gentoo-pms] [PATCH] ebuild-vars: Remove 'simple filename' mirror fetching by Ulrich Mueller
1 On Sun, 2019-12-22 at 19:26 +0100, Ulrich Mueller wrote:
2 > > > > > > On Sun, 22 Dec 2019, Michał Górny wrote:
3 > > --- a/appendices.tex
4 > > +++ b/appendices.tex
5 >
6 > Hm, we list retroactive fixes in the appendix only if we go through
7 > Council approval. I wonder if we need it for this, when the
8 > functionality was never actually used?
9
10 Ok, I'll send v2 without it.
11
12 >
13 > > @@ -110,6 +110,13 @@ all-of, any-of, exactly-one-of, at-most-one-of and use-conditional groups with z
14 > > However, such empty groups were neither supported by all package managers nor used in ebuilds.
15 > > They were dropped from the specification in October 2017.
16 > >
17 > > +\subsection{Simple filename in SRC\_URI}
18 >
19 > No backslash before the underscore please, it will break grepping for
20 > SRC_URI.
21 >
22 > > +The SRC\_URI format (see section~\ref{sec:src-uri-behaviour}) originally permitted using a simple
23 > > +filename instead of a full URI to indicate a~file that can be fetched from mirrors only.
24 > > +However, the Portage implementation worked only if the user had configured mirrors explicitly,
25 > > +and it was not used in ebuilds. This feature has been dropped in December 2019, limiting simple
26 >
27 > Nitpick, please use a single space after the full stop, for consistency
28 > throughout the document.
29 >
30 > > +filename usage to fetch-restricted packages.
31 > > +
32 > > % vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :
33 > >
34 > > %%% Local Variables:
35 > > --- a/ebuild-vars.tex
36 > > +++ b/ebuild-vars.tex
37 > > @@ -159,11 +159,9 @@ managers may also consult mirrors for their files.
38 > > The special \t{mirror://} protocol must be supported. See section~\ref{sec:thirdpartymirrors} for
39 > > mirror details.
40 > >
41 > > -If a simple filename rather than a full URI is provided, the package manager can only use mirrors
42 > > -to download the file.
43 > > -
44 > > The \t{RESTRICT} metadata key can be used to impose additional restrictions upon downloading---see
45 > > -section~\ref{sec:restrict} for details.
46 > > +section~\ref{sec:restrict} for details. If a fetch restriction is used, a simple filename can
47 > > +be used in lieu of full URI.
48 >
49 > "Lieu"? Merriam-Webster labels this as archaic. Also usage of the
50 > indefinite articles in that sentence is a little odd.
51 >
52 > Suggestion: "Fetch restricted packages may use a simple filename instead
53 > of a full URI."
54
55 Ok.
56
57 >
58 > >
59 > > \featurelabel{src-uri-arrows} In EAPIs listed in table~\ref{tab:uri-arrows-table} as supporting
60 > > arrows, if an arrow is used, the filename used when saving to \t{DISTDIR} shall instead be the name
61 >
62 > Ulrich
63
64 --
65 Best regards,
66 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature