Project

Profile

Help

Refactor #5491

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 about 1 year ago. Updated 7 months 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.

Associated revisions

Revision 57be3e2d View on GitHub
Added by ttereshc about 1 year ago

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

Revision 57be3e2d View on GitHub
Added by ttereshc about 1 year ago

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

Revision 57be3e2d View on GitHub
Added by ttereshc about 1 year ago

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

History

#1 Updated by ttereshc about 1 year ago

  • Parent task set to #3821

#2 Updated by dkliban@redhat.com about 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 60

#3 Updated by ttereshc about 1 year ago

  • Status changed from ASSIGNED to POST

#4 Updated by ttereshc about 1 year ago

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

Applied in changeset commit:pulp-2to3-migrate|57be3e2d850dc7fc5c06d895ae7948cf6dbc78dd.

#5 Updated by ttereshc 11 months ago

  • Project changed from Pulp to Migration Plugin

#6 Updated by ttereshc 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
  • Sprint/Milestone set to 0.1.0

#7 Updated by bmbouter 7 months ago

  • Tags deleted (Pulp 2 to 3 Migrate)

We're removing the 'Pulp 2 to 3 Migrate' tag to allow membership of the Migration Plugin project in Redmine to be the controlling area https://pulp.plan.io/projects/migration

Please register to edit this issue

Also available in: Atom PDF