1 |
Author: zmedico |
2 |
Date: 2008-03-28 12:59:23 +0000 (Fri, 28 Mar 2008) |
3 |
New Revision: 9574 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.2/bin/repoman |
7 |
Log: |
8 |
Bug #212509 - Display a note about the --without-mask option when there |
9 |
are masked packages. (trunk r9521) |
10 |
|
11 |
|
12 |
Modified: main/branches/2.1.2/bin/repoman |
13 |
=================================================================== |
14 |
--- main/branches/2.1.2/bin/repoman 2008-03-28 12:55:47 UTC (rev 9573) |
15 |
+++ main/branches/2.1.2/bin/repoman 2008-03-28 12:59:23 UTC (rev 9574) |
16 |
@@ -1104,6 +1104,7 @@ |
17 |
new_ebuilds.update(x for x in mynew if x.endswith(".ebuild")) |
18 |
del mycvstree, mynew |
19 |
|
20 |
+have_masked = False |
21 |
dofail = 0 |
22 |
arch_caches={} |
23 |
arch_xmatch_caches = {} |
24 |
@@ -1834,6 +1835,7 @@ |
25 |
ismasked = os.path.join(catdir, y) not in \ |
26 |
portdb.xmatch("list-visible", x) |
27 |
if ismasked: |
28 |
+ have_masked = True |
29 |
if "--ignore-masked" in myoptions: |
30 |
continue |
31 |
#we are testing deps for a masked package; give it some lee-way |
32 |
@@ -1958,6 +1960,10 @@ |
33 |
mygroups[xs[0]]+=[seperator.join(xs[1:])] |
34 |
return mygroups |
35 |
|
36 |
+if have_masked and not ("--without-mask" in myoptions or "--ignore-masked" in myoptions): |
37 |
+ print bold("Note: use --without-mask to check " + \ |
38 |
+ "KEYWORDS on dependencies of masked packages") |
39 |
+ |
40 |
if mymode!="commit": |
41 |
if dofull: |
42 |
print bold("Note: type \"repoman full\" for a complete listing.") |
43 |
|
44 |
-- |
45 |
gentoo-commits@l.g.o mailing list |