Project

Profile

Help

Story #3659

Add a migration for transition from basic to advanced modular support

Added by ipanova@redhat.com over 3 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 - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by RPM Support - Story #3766: As a user I can manage modulemd-defaults contentCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by RPM Support - Task #3661: Add model for modular contentCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by RPM Support - Task #3708: Add model for Modulemd-defaultsCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 904c1995 View on GitHub
Added by dkliban@redhat.com about 3 years ago

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

History

#1 Updated by ipanova@redhat.com over 3 years ago

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

#2 Updated by ttereshc over 3 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/ ?

#3 Updated by ttereshc over 3 years ago

+ to your list: *unassociate yum_repo_metadata units

#4 Updated by ipanova@redhat.com over 3 years ago

  • Description updated (diff)

#5 Updated by ipanova@redhat.com over 3 years ago

  • Description updated (diff)

#6 Updated by ttereshc over 3 years ago

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

#7 Updated by ttereshc over 3 years ago

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

#8 Updated by ttereshc over 3 years ago

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

#9 Updated by ttereshc over 3 years ago

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

#10 Updated by ttereshc over 3 years ago

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

#11 Updated by ttereshc over 3 years ago

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

#12 Updated by ttereshc over 3 years ago

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

#13 Updated by rchan over 3 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.

#15 Updated by rchan over 3 years ago

  • Sprint/Milestone set to 2.17.0

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

#16 Updated by dkliban@redhat.com over 3 years ago

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

#17 Updated by dkliban@redhat.com over 3 years ago

  • Sprint changed from Sprint 39 to Sprint 40

#18 Updated by dkliban@redhat.com over 3 years ago

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

#19 Updated by dkliban@redhat.com about 3 years ago

  • Status changed from ASSIGNED to POST

#20 Updated by dkliban@redhat.com about 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#21 Updated by ipanova@redhat.com about 3 years ago

  • Platform Release set to 2.17.0

#22 Updated by ipanova@redhat.com about 3 years ago

  • Platform Release changed from 2.17.0 to master

#23 Updated by ipanova@redhat.com about 3 years ago

  • Platform Release deleted (master)

#24 Updated by ipanova@redhat.com about 3 years ago

  • Platform Release set to 2.17.0

#26 Updated by ipanova@redhat.com about 3 years ago

  • Status changed from MODIFIED to 5

#27 Updated by ipanova@redhat.com about 3 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#28 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF