Project

Profile

Help

Story #3766

closed

As a user I can manage modulemd-defaults content

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

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

100%

Estimated time:
(Total: 0:00 h)
Platform Release:
2.17.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 40
Quarter:

Description

As a result of this story it will be possible to sync, upload, publish, copy and remove modulemd-defaults

Sync:
We will parse a compressed yaml doc file which might have 1 or more modulemd-defaults. We will not check for the presence of the modules in the destination repo

Publish:
We will successfully publish all modulemd-defaults, even those which are missing some module stream of profile( in the repo itself). DNF-like clients are expected to fail gracefully in this case.

Upload:
We will accept a compressed yaml doc file which might have 1 or more modulemd-defaults. We will not check for the presence of the modules in the destination repo
and/or
modulemd-defualts can be created/updated via api by providing module name, stream, profiles and its' yaml doc file
NOTE : no sanity check on the modules, its' available streams/profiles will be performed during defaults creation/update
NOTE : if there is already a default defined in a repo an update will occur by overriding current values with new ones.

Copy:
just modulemd-defaults are copied. If there are already some defaults defined in the destination repo - they will be overridden.

Remove:
just modulemd-defaults are removed

Module and defaults relationship:

when a module is coped - no defaults are carried over
when a module is removed - no defaults are removed. As a result there might be 'outdated; defaults but dnf-like clients should manage this situation

tldr - module and defaults do not depend on each other.


Sub-issues 3 (0 open3 closed)

Story #3863: As a user i can sync and remove modulemd-defaultsCLOSED - CURRENTRELEASEjortel@redhat.com

Actions
Story #3865: As a user i can copy modulemd-defaultsCLOSED - CURRENTRELEASEdaviddavis

Actions
Story #3869: As a user I can publish a repository with modulemd-defaults contentCLOSED - CURRENTRELEASEjortel@redhat.com

Actions

Related issues

Related to RPM Support - Story #3206: Support for module metadata in pulp_rpmCLOSED - CURRENTRELEASE

Actions
Blocks RPM Support - Story #3659: Add a migration for transition from basic to advanced modular supportCLOSED - CURRENTRELEASEdkliban@redhat.com

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

Actions

Also available in: Atom PDF