Actions
Story #9579
closedAs a plugin writer I can initialize new RepositoryVersions with plugin-provided code.
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
There is already a "finalize_new_version" function for plugins to edit a new RepositoryVersion just before it is saved by pulpcore.
I propose an additional "initialize_new_version" function for plugins to edit a new RepositoryVersion before anything else is performed on the new version.
This allows for a elegent solution of the following pulp_deb issue: https://pulp.plan.io/issues/8756
Actions
Add initialize_new_version function to Repository model
closes #9579 https://pulp.plan.io/issues/9579