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 摘要。