diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-06-15 21:39:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-06-15 21:39:18 +0000 |
commit | 95e52479f8df936e9168e7e567bc5c2725f6caea (patch) | |
tree | 91da04483b000a3662e0d0608db3c26ade9751d2 /bin/repoman | |
parent | d49c276a78c71f1ac17f54e4cc5a78d44aa0c759 (diff) | |
download | portage-95e52479f8df936e9168e7e567bc5c2725f6caea.tar.gz portage-95e52479f8df936e9168e7e567bc5c2725f6caea.tar.bz2 portage-95e52479f8df936e9168e7e567bc5c2725f6caea.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. (trunk r6856)
svn path=/main/branches/2.1.2/; revision=6857
Diffstat (limited to 'bin/repoman')
-rwxr-xr-x | bin/repoman | 4 |
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: |