[Rpm-maint] [rpm-software-management/rpm] version comparison with epoch does not work as expected (#450)

Jeff Johnson notifications at github.com
Thu Jun 21 14:33:19 UTC 2018


Lets at least get the facts straight.

Any comparison system that permits missing values has to supply a default value when a value is missing.

There are 2 obvious defaults for a missing epoch in a comparison:
1) use the same, known value, when comparing a missing epoch with a known epoch. This is equivalent to ignoring epochs when missing.
2) make a missing epoch equivalent to 0

Either solution "works" and gives well defined results to EVR comparison.

The change was made to treat a missing epoch as 0 was made to simplify explanations demanded by users incapable of determining the meaning of "same" but able to comprehend "zero".

-- 
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/450#issuecomment-399124954
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180621/5a48563a/attachment.html>


More information about the Rpm-maint mailing list