Actions
Task #5306
closedStory #3821: As a user, I can migrate from Pulp 2 to Pulp 3
Story #5307: As a user, I can migrate repositories from Pulp2 to Pulp3
Add models to pre-migrate pulp 2 data about repositories/importers/distributors
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 58
Quarter:
Description
Create the following models to pre-migrate all the needed data.
Check the field types in pulp2 and in pulp3 before deciding which to choose.
Pulp2Repository
- pulp2_repo_id
- pulp2_object_id (it's needed in case a repo has been removed and then a new one created with the same repo_id)
- pulp2_last_unit_added
- pulp2_last_unit_removed
- pulp3_repository_version
Pulp2RepoContent
- repo_id
- content_type
- unit_id
Pulp2Importer
- Pulp2Repository foreign key
- pulp2_importer_type_id
- pulp2_config (json) - plugin will figure out what to do
- pulp2_last_updated
- pulp3_remote
Pulp2Distributor
- Pulp2Repository foreign key
- pulp2_distributor_id
- pulp2_distributor_type_id
- pulp2_config (json) - plugin will figure out what to do
- pulp2_auto_publish
- pulp2_last_updated
- pulp3_publication
- pulp3_distribution
Actions
Add models for pre0migrating pulp2 repository related data
closes #5306 https://pulp.plan.io/issues/5306