Fix parsing of Maven versions
What does this MR do?
Fix parsing of Maven versions.
- RELEASE is the same as FINAL.
- Pre-release tokens made of multiple characters like
alpha
might be followed by anything except letters. Examples: alpha1 alpha-1 alpha.1 alpha-a - However, aliases made of a single character must be followed by a number. Examples: a1 b2 m3
The regular expressions have moved back to the parse function.
Discrepancies b/w this branch of semver_dialects and vrange are listed in maven.yaml. They all seem to be bugs in vrange. The code used to generated the YAML file come from Draft: Compare to vrange (!66 - closed).
What are the relevant issue numbers?
gitlab-org/gitlab#386070 (comment 1821312900)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for this project, if necessary -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau