New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mash #99
mash #99
Conversation
self.state['completed_repos'].append(self.path) | ||
self.save_state() | ||
else: | ||
raise Exception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this exception contain any useful info about why the mash thread failed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failed mash stdout/stderr will be logged by this point. This exception is simply to cause the MasherThread to save state & bail out. In the logs there will show 2 exceptions, 1 from mash returning a !0 error code, and then this one to bail out of the other thread.
👍 from me! |
Thanks! |
Give bodhi2 the ability to mash. Once we can do this in koji, it'll be easy to make local/remote mashing configurable.