From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B028F138350 for ; Thu, 5 Mar 2020 05:57:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88698E08FF; Thu, 5 Mar 2020 05:57:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65685E08FF for ; Thu, 5 Mar 2020 05:57:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E7F634EB60 for ; Thu, 5 Mar 2020 05:57:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03028145 for ; Thu, 5 Mar 2020 05:57:29 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1583387690.082babbd15ec0fde7742e3b9ff85051a7d284479.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/ X-VCS-Repository: repo/gentoo X-VCS-Files: metadata/qa-policy.conf X-VCS-Directories: metadata/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 082babbd15ec0fde7742e3b9ff85051a7d284479 X-VCS-Branch: master Date: Thu, 5 Mar 2020 05:57:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bef23208-4c75-4ae6-98d6-e64803f4f94a X-Archives-Hash: b1d7cfeb20067f5a92c245e7d7d19aaa commit: 082babbd15ec0fde7742e3b9ff85051a7d284479 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 26 10:22:43 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 5 05:54:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082babbd metadata/qa-policy.conf: Introduce QA check configuration Introduce a new configuration file for assigning QA check significance levels to PGnnnn policies. Long-term goal is that this will permit unified configuration of various QA tools, including pkgcheck, repoman and install-qa-check.d. Signed-off-by: Michał Górny gentoo.org> metadata/qa-policy.conf | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/metadata/qa-policy.conf b/metadata/qa-policy.conf new file mode 100644 index 00000000000..ae1e3cad200 --- /dev/null +++ b/metadata/qa-policy.conf @@ -0,0 +1,63 @@ +# Copyright 2020 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