aboutcode-org / aboutcode-org/vulnerablecode

Best way to use univers to sort and compare Package versions

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

描述

This relates to work I'm doing for issue #1228.

For the past week or so I've been using several helper functions I created inside the `Package` class, together with a new property function I've added, to compare and sort `Package` versions using [univers ](https://github.com/nexB/univers) version classes -- needed to find the closest greater-than fixed by version and both the closest and the latest non-vulnerable versions.

I now understand that `univers` has built-in mapping that provides a far more straightforward (and no doubt less error-prone ;-) way to accomplish the same goals. I'm currently cleaning up my issue #1228 code (though with much more to do on that issue) so I can push that code and then explore using the built-in `univers` capabilities. If I have any questions related to the process, I'll post them here, and will also share here the results of my `univers` adventure.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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