Skip to content
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

Merged
merged 7 commits into from Oct 10, 2014
Merged

mash #99

merged 7 commits into from Oct 10, 2014

Conversation

lmacken
Copy link
Contributor

@lmacken lmacken commented Oct 9, 2014

Give bodhi2 the ability to mash. Once we can do this in koji, it'll be easy to make local/remote mashing configurable.

self.state['completed_repos'].append(self.path)
self.save_state()
else:
raise Exception
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@ralphbean
Copy link
Contributor

👍 from me!

@lmacken
Copy link
Contributor Author

lmacken commented Oct 10, 2014

Thanks!

lmacken added a commit that referenced this pull request Oct 10, 2014
@lmacken lmacken merged commit c89dff0 into pyramid Oct 10, 2014
@lmacken lmacken deleted the feature/mash branch October 10, 2014 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants