aboutcode-org / aboutcode-org/scancode-toolkit
please add path scanned to JSON
Open
enhancement
GUI and outputs
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.