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
Greater-than comparison of an unknown version yields true #4329
Comments
I guess one could argue that there should be another |
I forgot to mention that the version I’m using right now is 0.48.0. |
This is a string comparison. I guess
Yeah, I agree. That's implemented for |
Oh, so it is, I totally forgot about that. |
It seems to do the right thing, thanks! And sorry for the noise. |
I think This won't work as expected ('“unknown” version comparisons should always be false') if the comparision was the other way round e.g.
No problem. Thanks for raising this issue. |
Yeah, I see it now: Line 442 in 646a073
Was there ever a discussion about such cases and whether |
Maybe a special |
Trying to build tracker-miners with some dependencies missing results in rather interesting errors. I’m missing libcue-devel in my Fedora installation, but the support for it is optional, depending on whether it was found and which version was found: https://gitlab.gnome.org/GNOME/tracker-miners/blob/f9e7de0fe0549b009defc68ba37ba2516a03f49c/meson.build#L317, however, the code ends up trying to include one of the headers anyway.
Adding a debug print for
libcue.version()
yields “unknown”, but then printinglibcue.version() >= '2.0.0'
results in “True”.The text was updated successfully, but these errors were encountered: