konflux-ci / rpm-lockfile-prototype

GNU General Public License v3.0
3 stars 10 forks source link

Include modular metadata in the output #33

Closed lubomir closed 1 month ago

lubomir commented 1 month ago

If any RPM included in the lockfile is modular, the lockfile will also include information about where to obtain the required modular metadata.

The metadata is specified by url, repoida, size, checksum and also carries mdtype information.

The same format could be used for comps and updateinfo if needed.

Fixes: #24

lubomir commented 1 month ago

Update: mdtype is removed Since this is only meant to support module metadata, I wonder if it should be called module_metadata or something instead of the generic metadata.

hlin commented 1 month ago

Update: mdtype is removed Since this is only meant to support module metadata, I wonder if it should be called module_metadata or something instead of the generic metadata.

Without mdtype, module_metadata looks more meaningful IMO.

hlin commented 1 month ago

It can be merged IMO.