Project

Profile

Help

Refactor #5491

closed

Story #3821: As a user, I can migrate from Pulp 2 to Pulp 3

Stop using mappings for plugin specific items, move everyting to a plugin migrator class

Added by ttereshc over 4 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 60
Quarter:

Description

Currently many plugin specific items are specified in the mappings in constants.py.
It is very inconvenient for discoverability, not very scalable and requires plugins to follow multiple conventions.

To improve all above, a migrator class has been introduced.
- All plugin specific items should be moved there
- a migrator class for each plugin should be a Python entry point
- all plugin entry point should be loaded by the time of a migration plan validation or the migration itself
- plugin writer's section of README should be updated to reflect these changes.

Also available in: Atom PDF