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

Version comparison and sorting #6

Open
wolfv opened this issue Nov 14, 2023 · 2 comments
Open

Version comparison and sorting #6

wolfv opened this issue Nov 14, 2023 · 2 comments

Comments

@wolfv
Copy link

wolfv commented Nov 14, 2023

Not sure if this would be out of scope, but version comparison & sorting could be nice if it was integrated here.

We've been using version_compare for our POC but maybe RPM has different semantics?

@dralley
Copy link
Owner

dralley commented Nov 14, 2023

See Package::evr() and the EVR struct:

pub struct EVR {

Version comparison and sorting should already be possible. Let me know if there's anything you need that's missing

@wolfv
Copy link
Author

wolfv commented Nov 14, 2023

Nice! Thank you, I'll try it out.

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

2 participants