Project

Profile

Help

Story #9579

closed

As a plugin writer I can initialize new RepositoryVersions with plugin-provided code.

Added by quba42 about 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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

Also available in: Atom PDF