1 |
commit: 2fce72c6af32d2d1ffc92684e810f221185cdda8 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 07:48:07 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 07:48:07 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2fce72c6 |
7 |
|
8 |
repoman: remove ebuild.allmasked check |
9 |
|
10 |
This check it pretty useless, since there packages don't necessarily |
11 |
need to have any stable keywords, and nobody relies on this check to |
12 |
decide when to keyword something. Also, remove references to the |
13 |
ebuild.nostable which doesn't seem to exist anymore. |
14 |
|
15 |
--- |
16 |
bin/repoman | 15 --------------- |
17 |
man/repoman.1 | 6 ------ |
18 |
2 files changed, 0 insertions(+), 21 deletions(-) |
19 |
|
20 |
diff --git a/bin/repoman b/bin/repoman |
21 |
index 1933489..6e91254 100755 |
22 |
--- a/bin/repoman |
23 |
+++ b/bin/repoman |
24 |
@@ -373,8 +373,6 @@ qahelp={ |
25 |
"digest.assumed":"Existing digest must be assumed correct (Package level only)", |
26 |
"digest.missing":"Some files listed in SRC_URI aren't referenced in the Manifest", |
27 |
"digest.unused":"Some files listed in the Manifest aren't referenced in SRC_URI", |
28 |
- "ebuild.nostable":"There are no ebuilds that are marked as stable for your ARCH", |
29 |
- "ebuild.allmasked":"All ebuilds are masked for this package (Package level only)", |
30 |
"ebuild.majorsyn":"This ebuild has a major syntax error that may cause the ebuild to fail partially or fully", |
31 |
"ebuild.minorsyn":"This ebuild has a minor syntax error that contravenes gentoo coding style", |
32 |
"ebuild.badheader":"This ebuild has a malformed header", |
33 |
@@ -399,8 +397,6 @@ qawarnings = set(( |
34 |
"digest.assumed", |
35 |
"digest.unused", |
36 |
"ebuild.notadded", |
37 |
-"ebuild.nostable", |
38 |
-"ebuild.allmasked", |
39 |
"ebuild.nesteddie", |
40 |
"desktop.invalid", |
41 |
"DEPEND.badmasked","RDEPEND.badmasked","PDEPEND.badmasked", |
42 |
@@ -1593,7 +1589,6 @@ for x in effective_scanlist: |
43 |
changelog_path = os.path.join(checkdir_relative, "ChangeLog") |
44 |
changelog_modified = changelog_path in modified_changelogs |
45 |
|
46 |
- allmasked = True |
47 |
# detect unused local USE-descriptions |
48 |
used_useflags = set() |
49 |
|
50 |
@@ -1776,7 +1771,6 @@ for x in effective_scanlist: |
51 |
arches.append([keyword, keyword[1:], [keyword[1:], keyword]]) |
52 |
else: |
53 |
arches.append([keyword, keyword, [keyword]]) |
54 |
- allmasked = False |
55 |
if not arches: |
56 |
# Use an empty profile for checking dependencies of |
57 |
# packages that have empty KEYWORDS. |
58 |
@@ -2115,15 +2109,6 @@ for x in effective_scanlist: |
59 |
fails["dependency.unknown"].append("%s: %s: %s" % |
60 |
(relative_path, mytype, ", ".join(sorted(atoms)))) |
61 |
|
62 |
- # Check for 'all unstable' or 'all masked' -- ACCEPT_KEYWORDS is stripped |
63 |
- # XXX -- Needs to be implemented in dep code. Can't determine ~arch nicely. |
64 |
- #if not portage.portdb.xmatch("bestmatch-visible",x): |
65 |
- # stats["ebuild.nostable"]+=1 |
66 |
- # fails["ebuild.nostable"].append(x) |
67 |
- if ebuildlist and allmasked and repolevel == 3: |
68 |
- stats["ebuild.allmasked"]+=1 |
69 |
- fails["ebuild.allmasked"].append(x) |
70 |
- |
71 |
# check if there are unused local USE-descriptions in metadata.xml |
72 |
# (unless there are any invalids, to avoid noise) |
73 |
if allvalid: |
74 |
|
75 |
diff --git a/man/repoman.1 b/man/repoman.1 |
76 |
index 7bc5c45..f53a19e 100644 |
77 |
--- a/man/repoman.1 |
78 |
+++ b/man/repoman.1 |
79 |
@@ -274,9 +274,6 @@ Some files listed in SRC_URI aren't referenced in the Manifest |
80 |
.B digest.unused |
81 |
Some files listed in the Manifest aren't referenced in SRC_URI |
82 |
.TP |
83 |
-.B ebuild.allmasked |
84 |
-All ebuilds are masked for this package (Package level only) |
85 |
-.TP |
86 |
.B ebuild.badheader |
87 |
This ebuild has a malformed header |
88 |
.TP |
89 |
@@ -295,9 +292,6 @@ Ebuild files that do not have the same name as their parent directory |
90 |
.B ebuild.nesteddie |
91 |
Placing 'die' inside ( ) prints an error, but doesn't stop the ebuild. |
92 |
.TP |
93 |
-.B ebuild.nostable |
94 |
-There are no ebuilds that are marked as stable for your ARCH |
95 |
-.TP |
96 |
.B ebuild.notadded |
97 |
Ebuilds that exist but have not been added to cvs |
98 |
.TP |