aboutcode-org / aboutcode-org/univers
Handle possible duplication of constraints in VersionRange
未关闭
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 还没有评估数据。