1 |
On Mon, 16 Feb 2015 21:00:16 +0800 |
2 |
Patrick Lauer <patrick@g.o> wrote: |
3 |
|
4 |
> Right now repoman is relatively permissive - it whines about many |
5 |
> things, but treats many issues as warning. |
6 |
> The result is that many ebuilds get committed with 'minor' cosmetic |
7 |
> issues which then someone more OCD than the original committer cleans |
8 |
> up, making pretty much everyone involved more unhappy. |
9 |
> |
10 |
> There's no reason to not error out on, for example, an invalid |
11 |
> RESTRICT. Just printing a message is relatively useless. |
12 |
> |
13 |
> |
14 |
> Thus I suggest making the following warnings proper errors: |
15 |
> |
16 |
> (Taken from current repoman 'qawarnings' set) |
17 |
> |
18 |
> "changelog.missing", |
19 |
> "changelog.notadded", |
20 |
> "digest.assumed", |
21 |
> "digest.unused", |
22 |
> "ebuild.notadded", |
23 |
> "ebuild.nesteddie", |
24 |
> "DESCRIPTION.toolong", |
25 |
> "RESTRICT.invalid", |
26 |
> "ebuild.minorsyn", |
27 |
> "ebuild.badheader", |
28 |
> "metadata.warning", |
29 |
> "LIVEVCS.stable", |
30 |
> "LIVEVCS.unmasked", |
31 |
> |
32 |
> Most of these have few or no occurrences in the current tree, so |
33 |
> changing the default from warn to error won't get in the way of the |
34 |
> normal workflow. |
35 |
> |
36 |
> (A few of them, like DESCRIPTION.toolong, still have about a dozen |
37 |
> leftovers, but that should be easy to fix) |
38 |
> |
39 |
> Have fun, |
40 |
> |
41 |
> Patrick |
42 |
> |
43 |
|
44 |
While I can agree to the principal of this, Unfortunately I maintain |
45 |
several pkgs that I would love to clean out old versions of |
46 |
that trigger several of these, but can't. (But I am getting closer to |
47 |
being able to clean them) |
48 |
|
49 |
If I recall correctly they are: |
50 |
|
51 |
"ebuild.minorsyn", |
52 |
"ebuild.badheader", |
53 |
|
54 |
plus a couple other odd ones |
55 |
|
56 |
Portage ebuild triggers minorsyn due to a false positive quoting issue. |
57 |
|
58 |
|
59 |
-- |
60 |
Brian Dolbec <dolsen> |