libversion
libversion copied to clipboard
Advanced version string comparison library
Inmemory sort to start with, support -k, -r options + options for basic linversion flags
### Problem description The C library `libversion` is installed as the following: 1. `C:\Program Files\libversion\lib\libversion.lib` - the import library for load-time dynamic linking of the DLL. However, the DLL itself...
It's sometimes needed to store versions in hashmaps, or use hash join/hash aggregate in databases, so we need a method which returns hash value of version string. Needless to say,...
Some version comparison schemes have special meaning for certain version separators, such as pre-release for tilda and post-release for plus (Debian), or pre-release for minus (full SemVer). We may introduce...
From libversion point of view, `1.4rc2` != `1.4.0rc2`, while from human point of view it's probably the same thing. Not sure how to fix that yet.
E.g. using Gentoo or Arch or Debian algorithm
Just some things I noticed while implementing a pure ruby fallback for ruby-libversion. The errata one is self-evident, the letter suffix one I'm adding because I spent a good few...