summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-28 12:55:47 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-28 12:55:47 +0000
commit0ec342605b23f36aa6510087525889c2f6eb6588 (patch)
tree2f10e13d685142facc942d4c87a4cf7f83b617d0
parentb4ec5574c3ffc6aa9a6fb214b166977e6651495b (diff)
downloadportage-0ec342605b23f36aa6510087525889c2f6eb6588.tar.gz
portage-0ec342605b23f36aa6510087525889c2f6eb6588.tar.bz2
portage-0ec342605b23f36aa6510087525889c2f6eb6588.zip
Bug #212509 - Implement a new --without-mask option that causes repoman to
behave as if there are no package.mask entries. (trunk r9520) svn path=/main/branches/2.1.2/; revision=9573
-rwxr-xr-xbin/repoman3
-rw-r--r--man/repoman.18
2 files changed, 10 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index f927fc221..18f4d7267 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -127,6 +127,7 @@ repoman_options={
"--quiet" : "Be less verbose about extraneous info",
"--verbose" : "Displays every package name while checking",
"--version" : "Show version info",
+"--without-mask" : "Behave as if no package.mask entries exist",
"--xmlparse" : "Forces the metadata.xml parse check to be carried out"
}
repoman_shortoptions={
@@ -1794,6 +1795,8 @@ for x in scanlist:
config_profile_path=profdir,
config_incrementals=portage_const.INCREMENTALS,
local_config=False)
+ if "--without-mask" in myoptions:
+ dep_settings.pmaskdict.clear()
arch_caches[prof[0]] = dep_settings
while True:
try:
diff --git a/man/repoman.1 b/man/repoman.1
index f213b9adf..be0150aa1 100644
--- a/man/repoman.1
+++ b/man/repoman.1
@@ -34,9 +34,15 @@ Forces the metadata.xml parse check to be carried out
\fB-v\fR, \fB--verbose\fR
Displays every package name while checking
.TP
-\fB-I\fR, \fB--ignore-arches\fR
+\fB\-i\fR, \fB\-\-ignore\-arches\fR
Ignore arch-specific failures (where arch != host)
.TP
+\fB\-I\fR, \fB\-\-ignore\-masked\fR
+Ignore masked packages (not allowed with commit mode)
+.TP
+\fB\-\-without\-mask\fR
+Behave as if no package.mask entries exist
+.TP
\fB-m\fR, \fB--commitmsg\fR
Adds a commit message via the command line
.TP