diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-04-24 16:15:18 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-04-24 16:15:18 +0200 |
commit | eeccabd865285e40d30bd153319c00089b7e2795 (patch) | |
tree | 3ac8cfcaf9dfd7900ffa680d4a11083ccb9adfc5 /_sources | |
parent | Rebuild / update (diff) | |
download | policy-guide-eeccabd865285e40d30bd153319c00089b7e2795.tar.gz policy-guide-eeccabd865285e40d30bd153319c00089b7e2795.tar.bz2 policy-guide-eeccabd865285e40d30bd153319c00089b7e2795.zip |
Rebuild
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to '_sources')
-rw-r--r-- | _sources/ebuild-format.rst.txt | 18 | ||||
-rw-r--r-- | _sources/other-metadata.rst.txt | 2 | ||||
-rw-r--r-- | _sources/user-group.rst.txt | 6 |
3 files changed, 22 insertions, 4 deletions
diff --git a/_sources/ebuild-format.rst.txt b/_sources/ebuild-format.rst.txt index a5bf5aa..041c088 100644 --- a/_sources/ebuild-format.rst.txt +++ b/_sources/ebuild-format.rst.txt @@ -108,3 +108,21 @@ wrapping, appending, etc.). when working with large number of ebuilds. The tool has only limited ability to process and modify ebuilds, and therefore developers must make sure that it works correctly on their ebuilds. + + +.. index:: license; variable + +LICENSE must not contain variables +---------------------------------- +:PG: 0106 +:Source: QA +:Reported: no + +The ``LICENSE`` variable in an ebuild must specify all the license names +verbatim, without referring to any variables. The only exception is +(implicit or explicit) use of ``LICENSE`` itself, i.e. appending is +allowed. + +*Rationale*: since license names do not contain dynamic parts (such as +package versions), using variables there has little advantage. On the +other hand, variables reduce the usefulness of plain tools such as grep. diff --git a/_sources/other-metadata.rst.txt b/_sources/other-metadata.rst.txt index c59e0c2..d79ef6f 100644 --- a/_sources/other-metadata.rst.txt +++ b/_sources/other-metadata.rst.txt @@ -8,7 +8,7 @@ Dynamic slots (multislot flag) ------------------------------ :PG: 0701 :Source: QA (inferred from PMS) -:Reference: https://wiki.gentoo.org/index.php?title=Project:Quality_Assurance/Policies&oldid=109991#multislot.2FUSE-dependent_SLOT +:Reference: https://wiki.gentoo.org/index.php?title=Project:Quality_Assurance/Policies&oldid=109991#multislot.2FUSE-dependent_SLOT, https://bugs.gentoo.org/174407 :Reported: ``use`` in global scope triggers fatal error The use of ``multislot`` to alter ``SLOT`` values (as well as any other diff --git a/_sources/user-group.rst.txt b/_sources/user-group.rst.txt index 09944a5..320d2e4 100644 --- a/_sources/user-group.rst.txt +++ b/_sources/user-group.rst.txt @@ -23,12 +23,12 @@ UIDs and GIDs in range 0..100 are reserved for important system accounts. New assignments in that range need to be explicitly approved by the QA lead, in response to a justified request from the developer. -The range 101..499 is provided for regular use by packages. +The range 101..749 is provided for regular use by packages. The assignments from this range follow the following rules: 1. A developer can select an arbitrary free UID/GID from this range. - If in doubt, it is recommended to select successive numbers from 499 - downwards. + If in doubt, it is recommended to select successive numbers from 101 + upwards. 2. Unless there is a very good reason not to, matching users and groups should use the same number. It is acceptable to leave gaps |