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

Add support for RPM compatible version compare #108

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dcbaker
Copy link
Collaborator

@dcbaker dcbaker commented Sep 27, 2024

I have a library that implements RPM compatible version comparisons, which I had written for use in two different previous projects (a pkg-config library I had been considering and a C++ implementation of Meson). The library itself is pretty simple, but not having another implementation of RPM-compatible version compare seems very desirable to me.

We would need to have better cmake support for fetch content in rpm-version, and we would need to wire this into the CMake build. which leads me to the other question I have, do we want to allow building without rpm-version support? I've currently wired it up as optional, and I see value in that since some people may not care about rpm compatible version comparisons and it is one less dependency. On the other hand it simplifies our process a lot of we can just assume there is rpm support.

TODO: needs some tests
TODO: rpm-version cmake support needs to land (dcbaker/rpm-version#8)

@dcbaker dcbaker changed the title WIP: add support for RPM compatible version compare Add support for RPM compatible version compare Sep 27, 2024
@dcbaker dcbaker marked this pull request as draft September 27, 2024 21:18
This uses a library that I'd written for another project that implements
RPM compatible version comparisons.

TODO: needs some tests
TODO: rpm-version cmake support needs to land
@dcbaker dcbaker force-pushed the submit/rpm-compatible-version branch from 0cee50e to 51e60f9 Compare September 27, 2024 21:18
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

Successfully merging this pull request may close these issues.

1 participant