Make repoman exit with nonzero status whenever there are qa issues (already does...
authorZac Medico <zmedico@gentoo.org>
Fri, 15 Jun 2007 21:39:18 +0000 (21:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 15 Jun 2007 21:39:18 +0000 (21:39 -0000)
svn path=/main/branches/2.1.2/; revision=6857

bin/repoman

index c033a0d44815718baba5df2e53582606dc89a136..cbc8234581beeb75ad0f4ab097bc2a109eaaf3c9 100755 (executable)
@@ -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: