aboutcode-org / aboutcode-org/scancode-toolkit

please add path scanned to JSON

Aperta
#747 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement GUI and outputs
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.