View Issue Details

IDProjectCategoryView StatusLast Update
0002575Rocky-Linux-9Packagespublic2023-03-07 11:18
Reporteralex welsh Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0002575: modulemd versions are string, not int
DescriptionThe version field in a modulemd file should be an integer, it is currently a string. (see https://github.com/fedora-modularity/libmodulemd/blob/main/yaml_specs/modulemd_stream_v2.yaml#L65)
This can cause issues with authentication: https://github.com/pulp/pulp_rpm/issues/2998
Steps To ReproduceThe problem can be seen with:
curl -fsSL rockylinux.anexia.at/9.1/devel/x86_64/os/repodata/8d64e94b-4408-4f2a-a77b-3aae4d93ed8f-MODULES.yaml.gz | gzip -d | grep version
or
curl -fsSL rockylinux.anexia.at/9.1/devel/x86_64/os/repodata/8d64e94b-4408-4f2a-a77b-3aae4d93ed8f-MODULES.yaml.gz | gzip -d | grep version

Older versions do not have this problem e.g.
curl -fsSL rockylinux.anexia.at/8.7/AppStream/x86_64/os/repodata/01fa634a16e45ab9aa2894048a90689edf293648226e7c0783dc926b16e796b9-modules.yaml.gz | gzip -d | grep version:| head

The new version information is surrounded by quotes, making it a string.
TagsNo tags attached.

Activities

alex welsh

alex welsh

2023-03-07 11:18

reporter   ~0002707

Typo in Steps To Reproduce. The second command should be
curl -fsSL rockylinux.anexia.at/9.1/AppStream/x86_64/os/repodata/02fa9664-23dd-4215-bf82-c9c3bfb2c54d-MODULES.yaml.gz | gzip -d | grep version

Issue History

Date Modified Username Field Change
2023-03-07 10:58 alex welsh New Issue
2023-03-07 11:18 alex welsh Note Added: 0002707