Gentoo Archives: gentoo-commits

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