As a plugin writer I can initialize new RepositoryVersions with plugin-provided code.
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
Add initialize_new_version function to Repository model
closes #9579 https://pulp.plan.io/issues/9579