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

Pungi4 fixes. #47

Merged
merged 1 commit into from Mar 21, 2016
Merged

Pungi4 fixes. #47

merged 1 commit into from Mar 21, 2016

Conversation

ralphbean
Copy link
Contributor

With pungi4 we changed the way images are being created in koji. They're no longer scratch tasks .. they're instead attached to a real 'build'.

https://fedorahosted.org/rel-eng/ticket/6304

This updates the code to handle both scenarios (images as scratch tasks and images as real builds). It seems we're still producing a small handful of them the old way.

With pungi4 we changed the way images are being created in koji.
They're no longer scratch tasks .. they're instead attached to a real
'build'.

https://fedorahosted.org/rel-eng/ticket/6304

This updates the code to handle both scenarios (images as scratch tasks
and images as real builds).  It seems we're still producing a small
handful of them the old way.

log.info('Received %r %r' % (msg['topic'], msg['body']['msg_id']))
if len(builds) > 0:
fedimg.uploader.upload(self.upload_pool,
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to log what we upload?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Might as well, yes. There are some log statements inside service.upload... but they get called later on. Could be useful to log the urls here too, yes. I'll do it as a separate PR.

@pypingou
Copy link
Member

One question, otherwise 👍

ralphbean added a commit that referenced this pull request Mar 21, 2016
@ralphbean ralphbean merged commit 0c559e6 into develop Mar 21, 2016
@ralphbean ralphbean deleted the feature/pungi4-fixes branch March 21, 2016 17:29
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