Project

Profile

Help

Story #3659

closed

Add a migration for transition from basic to advanced modular support

Added by ipanova@redhat.com almost 6 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Platform Release:
2.17.0
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 40
Quarter:

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.

Related issues

Blocked by RPM Support - Story #3657: As a user I can manage modulemd contentCLOSED - CURRENTRELEASEjortel@redhat.com

Actions
Blocked by RPM Support - Story #3766: As a user I can manage modulemd-defaults contentCLOSED - CURRENTRELEASEdaviddavis

Actions
Blocked by RPM Support - Task #3661: Add model for modular contentCLOSED - CURRENTRELEASEipanova@redhat.com

Actions
Blocked by RPM Support - Task #3708: Add model for Modulemd-defaultsCLOSED - CURRENTRELEASEttereshc

Actions
Actions #1

Updated by ipanova@redhat.com almost 6 years ago

  • Blocked by Story #3206: Support for module metadata in pulp_rpm added
Actions #2

Updated by ttereshc almost 6 years ago

I guess we can leave a recommendation to republish repos where module metadata was found.
And how about s/parse/parse with libmodulemd/ ?

Actions #3

Updated by ttereshc almost 6 years ago

+ to your list: *unassociate yum_repo_metadata units

Actions #4

Updated by ipanova@redhat.com almost 6 years ago

  • Description updated (diff)
Actions #5

Updated by ipanova@redhat.com almost 6 years ago

  • Description updated (diff)
Actions #6

Updated by ttereshc almost 6 years ago

  • Description updated (diff)
  • Groomed changed from No to Yes
Actions #7

Updated by ttereshc almost 6 years ago

  • Blocked by Story #3657: As a user I can manage modulemd content added
Actions #8

Updated by ttereshc almost 6 years ago

  • Related to Task #3661: Add model for modular content added
Actions #9

Updated by ttereshc almost 6 years ago

  • Blocked by Story #3766: As a user I can manage modulemd-defaults content added
Actions #10

Updated by ttereshc almost 6 years ago

  • Related to deleted (Task #3661: Add model for modular content)
Actions #11

Updated by ttereshc almost 6 years ago

  • Blocked by Task #3661: Add model for modular content added
Actions #12

Updated by ttereshc almost 6 years ago

  • Blocked by Task #3708: Add model for Modulemd-defaults added
Actions #13

Updated by rchan almost 6 years ago

  • Sprint set to Sprint 39

This is blocked and the blocking pre-requisites are now correct. So this is lower priority than those dependent items.

Actions #15

Updated by rchan almost 6 years ago

  • Sprint/Milestone set to 2.17.0

Adding to 2.17.0 milestone. This is one of the required deliverables.

Actions #16

Updated by dkliban@redhat.com almost 6 years ago

  • Blocked by deleted (Story #3206: Support for module metadata in pulp_rpm)
Actions #17

Updated by dkliban@redhat.com almost 6 years ago

  • Sprint changed from Sprint 39 to Sprint 40
Actions #18

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
Actions #19

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from ASSIGNED to POST

Added by dkliban@redhat.com over 5 years ago

Revision 904c1995 | View on GitHub

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

Actions #20

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #21

Updated by ipanova@redhat.com over 5 years ago

  • Platform Release set to 2.17.0
Actions #22

Updated by ipanova@redhat.com over 5 years ago

  • Platform Release changed from 2.17.0 to master
Actions #23

Updated by ipanova@redhat.com over 5 years ago

  • Platform Release deleted (master)
Actions #24

Updated by ipanova@redhat.com over 5 years ago

  • Platform Release set to 2.17.0
Actions #26

Updated by ipanova@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5
Actions #27

Updated by ipanova@redhat.com over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #28

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added
Actions #29

Updated by ttereshc over 2 years ago

  • Sprint/Milestone deleted (2.17.0)

Also available in: Atom PDF