Project

Profile

Help

Story #3659

Add a migration for transition from basic to advanced modular support

Added by ipanova@redhat.com about 1 year ago. Updated 2 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
% Done:

100%

Platform Release:
2.17.0
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 40

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 content CLOSED - CURRENTRELEASE Actions
Blocked by RPM Support - Story #3766: As a user I can manage modulemd-defaults content CLOSED - CURRENTRELEASE Actions
Blocked by RPM Support - Task #3661: Add model for modular content CLOSED - CURRENTRELEASE Actions
Blocked by RPM Support - Task #3708: Add model for Modulemd-defaults CLOSED - CURRENTRELEASE Actions

Associated revisions

Revision 904c1995 View on GitHub
Added by dkliban@redhat.com 11 months 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 about 1 year ago

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

#2 Updated by ttereshc about 1 year 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 about 1 year ago

+ to your list: *unassociate yum_repo_metadata units

#4 Updated by ipanova@redhat.com about 1 year ago

  • Description updated (diff)

#5 Updated by ipanova@redhat.com about 1 year ago

  • Description updated (diff)

#6 Updated by ttereshc about 1 year ago

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

#7 Updated by ttereshc 12 months ago

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

#8 Updated by ttereshc 12 months ago

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

#9 Updated by ttereshc 12 months ago

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

#10 Updated by ttereshc 12 months ago

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

#11 Updated by ttereshc 12 months ago

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

#12 Updated by ttereshc 12 months ago

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

#13 Updated by rchan 12 months 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 12 months 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 12 months ago

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

#17 Updated by dkliban@redhat.com 11 months ago

  • Sprint changed from Sprint 39 to Sprint 40

#18 Updated by dkliban@redhat.com 11 months ago

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

#19 Updated by dkliban@redhat.com 11 months ago

  • Status changed from ASSIGNED to POST

#20 Updated by dkliban@redhat.com 11 months ago

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

#21 Updated by ipanova@redhat.com 11 months ago

  • Platform Release set to 2.17.0

#22 Updated by ipanova@redhat.com 11 months ago

  • Platform Release changed from 2.17.0 to master

#23 Updated by ipanova@redhat.com 11 months ago

  • Platform Release deleted (master)

#24 Updated by ipanova@redhat.com 11 months ago

  • Platform Release set to 2.17.0

#25 Updated by daviddavis 11 months ago

  • Smash Test set to 1123

#26 Updated by ipanova@redhat.com 10 months ago

  • Status changed from MODIFIED to ON_QA

#27 Updated by ipanova@redhat.com 10 months ago

  • Status changed from ON_QA to CLOSED - CURRENTRELEASE

#28 Updated by bmbouter 2 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF