Project

Profile

Help

Story #7806

closed

Support publish of v3 modulemd documents in Pulp 2.x

Added by rmcgover over 3 years ago. Updated almost 3 years ago.

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

0%

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

Description

In libmodulemd, it is planned to introduce a version 3 of modulemd documents which differ slightly from the current v2.

This is a request to have Pulp 2.x support upload and publishing of these documents within a yum repo, similarly as v2 documents can be uploaded and published today.

Must have

  • It must remain possible to upload & publish a YAML stream of modulemd v2 documents with identical behavior as seen today.
  • It must be possible to upload & publish a YAML stream of (modulemd/modulemd-stream) v3 documents, with same behavior as for v2 documents (i.e. uploaded YAML stream is stored, and reproduced verbatim - while concatenated with all others in the same repo - at publish time).

Nice to have

  • It would be nice if v3 documents are saved as "modulemd" units (i.e. not introducing a new type of unit).
  • It would be nice to avoid any changes to the unit key on "modulemd" units.

Not required

  • We don't require any kind of migration or upgrades between v2 and v3 document types.
  • We don't require support for the modulemd-packager document type.
  • We don't require support for storing both (v2 and v3) documents for the same module (NSVCA), across the entire Pulp installation.

Additional info

Most up-to-date info on modulemd v3 documents at time of writing was: https://github.com/fedora-modularity/libmodulemd/blob/b7bb222030b7c31359f8f7940d7540b644b019ab/yaml_specs/modulemd_stream_v3.yaml

This issue was written only to cover the use-cases relating to "publish modulemd documents to CDN". There may be other work required for modulemd v3 documents which is not described here.

Also available in: Atom PDF