Commit ecf4c60
authored
fix: also compare PURL when sorting inventories (#1871)
#1865
Some inventories may have the same name and version but refer to
different packages (e.g. Maven packages with the same artifact IDs).
They may be considered as the same with the existing compare function
and deduped during scanning. This PR adds PURL comparison so that these
packages are not deduped unexpectedly.1 parent 0e247a2 commit ecf4c60
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
0 commit comments