forked from fedora-copr/copr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backend: don't upload RPM packages to Pulp as artifacts
Fix pulp/pulp_rpm#3719 Instead of uploading RPM packages as artifacts in one API call, and then creating a content from them in a separate call, we will now create the content directly. There are mutiple reasons to do so: - One API call instead of two - It fixes the issue with installing packages mentioned above - @dkliban says there is an effort to not allow uploading artifacts on shared Pulp instances There is only one disadvantage of doing this, we lose track of what RPM packages belong to a specific Copr build ID. We will use labels for this, once they are implemented. See pulp/pulpcore#3338 (comment)
- Loading branch information
Showing
2 changed files
with
6 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters