On Thu, Aug 01, 2019 at 10:16:40AM -0700, Adam Williamson wrote:
Hmm. I never really chipped into the ~ discussion, but it just
occurred
to me it intersects with a discussion I care quite a lot about: RPM
version comparison. Especially RPM version comparison when all you have
to deal with is a string that represents an RPM N(E)VR(A) somehow
(that's 'name', 'epoch', 'version', 'release',
'arch').
I think we should do away with NEVRA comparison entirely and just use "R",
which would be an integer which would increase with each git commit and
never reset. Third party repos which want to override the base could use
modules to do so. (So it'd become NMRA.) There would be no need for
complicated parsing or ordering logic, and we wouldn't need to care what the
upstream scheme is. Upstream could use rainbow color order and everything
would be fine. Plus, we could easily decide that _we_ need to go back to an
older version without introducing epoch madness.
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader