commit:     d43cc91db8ae54f48a91576c175a2a49f7b8b11c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  7 19:22:16 2015 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Feb  9 20:32:10 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d43cc91d

repoman: make SRC_URI.mirror test result non-fatal

Make the SRC_URI.mirror test result non-fatal. There is no technical
reason to treat it as a critical error since the SRC_URI is still
correct -- just suboptimal.

Those errors can appear throughout the repository once a new mirror is
added, resulting in unnecessary failures. Worse than that, they prevent
committing ebuilds with mirror:// URIs removed when aiming to remove
a mirror specification.

X-Gentoo-Bug: 513168
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=513168
Acked-by: Alexander Berntsen <bernalex <AT> gentoo.org>

---
 bin/repoman | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/repoman b/bin/repoman
index 0bf576f..16ea055 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -419,6 +419,7 @@ qawarnings = set((
 "LIVEVCS.stable",
 "LIVEVCS.unmasked",
 "IUSE.rubydeprecated",
+"SRC_URI.mirror",
 ))
 
 non_ascii_re = re.compile(r'[^\x00-\x7f]')

Reply via email to