Issue #5957
closedpulp 2to3 migration only works if notes field is filled out with the type
Description
the pulp 2to3 migration requires a notes field in at least a couple places:
https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/pre_migration.py#L233
https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/pre_migration.py#L285
however the notes field is only present if the repos were created with pulp-admin. Normal api usage does not create these fields.
Updated by ttereshc almost 5 years ago
The solution is to identify a repo type by its content:
- have a mapping content_type -> repo type
- at the repocontent pre-migration step identify the repo type based on any content unit in that repo
- empty repos won't be migrated
Updated by ttereshc almost 5 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 63
Added by ipanova@redhat.com almost 5 years ago
Updated by ipanova@redhat.com almost 5 years ago
- Status changed from NEW to MODIFIED
Applied in changeset commit:pulp-2to3-migration|ac432d8e0b54b26ede5133f2bf876c5a8a26a1be.
Added by ipanova@redhat.com almost 5 years ago
Revision 2a689a81 | View on GitHub
Do not rely on repo-type from the notes
Create mappings to know about repo types before premigration. Also fixes the marking of unused resources.
Added by ipanova@redhat.com almost 5 years ago
Revision 2a689a81 | View on GitHub
Do not rely on repo-type from the notes
Create mappings to know about repo types before premigration. Also fixes the marking of unused resources.
Added by ipanova@redhat.com almost 5 years ago
Revision 2a689a81 | View on GitHub
Do not rely on repo-type from the notes
Create mappings to know about repo types before premigration. Also fixes the marking of unused resources.
Updated by ipanova@redhat.com almost 5 years ago
Applied in changeset pulp-2to3-migration|2a689a81c349d5ff36661dea0cf56ec561a31bc3.
Updated by ttereshc almost 5 years ago
- Project changed from Pulp to Migration Plugin
Updated by ipanova@redhat.com almost 5 years ago
Applied in changeset pulp:pulp-2to3-migrate|2a689a81c349d5ff36661dea0cf56ec561a31bc3.
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Sprint/Milestone set to 0.1.0
Updated by bmbouter over 4 years ago
- Tags deleted (
Pulp 2 to 3 Migrate)
We're removing the 'Pulp 2 to 3 Migrate' tag to allow membership of the Migration Plugin project in Redmine to be the controlling area https://pulp.plan.io/projects/migration
Do not rely on repo-type from the notes
closes #5957 https://pulp.plan.io/issues/5957