aboutcode-org / aboutcode-org/vulnerablecode

Fix the sorting for all lists in UI, particularly version-based sorting

Aperta
#872 2 commenti 0 reazioni 1 assegnatario Rivendicata da @johnmhoran Vedi su GitHub
bug ui
Lingua principale
Python
Stelle
702
Fork
328
Merge medio
3g 8h
PR unite (30g)
3

Descrizione

We've addressed the sorting for many/most lists displayed in the UI. However, we've deferred fixing the sorting based on versions (e.g., purls) because of the challenges introduced by the inclusion of alpha and numerical characters, e.g.,

```
pkg:gem/bootstrap@4.1.2
pkg:gem/bootstrap-sass@3.0.1.0.rc
pkg:maven/org.apache.shenyu/shenyu-bootstrap@2.4.0
pkg:nuget/Bootstrap.Less@3.3.6-jQuery3
pkg:nuget/bootstrap@3.0.1
pkg:nuget/bootstrap.sass@4.0.0-alpha2
```

As a result, it's not unusual to see, e.g.,

```
foo.bar-1.1
foo.bar-1.10
foo.bar-1.11
foo.bar-1.2
foo.bar-1.3
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.