Story #3659
closed
Add a migration for transition from basic to advanced modular support
Status:
CLOSED - CURRENTRELEASE
Description
The migration will be responsible to:
- go through yum_repo_metadata collection
- identify which of those files are modules yaml doc files
- parse with the help of libmodulemd the files, identify modules,
- save modules into the DB,
- associate modules to respective repos.
- unassociate respective yum_repo_metadata units
- add a suggestion message to the migration to encourage to republish repos in which module metadata was identified.
- Blocked by Story #3206: Support for module metadata in pulp_rpm added
I guess we can leave a recommendation to republish repos where module metadata was found.
And how about s/parse/parse with libmodulemd/ ?
+ to your list: *unassociate yum_repo_metadata units
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Groomed changed from No to Yes
- Blocked by Story #3657: As a user I can manage modulemd content added
- Related to Task #3661: Add model for modular content added
- Blocked by Story #3766: As a user I can manage modulemd-defaults content added
- Related to deleted (Task #3661: Add model for modular content)
- Blocked by Task #3661: Add model for modular content added
- Blocked by Task #3708: Add model for Modulemd-defaults added
This is blocked and the blocking pre-requisites are now correct. So this is lower priority than those dependent items.
- Sprint/Milestone set to 2.17.0
Adding to 2.17.0 milestone. This is one of the required deliverables.
- Blocked by deleted (Story #3206: Support for module metadata in pulp_rpm)
- Sprint changed from Sprint 39 to Sprint 40
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Platform Release set to 2.17.0
- Platform Release changed from 2.17.0 to master
- Platform Release deleted (
master)
- Platform Release set to 2.17.0
- Status changed from MODIFIED to 5
- Status changed from 5 to CLOSED - CURRENTRELEASE
- Sprint/Milestone deleted (
2.17.0)
Also available in: Atom
PDF
Problem: modulemd are stored as YumMetadataFiles
Solution: add a migration that will convert YumMetadataFile objects with data_type of 'modules' into Modulemd and Modulemd-defaults objects.
closes #3659 https://pulp.plan.io/issues/3659