aboutcode-org / aboutcode-org/scancode-toolkit

please add path scanned to JSON

Đang mở
#747 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement GUI and outputs
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ả

When I am scanning a directory it would be very useful if the scanned path would be available in the JSON. For example if I would do this:

./scancode --full-root -f json-pp -n 4 ~/tmp/linux-4.10.1/ > /tmp/scancode.json

I would like to have the scanned path (expanded) available in the JSON in "scancode_options", as I would want to be able to easily cut this path from all of the file names in the JSON (so I have relative paths). The standard option (when not using --full-root) is too aggressive pruning paths.

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.