aboutcode-org / aboutcode-org/scancode-toolkit

post-process: split scancode JSON result (or other output) into multiple files by leading path or number of directory components.

Đang mở
#3,600 2 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

Sometimes I get very large scancode result files (in JSON) where it would be a lot easier to split into more logical components. A feature that would allow me import a result file and then write multiple result files (each with a subset of the results) could be useful.

As an example, say I have a file that has scanned files in directories:

```
a/
b/
c/
```

and that all of the results are in a single result file but that I would want to split the data in three different result files.

## Possible Labels

- new feature

## Select Category

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

## **Describe the Update**

Splitting a scancode result file into multiple files.

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

It allows me to work around suboptimal choices others have made.

## **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.