Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2020-03-04 Thread Florian Festi
Closed #715. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/715#event-3096720906___ Rpm-maint mailing list Rpm-maint@lists.rpm

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2020-03-04 Thread Florian Festi
As pointed out by @jasontibbitts we really don't want to go down this rabbit whole. I am closing this - even if this is not great. Sorry! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-manage

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-08-07 Thread Jason Tibbitts
Since what you really want is a significantly different total ordering, you really need a different set of binary relations. I certainly don't want to be the one to propose `<~`, `<=~, `>~`, and `>=~`. Plus, for completeness, I guess you'd need a comparison operator `=~`. That would all be...

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-06-03 Thread Igor Gnatenko
whoops, wrong ticlket. For this one is yes -- converting upstream dependency data into the RPM one... which works fine except for this small thingy. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-soft

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-06-03 Thread Igor Gnatenko
For this specific one is to be used in `%autosetup` and some more places in spec. Because default %name-%version doesn't work for pre-release packages. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-s

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-06-03 Thread Panu Matilainen
So what's the actual use-case here? Converting upstream dependency tracking data to rpm? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/715#issuecomment-498254307___

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-05-28 Thread Igor Gnatenko
@pmatilai yeah, this is somewhat similar. Unfortunately I don't know how we could nicely express both. @ffesti yeah, the only problem is that semver.org says you can have versions like `2.0.0beta` which would be translated into `2.0.0beta` in RPM. Not saying it is horrible or people sho

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-05-28 Thread Florian Festi
I guess there is no real way around using `Requires: (foo >= 1.0.0 with foo < 2.0.0~)`. Yes, this is kinda annoying. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/715#i

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-05-26 Thread Panu Matilainen
To rephrase a bit, I can see why you'd sometimes want 2.0.0~alpha to be considered 2.0.0, but also that in other cases not, and rpm cannot magically know which one you want for a particular case. It'd be nice if there was a way to explicitly express both cases. This sort of reminds me of this (

Re: [Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-05-26 Thread Panu Matilainen
Err, no. If its sorts lower than 2.0.0 then it must match the < 2.0.0 dependency, anything else would be a mess that nobody will understand. How exactly is this a problem for you? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on Git

[Rpm-maint] [rpm-software-management/rpm] Treat tilde versions as higher for purpose of dependency comparison (#715)

2019-05-26 Thread Igor Gnatenko
In Rust packaging we've found issue that we have `Requires: (foo >= 1.0.0 with foo < 2.0.0)` and package with version `2.0.0~alpha` is actually is matching this range. I think it should be treated for dependency check purpose. /cc @ffesti -- You are receiving this because you are subscribed t