Some scancode reports are big (see below) and takes time to load. For every inclusion/exclusion or hide we do this loading needs \
to be executed. If we add an interactive mode this can be fixed.
Requirements
should be possible to create a config file (just as when
inclusion/exclusion.. was done from command line)
conclusion file (with arguments) should be created (just as when
inclusion/exclusion.. was done from command line)
Syntax proposal
[ef file-expr] [exclude-file file-expr] - adds an exclusion of file(s) matching file-expr
[if file-expr] [include-file file-expr] - adds an inclusion of file(s) matching file-expr
[ef license-expr] [exclude-license license-expr] - adds an exclusion of license(s) matching license-expr
[if license-expr] [include-license license-expr] - adds an inclusion of license(s) matching license-expr
Note: regarding size, a scan of Google's grpc is almost 1 GB and more than 1/2 M lines of JSON, are produced by Scancode. On my computer loading this with jq (time jq . grpc-scan.json > /dev/null) takes more than 20 seconds.
Some scancode reports are big (see below) and takes time to load. For every inclusion/exclusion or hide we do this loading needs \ to be executed. If we add an interactive mode this can be fixed.
Requirements
should be possible to create a config file (just as when inclusion/exclusion.. was done from command line)
conclusion file (with arguments) should be created (just as when inclusion/exclusion.. was done from command line)
Syntax proposal
[
ef file-expr
] [exclude-file file-expr
] - adds an exclusion of file(s) matching file-expr[
if file-expr
] [include-file file-expr
] - adds an inclusion of file(s) matching file-expr[
ef license-expr
] [exclude-license license-expr
] - adds an exclusion of license(s) matching license-expr[
if license-expr
] [include-license license-expr
] - adds an inclusion of license(s) matching license-expr[
hf file-expr
] [hide-file file-expr
] - hides file(s) matching file-expr (filter mode only)[
hol license-expr
] [include-license license-expr
] - hides license(s) matching license-expr (filter mode only)Note: regarding size, a scan of Google's grpc is almost 1 GB and more than 1/2 M lines of JSON, are produced by Scancode. On my computer loading this with jq (
time jq . grpc-scan.json > /dev/null
) takes more than 20 seconds.