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 3 years ago. Updated over 2 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.

Actions #1

Updated by ttereshc over 3 years ago

  • Parent task set to #3821
Actions #2

Updated by dkliban@redhat.com over 3 years 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
Actions #3

Updated by ttereshc over 3 years ago

  • Status changed from ASSIGNED to POST

Added by ttereshc over 3 years ago

Revision 57be3e2d

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

Added by ttereshc over 3 years ago

Revision 57be3e2d

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

Added by ttereshc over 3 years ago

Revision 57be3e2d

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

Actions #4

Updated by ttereshc over 3 years ago

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

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

Actions #5

Updated by ttereshc about 3 years ago

  • Project changed from Pulp to Migration Plugin
Actions #6

Updated by ttereshc almost 3 years ago

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

Updated by bmbouter over 2 years 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

Also available in: Atom PDF