aboutcode-org / aboutcode-org/vulnerablecode

Best way to use univers to sort and compare Package versions

Abierto
#1,265 3 comentarios 0 reacciones 1 asignado Reclamado por @johnmhoran Ver en GitHub
enhancement ui
Lenguaje dominante
Python
Estrellas
702
Forks
328
Merge medio
3 d 8 h
PR fusionados (30 d)
3

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.