I created a pipeline that takes the JSON representation of the codebase and sends it to a server. I first create a project on my local instance of scanpipe using the scan_codebase pipeline, then send the JSON of that codebase to my server.
I see that the scan_codebase uses these scancode options:
"--copyright",
"--email",
"--info",
"--license",
"--license-text",
"--package",
"--url",
I would expect to be able to have the Resource fields added by these options when I get a JSON of my codebase. This is causing an issue where the task on the server fails because the Resources from the scan that is sent from my instance of scanpipe does not have the is_archive field. I think it would be useful to include fields like is_archive, is_binary, is_text, etc. in the scanpipe JSON results.
I created a pipeline that takes the JSON representation of the codebase and sends it to a server. I first create a project on my local instance of scanpipe using the
scan_codebasepipeline, then send the JSON of that codebase to my server.I see that the
scan_codebaseuses these scancode options:I would expect to be able to have the Resource fields added by these options when I get a JSON of my codebase. This is causing an issue where the task on the server fails because the Resources from the scan that is sent from my instance of scanpipe does not have the
is_archivefield. I think it would be useful to include fields likeis_archive,is_binary,is_text, etc. in the scanpipe JSON results.