aboutcode-org / aboutcode-org/univers
Handle possible duplication of constraints in VersionRange
Đang mở
2-next
good first issue
- Ngôn ngữ chính
- Python
- Star
- 50
- Fork
- 29
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.