aboutcode-org / aboutcode-org/univers

Add major version property method to all univers versions that don't already have this

オープン
#114 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
3-next enhancement
主要言語
Python
スター
50
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

説明

In connection with work on a [VulnerableCode issue ](https://github.com/nexB/vulnerablecode/issues/1228) involving affected vs. fixed package versions, I realized that we need to identify and compare the respective major versions of a wide range of package types, namespaces etc.

Some univers versions already have property methods for major, minor and patch (e.g., `SemverVersion` and `ConanVersion`) while most others (e.g., `MavenVersion`, which inherits from `Version`) do not. It would be useful to add at least a major version property method (or equivalent approach) to the `Version` class to facilitate the sorts of major version comparisons mentioned above.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。