Skip to content

JSON results created from a project does not contain all scancode fields #75

Description

@JonoYang

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions