Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: qa@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH] repoman: make SRC_URI.mirror test result non-fatal
Date: Sat, 07 Feb 2015 19:22:29
Message-Id: 1423336936-4695-1-git-send-email-mgorny@gentoo.org
1 Make the SRC_URI.mirror test result non-fatal. There is no technical
2 reason to treat it as a critical error since the SRC_URI is still
3 correct -- just suboptimal.
4
5 Those errors can appear throughout the repository once a new mirror is
6 added, resulting in unnecessary failures. Worse than that, they prevent
7 committing ebuilds with mirror:// URIs removed when aiming to remove
8 a mirror specification.
9 ---
10 bin/repoman | 1 +
11 1 file changed, 1 insertion(+)
12
13 diff --git a/bin/repoman b/bin/repoman
14 index 5380146..2d6dcdc 100755
15 --- a/bin/repoman
16 +++ b/bin/repoman
17 @@ -419,6 +419,7 @@ qawarnings = set((
18 "LIVEVCS.stable",
19 "LIVEVCS.unmasked",
20 "IUSE.rubydeprecated",
21 +"SRC_URI.mirror",
22 ))
23
24 non_ascii_re = re.compile(r'[^\x00-\x7f]')
25 --
26 2.3.0

Replies