"--commitmsgfile" : "Adds a commit message from the specified file",
"--help" : "Show this screen",
"--ignore-arches" : "Ignore arch-specific failures (where arch != host)",
-"--include-masked" : "Include masked packages in scans at category or tree level",
+"--ignore-masked" : "Ignore masked packages (not allowed with commit mode)",
"--pretend" : "Don't commit or fix anything; just show what would be done",
"--quiet" : "Be less verbose about extraneous info",
"--verbose" : "Displays every package name while checking",
}
repoman_shortoptions={
"-h" : "--help",
-"-i" : "--include-masked",
+"-i" : "--ignore-masked",
"-I" : "--ignore-arches",
"-m" : "--commitmsg",
"-M" : "--commitmsgfile",
show_version()
if mymode=="last" or (mymode=="lfull"):
last()
-if mymode=="commit" and "--include-masked" not in myoptions:
- myoptions.append("--include-masked")
+if mymode == "commit":
+ while "--ignore-masked" in myoptions:
+ myoptions.remove("--ignore-masked")
isCvs=False
myreporoot=None
print red("***")
err("Unable to identify level we're commiting from for %s" % string.join(reposplit,'/'))
-if repolevel == 3 and "--include-masked" not in myoptions:
- myoptions.append("--include-masked")
-
startdir=os.getcwd()
for x in range(0,repolevel-1):
if not baddepsyntax:
ismasked = (catdir+"/"+y not in portage.db["/"]["porttree"].dbapi.xmatch("list-visible",x))
if ismasked:
- if "--include-masked" not in myoptions:
+ if "--ignore-masked" in myoptions:
continue
#we are testing deps for a masked package; give it some lee-way
suffix="masked"