aboutcode-org / aboutcode-org/scancode-toolkit

please add path scanned to JSON

未關閉
#747 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement GUI and outputs
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。