summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-30 04:17:23 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-30 04:17:23 +0000
commit9dcc3601f42ea7926d8cfa1cbcee9d5a4e945386 (patch)
treef516cc567468487e65839a8634f41e2b79c1463e
parent0bada31c329c76dd2f548f4547342b713f762be9 (diff)
downloadportage-9dcc3601f42ea7926d8cfa1cbcee9d5a4e945386.tar.gz
portage-9dcc3601f42ea7926d8cfa1cbcee9d5a4e945386.tar.bz2
portage-9dcc3601f42ea7926d8cfa1cbcee9d5a4e945386.zip
Make repoman exit with nonzero status whenever there are qa issues (already does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. (branches/2.1.2 r6857)
svn path=/main/branches/2.1.2.9/; revision=7466
-rwxr-xr-xbin/repoman4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index c033a0d44..cbc823458 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1485,6 +1485,10 @@ if mymode!="commit":
print green("RepoMan sez:"),"\"OK for now, but I'll be back ...\""
elif not dofail:
print green("RepoMan sez:"),"\"If everyone were like you, I'd be out of business!\""
+ elif dofail:
+ print turquoise("Please fix these important QA issues first.")
+ print green("RepoMan sez:"),"\"Make your QA payment on time and you'll never see the likes of me.\"\n"
+ sys.exit(1)
if quiet < 1:
print
else: