From ce20cdf1e868e8628b541abec9b99f3527ca22a1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 17 Feb 2012 15:56:56 -0800 Subject: repoman: make virtual.oldstyle an error Also, add "allow-provide-virtuals = true" setting for metadata/layout.conf which reduces it to a warning. --- bin/repoman | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22