aboutcode-org / aboutcode-org/vulnerablecode

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

未关闭
#872 2 条评论 0 个 reaction 已指派 1 人 已被 @johnmhoran 认领 在 GitHub 查看
bug ui
主要语言
Python
星标
702
派生
328
平均合并
3 天 8 小时
30 天内合并 PR
3

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。