aboutcode-org / aboutcode-org/univers

Handle possible duplication of constraints in VersionRange

未關閉
#45 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
2-next good first issue
主要語言
Python
星號
50
分支
29
PR 合併指標
30 天內沒有已合併 PR

描述

Eliminate the possibility of constraints duplication in VersionRange and add some tests to validate the same.

```python
>>> from univers.version_range import NginxVersionRange
>>> range=NginxVersionRange.from_native("1.5.0+, 1.4.1+, 1.4.0+")
>>> str(range)
'vers:nginx/>=1.4.0|>=1.4.1|<1.5.0|<1.5.0|>=1.5.0'
```
Context: https://github.com/nexB/univers/pull/42#discussion_r824237012

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。