Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 03/10] glep-0072: Rename bad depgraph state to 'degraded'
Date: Fri, 10 Apr 2020 07:00:28
Message-Id: 20200410065847.96199-4-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/10] GLEP 72 (arches.desc) revival by "Michał Górny"
1 In Gentoo terms, 'testing' and 'unstable' are mostly synonymous,
2 so using the two names for different purposes is confusing. Use
3 'degraded' instead.
4
5 Signed-off-by: Michał Górny <mgorny@g.o>
6 ---
7 glep-0072.rst | 18 +++++++++---------
8 1 file changed, 9 insertions(+), 9 deletions(-)
9
10 diff --git a/glep-0072.rst b/glep-0072.rst
11 index a0aa5d5..6fdee6b 100644
12 --- a/glep-0072.rst
13 +++ b/glep-0072.rst
14 @@ -56,7 +56,7 @@ a) An architecture loses its stable status (imagine c128), but
15 about a broken stable dependency tree. If we do that, repoman does however
16 also not check ~c128 consistency, meaning that the ~c128 dependency tree
17 will soon be broken as well due to negligence. Given arches.conf as
18 - described below, one could set the architecture c128 to "testing" status
19 + described below, one could set the architecture c128 to "degraded" status
20 and keep stable profiles. This results in stable keywords being ignored,
21 but consistency of the ~c128 dependency tree is still enforced.
22
23 @@ -66,7 +66,7 @@ b) An architecture prepares for becoming a stable architecture (think arm64).
24 as the stable dependency tree is not complete yet, the profiles need to be
25 set to dev/exp, and again this brings the danger of the ~arm64 dependency
26 tree getting inadvertently broken. Again the combination of setting the
27 - architecture to "testing" in arches.desc and profiles to stable helps.
28 + architecture to "degraded" in arches.desc and profiles to stable helps.
29
30 Finally, at the moment the "semi-official" algorithm to figure out if an
31 architecture is stable in the colloquial sense (e.g., requires stabilization
32 @@ -91,7 +91,7 @@ are ignored. Every blank line is ignored. Otherwise the file consists of two
33 whitespace-separated columns:
34
35 - first column: architecture name (keyword)
36 -- second column: one of the three values ``stable``, ``testing``, ``unstable``
37 +- second column: one of the three values ``stable``, ``degraded``, ``unstable``
38
39 Additional columns are ignored to allow for future revisions of this document.
40
41 @@ -101,14 +101,14 @@ An example arches.desc file might look as follows::
42 amd64 stable
43 x86 stable # not for long
44
45 - mips testing
46 + sparc degraded
47 m68k unstable outdated
48
49 Initial value in the gentoo repository
50 --------------------------------------
51
52 On introduction, the setting will be ``stable`` for all stable architectures,
53 -``testing`` for all architectures where "inofficial" stable keywords are
54 +``degraded`` for all architectures where "inofficial" stable keywords are
55 maintained and are present in the repository by the arch teams (sh, s390,
56 ...), and ``unstable`` everywhere else.
57
58 @@ -125,8 +125,8 @@ by profiles.desc (and ``-d`` / ``-e`` switches).
59 This is the current behaviour and shall be the default if nothing is specified
60 for an architecture.
61
62 -testing
63 -~~~~~~~
64 +degraded
65 +~~~~~~~~
66 When a profile of an architecture is tested, then repoman treats ``arch``
67 in ebuilds as ``~arch``, and tests consistency only for ``~arch``.
68
69 @@ -134,7 +134,7 @@ Which profiles of the arch are tested is still controlled by profiles.desc
70 (and ``-d`` / ``-e`` switches).
71
72 A new switch for repoman may be provided to temporarily upgrade
73 -an architecture from ``testing`` to ``stable`` status (for architecture team
74 +an architecture from ``degraded`` to ``stable`` status (for architecture team
75 work).
76
77 unstable
78 @@ -170,7 +170,7 @@ arches.desc present and old system
79 Utilities ignore the unknown file.
80
81 Repoman and other tools may emit surplus dependency errors when profiles are
82 -checked on arches that are ``testing`` (they check the consistency
83 +checked on arches that are ``degraded`` (they check the consistency
84 of the stable tree alone, which may fail, since ``arch`` is supposed to be
85 treated like ``~arch``). This affects only development work and can be fixed
86 by updating repoman.
87 --
88 2.26.0

Replies