Changes

Jump to: navigation, search

Pidora-Update-Source

440 bytes added, 09:19, 9 July 2013
Pidora Update Source
<pre>
commit 439b12939b313f86ce0c1474f1e3c3e0fa6ee04b706549b6c84b1844fea04019e47b3afefd7b0493
Author: Andrew Oatley-Willis <andrew.oatley-willis@senecacollege.ca>
Date: Mon Tue Jul 8 139 09:3216:36 41 2013 -0400
</pre>
elif self.mashhost not in self.hosts: # Check connection with mash host
self.email_exit('[Error]\nCannot connect to mash: failed hosts: \n' + self.info(), subject='pidora-smr - failed', errors=1)
elif selfopts.checksign()mash: print 'Unsigned packages: ', self.kojitags
self.checksign()
print 'Cannot mash or rsync if packages are not signed'
exit(0)
elif opts.mash:
self.mash()
self.email_exit('[Success]\nMash for pidora complete', subject='pidora-smr - success')
self.email_exit('[Error]\nCannot connect to rsync: failed hosts: \n' + self.info(), subject='pidora-smr - failed', errors=1)
elif opts.rsync:
self.checksign()
self.rsync()
self.email_exit('[Success]\nRsync for pidora complete', subject='pidora-smr - success')
elif self.signmash:
self.sign()
self.checksign()
self.mash()
self.email_exit('[Success]\nSign/mash for pidora complete', subject='pidora-smr - success')
elif self.signrsync:
self.sign()
self.checksign()
self.rsync()
self.email_exit('[Success]\nSign/rsync for pidora complete', subject='pidora-smr - success')
elif opts.everything:
self.sign()
self.checksign()
self.mash()
self.rsync()
check = "unsigned rpms found"
if check:
return Trueself.email_exit('[Error]\nCannot mash or rsync if packages are not signed:\n' + self.info(), subject='pidora-smr - failed', errors=1)
# Run mash and search through the log file for failed mash errors
198
edits

Navigation menu