aboutcode-org / aboutcode-org/scancode-toolkit

Scan licenses of dependencies

Đang mở
#3,828 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
new feature
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

## Short Description
Detect licenses of dependencies too.

## Possible Labels

[dependencies](https://github.com/nexB/scancode-toolkit/labels/dependencies)
[improve-license-detection](https://github.com/nexB/scancode-toolkit/labels/improve-license-detection)

- new feature

## Select Category

- [x ] Enhancement
- [ ] Add License/Copyright
- [ ] Scan Feature
- [ ] Packaging
- [ ] Documentation
- [ ] Expand Support
- [ ] Other

## **Describe the Update**

ScanCode right now looks like it's only scanning for explicit copyright text or license texts in the existing code base. I would like to also be able to pick up licenses of dependencies, and set up flags and where the flagged dependencies have been used in the code base.

For example (this repo for inspiration: https://github.com/raimon49/pip-licenses):
- Set flag to detect GPL licenses
- Pick up all dependencies in my project that uses GPL licenses
- Then spot in my code base where this package was used so I can determine what to do with them etc.

## **How This Feature will help you/your organization**

Identify GPL packages used and where in the code based it was used, so we can detect how we want to handle them, to avoid issues with GPLs.

## **Possible Solution/Implementation Details**

## **Example/Links if Any**

## **Can you help with this Feature**

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.