-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String integers in modulemd version are no longer accepted #2998
Comments
Well, let's start by filing an upstream issue with RockyLinux to let them know they ought to comply with the schema :) I'm not generally against merging this as a stopgap but if they can fix it quickly then everyone wins. |
I made a matching upstream bug report here |
Trivial fix, allows modulemd version data to be of type string if that string represents a valid integer, matching very basic regex. closes pulp#2998
Any hope in getting this merged? Since the update to pulp_rpm 3.19 we've been unable to sync Rocky 9 repos. |
I suppose so, no responses yet... |
Trivial fix, allows modulemd version data to be of type string if that string represents a valid integer, matching very basic regex. closes pulp#2998
Trivial fix, allows modulemd version data to be of type string if that string represents a valid integer, matching very basic regex. closes pulp#2998
Trivial fix, allows modulemd version data to be of type string if that string represents a valid integer, matching very basic regex. closes pulp#2998
Thank you for fixing it. Can you also release a new 3.19? |
Yes, it should happen today |
thank you for fixing it.. worked for us. |
Version
Pulpcore 3.21.5
Pulp RPM 3.19.0
Describe the bug
Since the removal of libmodulemd, the version field strictly requires an integer. Previously, strings that represented integers were accepted without issue.
To Reproduce
Rocky 9.1 appstream -
rockylinux.anexia.at/9.1/AppStream/x86_64/os/repodata/02fa9664-23dd-4215-bf82-c9c3bfb2c54d-MODULES.yaml.gz
has this issue. Attempting to sync the data will result in something like:Provided modular data is invalid:'["'9010020221119202858' is not of type 'integer'"]'
Expected behavior
No error. Sync completes
Additional context
Rocky 9.1 and 8.7 can be compared to see the change that has caused this issue. See:
and
The text was updated successfully, but these errors were encountered: