libversion icon indicating copy to clipboard operation
libversion copied to clipboard

Implement flags for separator special handling

Open AMDmi3 opened this issue 6 years ago • 0 comments

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 flags for supporting these, which may extend libversion usefulness and even allow to tune it to be completely compatible to e.g. Debian rules (#9).

Additionally consider:

  • Handling separators as full-fledged version components, which would allow handling e.g ~~ properly.
  • Handling invisible pre/post-release modifiers (may be useful for Repology).

AMDmi3 avatar Dec 31 '19 01:12 AMDmi3