Make repoman exit with nonzero status whenever there are qa issues (already does...
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 04:17:23 +0000 (04:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 04:17:23 +0000 (04:17 -0000)
svn path=/main/branches/2.1.2.9/; revision=7466

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: