projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63bf20d
)
repoman: improve thirdpartymirrors output
author
Sergei Trofimovich
<slyfox@gentoo.org>
Wed, 2 Jan 2013 00:44:33 +0000
(16:44 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 2 Jan 2013 00:44:33 +0000
(16:44 -0800)
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 92ae667e61e229a1432f43bff5db70432568b491..57ddf72fed6c827b1eb855632e41df77be4fc9d9 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1779,10
+1779,11
@@
for x in effective_scanlist:
if not contains_mirror:
continue
+ new_uri = "mirror://%s/%s" % (mirror_alias, uri[len(mirror):])
stats["SRC_URI.mirror"] += 1
fails["SRC_URI.mirror"].append(
- "%s: '%s' found in thirdpartymirrors
: 'mirror://
%s'" % \
- (relative_path, mirror,
mirror_alias
))
+ "%s: '%s' found in thirdpartymirrors
, use '
%s'" % \
+ (relative_path, mirror,
new_uri
))
if myaux.get("PROVIDE"):
stats["virtual.oldstyle"]+=1