Arx / app /test /version-pairs.json
umer-wasim's picture
Offline vulnerability matching: inventory in collectors, signed OSV/NVD/KEV/EPSS bundle builder, matcher in the app, tests
77f05d7 verified
Raw History Blame Contribute Delete
1.56 kB
{
"_comment": "Expected ordering produced by real dpkg --compare-versions (Ubuntu 24.04) and rpm.vercmp (Fedora 42), 2026-10-08: [a, b, dpkg, rpm]",
"pairs": [
[
"1.0",
"1.0-1",
-1,
-1
],
[
"1.0-1",
"1.0-2",
-1,
-1
],
[
"1:1.0",
"2.0",
1,
1
],
[
"1.0~rc1",
"1.0",
-1,
-1
],
[
"1.0~rc1-1",
"1.0-1",
-1,
-1
],
[
"3.0.13-0ubuntu3.4",
"3.0.13-0ubuntu3.10",
-1,
-1
],
[
"3.0.13-0ubuntu3.4",
"3.0.13-0ubuntu3.4+esm1",
-1,
-1
],
[
"2.39-0ubuntu8.3",
"2.39-0ubuntu8",
1,
1
],
[
"1.2.3a",
"1.2.3",
1,
1
],
[
"1.2.3a",
"1.2.3b",
-1,
-1
],
[
"1.2.3+dfsg-1",
"1.2.3-1",
1,
1
],
[
"148.0.7778.215-1~deb12u1",
"148.0.7778.215-1",
-1,
-1
],
[
"7.88.1-10+deb12u8",
"7.88.1-10+deb12u12",
-1,
-1
],
[
"2:9.2.390-1.fc42",
"2:9.2.390-1.fc42",
0,
0
],
[
"0:1.10.2-2.fc42",
"1.10.2-1.fc42",
1,
1
],
[
"1.21.3-7.fc42",
"1.21.3-10.fc42",
-1,
-1
],
[
"1:3.2.6-4.fc42",
"1:3.2.6-4.fc42.1",
-1,
-1
],
[
"5.14.0-427.13.1.el9_4",
"5.14.0-427.13.1.el9_4.x",
-1,
-1
],
[
"6.12.0-124.56.5.el10_1",
"6.12.0-124.8.1.el10_0",
1,
1
],
[
"1.0",
"1.0.0",
-1,
-1
],
[
"1.0.a",
"1.0.1",
1,
-1
],
[
"2.4.57-5.el9_4",
"2.4.57-11.el9_4.1",
-1,
-1
],
[
"1.0^git1-1",
"1.0-1",
1,
1
],
[
"1.0~beta-1",
"1.0-1",
-1,
-1
]
]
}