Project

Profile

Help

Story #9579

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

Added by quba42 2 months ago. Updated about 2 months 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

Associated revisions

Revision 5cbcbb06 View on GitHub
Added by quba42 2 months ago

Add initialize_new_version function to Repository model

closes #9579 https://pulp.plan.io/issues/9579

History

#1 Updated by pulpbot 2 months ago

  • Status changed from NEW to POST

#2 Updated by quba42 2 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#3 Updated by pulpbot about 2 months ago

  • Sprint/Milestone set to 3.17.0

#4 Updated by pulpbot about 2 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF