summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-02-17 15:56:56 -0800
committerZac Medico <zmedico@gentoo.org>2012-02-17 16:00:32 -0800
commitce20cdf1e868e8628b541abec9b99f3527ca22a1 (patch)
treeb952a908cf22fa18fa86e5b3ef1480afd06805cc /bin
parentea3c8864c19a5ef0d337f8a1314128faad4977aa (diff)
downloadportage-ce20cdf1e868e8628b541abec9b99f3527ca22a1.tar.gz
portage-ce20cdf1e868e8628b541abec9b99f3527ca22a1.tar.bz2
portage-ce20cdf1e868e8628b541abec9b99f3527ca22a1.zip
repoman: make virtual.oldstyle an error
Also, add "allow-provide-virtuals = true" setting for metadata/layout.conf which reduces it to a warning.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index f3946eae5..bcb48e464 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -427,7 +427,6 @@ qawarnings = set((
"portage.internal",
"usage.obsolete",
"upstream.workaround",
-"virtual.oldstyle",
"LIVEVCS.stable",
"LIVEVCS.unmasked",
))
@@ -580,6 +579,9 @@ repo_config = repoman_settings.repositories.get_repo_for_location(repodir)
portdb.porttrees = list(repo_config.eclass_db.porttrees)
portdir = portdb.porttrees[0]
+if repo_config.allow_provide_virtual:
+ qawarnings.add("virtual.oldstyle")
+
if repo_config.sign_commit:
if vcs == 'git':
# NOTE: It's possible to use --gpg-sign=key_id to specify the key in