Extend the call repository content modify to include DEB release components#1405
Extend the call repository content modify to include DEB release components#1405romeroalx wants to merge 1 commit into
Conversation
…onents This commit extends the repository content modify call to additional components such as package_release_components release_components and release_architectures, with the final goal of enabling batch uploading of DEB packages. This is done by: 1. Adding AptRepositoryAddRemoveContentSerializer for extending the parameters allowed in the repository content modify call to: - add_release_components - add_release_architectures - add_package_release_components - remove_release_components - remove_release_architectures - remove_package_release_components 2. Updating the viewset AptModifyRepositoryActionMixin to include also package_release_components, release_components and release_architectures as they also extend from Content.
fdd8c5f to
d05fed1
Compare
|
Fixed some formatting issues reported by |
|
I think you can already add these pieces of content to a repo with the modify endpoint. The |
|
This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution! |
Apologies for forgetting about this! I did test that and it did not work for me, but I will give it a look again next week. Maybe that is something that has been solved in another fashion. Also, it is ok if you do not consider this PR useful |
|
This issue is no longer marked for closure. |
This commit extends the repository content modify call to additional components such as
package_release_components,release_componentsandrelease_architectures, with the final goal of enabling batch uploading ofDEBpackages. This is done by:AptRepositoryAddRemoveContentSerializerfor extending the parameters allowed in the repository content modify call to:add_release_componentsadd_release_architecturesadd_package_release_componentsremove_release_componentsremove_release_architecturesremove_package_release_componentsAptModifyRepositoryActionMixinto include also package_release_components, release_components and release_architectures as they also extend from Content.Closes #1398
📜 Checklist
See: Pull Request Walkthrough