Project

Profile

Help

Task #5632

closed

Story #3821: As a user, I can migrate from Pulp 2 to Pulp 3

Mark changed/removed Pulp 2 repositories/importers/distributors

Added by ttereshc about 5 years ago. Updated over 4 years 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 63
Quarter:

Description

Introduce a new field not_in_pulp2 on models for Pulp2Repository, Pulp2Importer, Pulp2Distributor pre-migration.
It should be False by default.

At pre-migration stage set not_in_pulp2 to True for the resources which are no longer in Pulp 2.
Only check/change resources for a specified plugin type!
Don't rely on id of resources but on their object_id when performing search/lookup.

There is an is_migrated flag already on the mentioned models, it should be set to False if relevant timestamps for resources change. The migration stage should take is_migrated into account.

Also available in: Atom PDF