Issue #8137
closedProvide a way to map a single Pulp 2 content onto many Pulp 3 contents
Description
This is needed for structured Debian migrations, but since it could be potentially used by other plugins, I think it makes sense to add it as a separate PR with a separate changelog entry and migration.
Related issues
Updated by quba42 almost 4 years ago
- Blocks Issue #7865: Add ability to migrate Debian release and component units for structured publication added
Added by ttereshc almost 4 years ago
Added by ttereshc almost 4 years ago
Revision cfc8ec15 | View on GitHub
Add the pulp2_subid field to the Pulp2Content model
fixes #8137 https://pulp.plan.io/issues/8137
The intended use case is to provide one to many mapping from Pulp 2 to Pulp 3 content. This is achieved by creating multiple Pulp2Content entries that all share a single pulp2_id, and differ only via the pulp2_subid.
This is needed for structured Debian migrations: https://pulp.plan.io/issues/7865
The extra Pulp2Content subrecords are added by the relevant pre_migrate_content_detail method. The reason is that it is only known what subrecords are needed once the content is actually inspected by this method.
Added by ttereshc almost 4 years ago
Revision cfc8ec15 | View on GitHub
Add the pulp2_subid field to the Pulp2Content model
fixes #8137 https://pulp.plan.io/issues/8137
The intended use case is to provide one to many mapping from Pulp 2 to Pulp 3 content. This is achieved by creating multiple Pulp2Content entries that all share a single pulp2_id, and differ only via the pulp2_subid.
This is needed for structured Debian migrations: https://pulp.plan.io/issues/7865
The extra Pulp2Content subrecords are added by the relevant pre_migrate_content_detail method. The reason is that it is only known what subrecords are needed once the content is actually inspected by this method.
Updated by ttereshc almost 4 years ago
- Status changed from NEW to MODIFIED
Applied in changeset pulp:pulp-2to3-migration|cfc8ec15a04502ff853d6b07bf4fd60e785e431e.
Updated by pulpbot almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Add the pulp2_subid field to the Pulp2Content model
fixes #8137 https://pulp.plan.io/issues/8137
The intended use case is to provide one to many mapping from Pulp 2 to Pulp 3 content. This is achieved by creating multiple Pulp2Content entries that all share a single pulp2_id, and differ only via the pulp2_subid.
This is needed for structured Debian migrations: https://pulp.plan.io/issues/7865
The extra Pulp2Content subrecords are added by the relevant pre_migrate_content_detail method. The reason is that it is only known what subrecords are needed once the content is actually inspected by this method.