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

Create and attach patches to bz tickets we file. #36

Merged
merged 3 commits into from Mar 26, 2015

Conversation

ralphbean
Copy link
Contributor

Also, propagate srpm-creation and koji-kickoff errors to the ticket, instead of
emailing sysadmin-datanommer.

Almost always, this is an error in the specfile and I'd like to make the
packager(s) aware of that since I can't really do anything about it myself.

.. instead of emailing sysadmin-datanommer.

Almost always, this is an error in the specfile and I'd like to make the
packager(s) aware of that since I can't really do anything about it
myself.
@ralphbean
Copy link
Contributor Author

Fixes #5. Fixes #18. Fixes #26.


# Copy the patch out of this doomed dir so bz can find it
destination = '/var/tmp/' + filename
shutil.move('/'.join([tmp, filename]), destination)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line scares me a little as it would accept a folder as well as a file, bu on the other side things are pretty contained about what they can do.

Btw, '/'.join() not os.path.join()?

@pypingou
Copy link
Member

One question, otherwise 👍

ralphbean added a commit that referenced this pull request Mar 26, 2015
Create and attach patches to bz tickets we file.
@ralphbean ralphbean merged commit f8b314a into develop Mar 26, 2015
@ralphbean ralphbean deleted the feature/patch-creation branch March 26, 2015 18:04
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