Project

Profile

Help

Task #5083

closed

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

Add model for Pulp 2 data and dump Pulp 2 generic data using this model

Added by ttereshc over 4 years ago. Updated about 4 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 57
Quarter:

Description

Create a Pulp2Content model which stores pulp 2 content in a generic way, not content specific.
Fields:
- content type
- content_id
- downloaded flag
- storage_path
- date created in pulp 2

Create an asyncio loop and couroutines which dump generic info about Pulp 2 content.
It should be triggered from the main task migrate_from_pulp2.
Dump only newly added content to Pulp2, use _last_updated field of Pulp 2 content model for that.

Also available in: Atom PDF