Skip to content
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

Module metadata displays versions as strings, not integers #108

Open
nazunalika opened this issue Mar 7, 2023 · 2 comments
Open

Module metadata displays versions as strings, not integers #108

nazunalika opened this issue Mar 7, 2023 · 2 comments
Assignees
Labels
bug Something isn't working priority: high This issue or pull request is of high priority

Comments

@nazunalika
Copy link
Member

Describe The Bug

Module metadata produced erroneously produces a version as a string, not an integer which will cause issues with content management systems.

Reproduction Steps

  1. Sync content in pulp

Expected Behavior

Version should not be quoted as a string.

Version and Build Information

Current.

Additional context

https://bugs.rockylinux.org/view.php?id=2575

@nazunalika nazunalika added the bug Something isn't working label Mar 7, 2023
@nazunalika
Copy link
Member Author

Likely erroneous line:

Version string `yaml:"version,omitempty"`

YAML spec for modulemd states it as a 64-bit unsigned integer.

@mstg mstg added the priority: high This issue or pull request is of high priority label Apr 11, 2024
@mstg
Copy link
Member

mstg commented Apr 11, 2024

This would involve auto fixing existing metadata during first sync (post type change), but not super difficult I hope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high This issue or pull request is of high priority
Projects
None yet
Development

No branches or pull requests

3 participants