Add support/tests for alpine ranges
Closed this issue · 3 comments
pombredanne commented
Thee are supposed to be mostly the same as gentoo, but we need to validate this. Having a vers scheme would make a lot of sense too in anycase
This file by @fabled https://git.alpinelinux.org/apk-tools/tree/tests/version.data contains all version tests from apk such as:
1.0 < 1.0bc # invalid. do string sort
0.1.0_alpha = 0.1.0_alpha
0.1.0_alpha < 0.1.3_alpha
0.1.3_alpha > 0.1.0_alpha
We should validate we pass all these tests too.
TG1999 commented
The current gentoo version comparison fails for this expression. this needs to be fixed for alpine and gentoo as well
006 > 1.0.0
pombredanne commented
@TG1999 I think this is all merged now, correct?
TG1999 commented
Yes @pombredanne , we can close this now