1 |
On Wed, 2020-02-26 at 02:52 -0800, Georgy Yakovlev wrote: |
2 |
> On Wed, 26 Feb 2020 11:23:49 +0100 |
3 |
> Michał Górny <mgorny@g.o> wrote: |
4 |
> |
5 |
> > Introduce a new configuration file for assigning QA check significance |
6 |
> > levels to PGnnnn policies. Long-term goal is that this will permit |
7 |
> > unified configuration of various QA tools, including pkgcheck, repoman |
8 |
> > and install-qa-check.d. |
9 |
> > |
10 |
> > Signed-off-by: Michał Górny <mgorny@g.o> |
11 |
> > --- |
12 |
> > metadata/policy.conf | 61 ++++++++++++++++++++++++++++++++++++++++++++ |
13 |
> > 1 file changed, 61 insertions(+) |
14 |
> > create mode 100644 metadata/policy.conf |
15 |
> > |
16 |
> > diff --git a/metadata/policy.conf b/metadata/policy.conf |
17 |
> > new file mode 100644 |
18 |
> > index 000000000000..824598063cc1 |
19 |
> > --- /dev/null |
20 |
> > +++ b/metadata/policy.conf |
21 |
> > @@ -0,0 +1,61 @@ |
22 |
> > +# Copyright 2020 Gentoo Authors |
23 |
> > +# Distributed under the terms of the GNU General Public License v2 |
24 |
> > + |
25 |
> > +# The policy section assigns significance levels to various policies. |
26 |
> > +# Keys are identifiers from the Policy Guide, values are either |
27 |
> > +# 'notice', 'warninging' or 'error'. |
28 |
> extra ing here |
29 |
|
30 |
Fixed. |
31 |
|
32 |
> > +# |
33 |
> > +# The rule of thumb is that 'error' indicates a serious problem that |
34 |
> > +# may cause serious problem to the end users and therefore should block |
35 |
> > +# committing / deployment. 'Warning' should be fixed by developer |
36 |
> capital W probably should be w |
37 |
|
38 |
Sure, fixed. |
39 |
|
40 |
> > +# but does not need to immediately prevent committing. |
41 |
> > +# |
42 |
> > +# https://projects.gentoo.org/qa/policy-guide/std-policy-index.html |
43 |
> > + |
44 |
> |
45 |
> Looks really interesting. |
46 |
> Will overlays be able to define their own policy ? |
47 |
|
48 |
That's the idea. |
49 |
|
50 |
> Maybe rename file to metadata/qa-policy.conf ? just policy.conf is ambiguous. |
51 |
|
52 |
What other kind of policies do you expect? ;-) |
53 |
|
54 |
-- |
55 |
Best regards, |
56 |
Michał Górny |