CycloneDX / CycloneDX/cyclonedx-python

extend project URLs -> external references

Đang mở
#800 3 bình luận 0 reaction 0 người được giao Được @arun2dot0 nhận Xem trên GitHub
enhancement good first issue hacktoberfest help wanted
Ngôn ngữ chính
Python
Star
390
Fork
98
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
2

Mô tả

## Is your feature request related to a problem? Please describe.

This tool detects project URLs and emits them in the SBOM results as "external references".
The URL types are detected based on patterns - see https://github.com/CycloneDX/cyclonedx-python/blob/721f12d1a5799e9766fd4da79f54fd11c5776824/cyclonedx_py/_internal/utils/cdx.py#L85-L104

it appears that PyPI also documented the way they detect URL types:

It would be great if the PyPI heuristics could be applied, too.

## Describe the solution you'd like

Have the heuristics from PyPI apply to URL type detections, so that emitted external references follow the de facto standards, too.

These heuristics work on the URL name, as well on the URL itself.

## Additional context

PyPI's type classification according to

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.