-
Notifications
You must be signed in to change notification settings - Fork 79
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
Structured upload does not work multiple times in a row #807
Labels
.bugfix
CHANGES/<issue_number>.bugfix
Comments
quba42
added
Triage-Needed
.bugfix
CHANGES/<issue_number>.bugfix
and removed
Triage-Needed
labels
Jun 19, 2023
Merged
quba42
added a commit
to ATIX-AG/pulp_deb
that referenced
this issue
Jun 19, 2023
closes pulp#807 List of chagnes: - Added a info level log message about the structured upload. - Ensured any extra content created is added to the created_resources list of the relevant task. - Stopped using the blanke suppress of IntegrityError, which appears to have fixed repeated uploads to a repo not doing what they are supposed to.
quba42
added a commit
to ATIX-AG/pulp_deb
that referenced
this issue
Jun 19, 2023
quba42
added a commit
to ATIX-AG/pulp_deb
that referenced
this issue
Jun 19, 2023
quba42
added a commit
to ATIX-AG/pulp_deb
that referenced
this issue
Jun 19, 2023
closes pulp#807 List of chagnes: - Added a info level log message about the structured upload. - Ensured any extra content created is added to the created_resources list of the relevant task. - Stopped using the blanket suppression of IntegrityError, which appears to have fixed repeated uploads to a repo not working as designed.
quba42
added a commit
to ATIX-AG/pulp_deb
that referenced
this issue
Jun 20, 2023
closes pulp#807 List of chagnes: - Added a info level log message about the structured upload. - Ensured any extra content created is added to the created_resources list of the relevant task. - Stopped using the blanket suppression of IntegrityError, which appears to have fixed repeated uploads to a repo not working as designed.
quba42
added a commit
that referenced
this issue
Jun 20, 2023
closes #807 List of chagnes: - Added a info level log message about the structured upload. - Ensured any extra content created is added to the created_resources list of the relevant task. - Stopped using the blanket suppression of IntegrityError, which appears to have fixed repeated uploads to a repo not working as designed. (cherry picked from commit d04da37)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Affects 2.21.0
Describe the bug
When uploading a package starting with 2.21.0 and supplying at least the optional
repository
parameter here: https://docs.pulpproject.org/pulp_deb/restapi.html#tag/Content:-Packages/operation/content_deb_packages_createpulp_deb should create not only a package, but also structured content and add it to the repo provided.
This seems to work with the first package uploaded to a repo, but strangely not with any that come after that. Instead no new repo version is created at all.
To Reproduce
See above
Expected behavior
Structured upload should always work.
Additional information
While we are at it, we could also improve the following:
created_resources
right now.The text was updated successfully, but these errors were encountered: