summaryrefslogtreecommitdiff
blob: 9a8ca011ddb7845ce2bd5cd3d95c2aba3a5aafea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# The policy section assigns significance levels to various policies.
# Keys are identifiers from the Policy Guide, values are either
# 'notice', 'warning' or 'error'.
#
# The rule of thumb is that 'error' indicates a serious problem that
# may cause serious problem to the end users and therefore should block
# committing / deployment.  'warning' should be fixed by developer
# but does not need to immediately prevent committing.
#
# https://projects.gentoo.org/qa/policy-guide/std-policy-index.html

[policy]
# =-dependencies with no revision
PG0002 = warning
# Revision bumps on runtime dependency changes
PG0003 = warning
# Slot and subslot dependencies: on (sub-)slotted packages
PG0011 = warning
# USE dependencies: on packages without the flag
PG0021 = warning
# Coding style
PG0101 = warning
# Code must be contained within ebuild and eclasses
PG0102 = error
# HOMEPAGE must not contain variables
PG0103 = warning
# SRC_URI must not refer to HOMEPAGE
PG0104 = warning
# KEYWORDS must be defined on a single line
PG0105 = warning
# Installation paths
PG0201 = warning
# Support for separate /usr
PG0202 = warning
# Strict multilib layout
PG0203 = error
# Static libraries and libtool files
PG0204 = error
# Game install locations and ownership
PG0205 = warning
# Absolute symbolic link targets
PG0206 = warning
# Python: Eclass usage
PG0501 = warning
# Python: Python 2 deprecation
PG0502 = warning
# Dynamic slots (multislot flag)
PG0701 = error
# HOMEPAGE value must be meaningful
PG0702 = warning
# RESTRICT=test for USE=-test
PG0703 = warning
# LICENSE
PG0704 = warning
# Underscores in USE flag names
PG0803 = warning
# User and group account policy
PG0901 = warning
# Deprecated EAPIs
PG1001 = warning

# User and group IDs available for static allocation. These consist of:
# - the range 101..749 available for regular use by packages, and
# - the range 0..100, 65533 and 65534 reserved for important system
#   accounts (which need approval by QA).
# The format is a comma separated list, either <n> for a single value
# or <m>-<n> for a range of values (including both ends).
[user-group-ids]
uid-range = 0-749,65534
gid-range = 0-749,65533,65534