Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-pms] [PATCH 05/21] EAPI 8 has less strict naming rules in the updates directory
Date: Thu, 27 May 2021 20:27:12
Message-Id: 20210527202609.6445-6-ulm@gentoo.org
In Reply to: [gentoo-pms] EAPI 8 draft for review by "Ulrich Müller"
1 Bug: https://bugs.gentoo.org/692774
2 Signed-off-by: Ulrich Müller <ulm@g.o>
3 ---
4 eapi-differences.tex | 5 ++++-
5 tree-layout.tex | 25 +++++++++++++++++++++----
6 2 files changed, 25 insertions(+), 5 deletions(-)
7
8 diff --git a/eapi-differences.tex b/eapi-differences.tex
9 index 38109ec..b89ede0 100644
10 --- a/eapi-differences.tex
11 +++ b/eapi-differences.tex
12 @@ -44,6 +44,9 @@ of this document for a complete table of previous EAPIs.}
13 \t{package.mask} directory & \compactfeatureref{package-mask-dir} &
14 No & No & No & Yes & Yes \\
15
16 +Less strict filenames in \t{updates} & \compactfeatureref{updates-filenames} &
17 + No & No & No & No & Yes \\
18 +
19 Profile files as directories & \compactfeatureref{profile-file-dirs} &
20 No & No & No & Yes & Yes \\
21
22 @@ -481,7 +484,7 @@ EAPI 7 is EAPI 6 with the following changes:
23 EAPI 8 is EAPI 7 with the following changes:
24
25 \begin{compactitem}
26 -\item None
27 +\item Less strict naming rules for files in \t{updates} directory, \featureref{updates-filenames}.
28 \end{compactitem}
29
30 \ChangeWhenAddingAnEAPI{8}
31 diff --git a/tree-layout.tex b/tree-layout.tex
32 index 81599a9..aa04d3d 100644
33 --- a/tree-layout.tex
34 +++ b/tree-layout.tex
35 @@ -207,11 +207,14 @@ differs from that described in \t{use.desc}.
36
37 \subsection{The updates directory}
38 \label{sec:updates-dir}
39 -The \t{updates} directory is used to inform the package manager that a package has moved categories,
40 -names, or that a version has changed SLOT\@. It contains one file per quarter year, named
41 +\featurelabel{updates-filenames} The \t{updates} directory is used to inform the package manager
42 +that a package has moved categories, names, or that a version has changed SLOT\@. For EAPIs
43 +so specified by table~\ref{tab:updates-filenames}, it contains one file per quarter year, named
44 \t{[1-4]Q-[YYYY]} for the first to fourth quarter of a given year, for example \t{1Q-2004} or
45 -\t{3Q-2006}. The format of each file is again line-based, with each line having one of the following
46 -formats:
47 +\t{3Q-2006}. For other EAPIs, all regular files in this directory will be processed, unless their
48 +name begins with a dot.
49 +
50 +The format of each file is again line-based, with each line having one of the following formats:
51 \begin{verbatim}
52 move <qpn1> <qpn2>
53 slotmove <spec> <slot1> <slot2>
54 @@ -230,6 +233,20 @@ Any name that has appeared as the origin of a move must not be reused in the fut
55 that has appeared as the origin of a slot move may not be used by packages matching the spec of
56 that slot move in the future.
57
58 +\ChangeWhenAddingAnEAPI{8}
59 +\begin{centertable}{Naming rules for files in \t{updates} directory for EAPIs}
60 + \label{tab:updates-filenames}
61 + \begin{tabular}{ll}
62 + \toprule
63 + \multicolumn{1}{c}{\textbf{EAPI}} &
64 + \multicolumn{1}{c}{\textbf{Files per quarter year?}} \\
65 + \midrule
66 + 0, 1, 2, 3, 4, 5, 6, 7 & Yes \\
67 + 8 & No \\
68 + \bottomrule
69 + \end{tabular}
70 +\end{centertable}
71 +
72 \section{The Licenses Directory}
73 \label{sec:licenses-dir}
74
75 --
76 2.31.1