-
Notifications
You must be signed in to change notification settings - Fork 161
Adapt pulp builds in copr as done in copr-cli
#4463
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
base: main
Are you sure you want to change the base?
Conversation
LecrisUT
left a comment
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.
LGTM
| except Exception: | ||
| # Idea is not to fail the whole process if results.json is missing | ||
| self.logger.warning(f"Failed to download: '{results_url}'.") | ||
| return [] |
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.
Fine to raise in this case IMO.
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.
I agree, left it to continue since the copr-cli had done it.
See: https://github.com/fedora-copr/copr/blob/c3b10d50b5c24e4ab58c41699811b01ff1b27b4b/cli/copr_cli/main.py#L760
79e3032 to
5f5f89d
Compare
|
After the discussion with @thrix, |
Handle pulp-based builds by fetching
results.jsonfor RPM URLs; non-Pulp (copr) behavior remains unchanged.Pull Request Checklist