Project

Profile

Help

Task #5306

Story #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

Added by ttereshc 12 months ago. Updated 5 months ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 58

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

Associated revisions

Revision 3a62b6da View on GitHub
Added by ttereshc 12 months ago

Add models for pre0migrating pulp2 repository related data

closes #5306 https://pulp.plan.io/issues/5306

Revision 3a62b6da View on GitHub
Added by ttereshc 12 months ago

Add models for pre0migrating pulp2 repository related data

closes #5306 https://pulp.plan.io/issues/5306

Revision 3a62b6da View on GitHub
Added by ttereshc 12 months ago

Add models for pre0migrating pulp2 repository related data

closes #5306 https://pulp.plan.io/issues/5306

History

#1 Updated by ttereshc 12 months ago

  • Description updated (diff)

#2 Updated by ttereshc 12 months ago

  • Parent task set to #5307

#3 Updated by ttereshc 12 months ago

  • Description updated (diff)

#4 Updated by ttereshc 12 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#5 Updated by ttereshc 12 months ago

  • Status changed from ASSIGNED to POST
  • Groomed changed from No to Yes
  • Sprint set to Sprint 58

#6 Updated by ttereshc 11 months ago

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

Applied in changeset commit:pulp-2to3-migrate|3a62b6dabe92e47fa97dcd13805ccd3b5d6c0e48.

#7 Updated by bmbouter 8 months ago

  • Sprint/Milestone set to 3.0.0

#8 Updated by bmbouter 8 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#9 Updated by ttereshc 7 months ago

  • Status changed from CLOSED - CURRENTRELEASE to MODIFIED

#10 Updated by ttereshc 5 months ago

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

Please register to edit this issue

Also available in: Atom PDF