Project

Profile

Help

Story #9579

closed

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

Added by quba42 almost 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

Actions #1

Updated by pulpbot almost 3 years ago

  • Status changed from NEW to POST

Added by quba42 almost 3 years ago

Revision 5cbcbb06 | View on GitHub

Add initialize_new_version function to Repository model

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

Actions #2

Updated by quba42 almost 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #3

Updated by pulpbot almost 3 years ago

  • Sprint/Milestone set to 3.17.0
Actions #4

Updated by pulpbot almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF