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

[Issue] We currently don't allow specrevs or prerelease identifiers in our PackageVersionReq #390

Open
mrcjkb opened this issue Feb 3, 2025 · 0 comments

Comments

@mrcjkb
Copy link
Member

mrcjkb commented Feb 3, 2025

Damn... with arbitrary numbers of digits allowed in version requirements (e.g., > 1-1, < 1.2.0.10.15.200.1.0) - which is what you'll need if you want to install the latest lua-cjson "version", this is going to be a huge PITA.

Our current implementation removes all specrevs by splitting on -.
This also removes potential prerelease identifiers.

Originally posted by @mrcjkb in #387

For example, lua-cjson 2.1.0 is 7 years old as of writing.
The latest version is 2.1.0.10-1 (parsed as semver 2.1.0-10-1 by rocks).
We have no way to install that version using the CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant