aboutcode-org / aboutcode-org/vulnerablecode

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

Open
#872 2 comments 0 reactions 1 assignee Claimed by @johnmhoran View on GitHub
bug ui
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.