Actions
Refactor #5491
closedStory #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
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.
Actions
Discover plugins via enrty_points
Stop using mappings for plugin specific items, move everyting to a plugin migrator class.
closes #5491 https://pulp.plan.io/issues/5491