Skip to content

Support scancode-toolkit v32.3.0 output format changes #634

@AyanSinhaMahapatra

Description

@AyanSinhaMahapatra

Description

Please leave a brief discription of the bug or feature request:

See the output format changes in https://github.com/aboutcode-org/scancode-toolkit/releases/tag/v32.3.0
scancode-workbench needs to support the attirbute updates.

Changes in Output Data Structure:
The data structure of the JSON output has changed for: - dependencies at file level package_data, and at top-level. - license matches at file level or unique codebase level license detections Note that the change is a modification to the JSON output, so we have a major version bump 3.2.0 to 4.0.0:
Dependency attribute is_resolved renamed to is_pinned
LicenseMatch attribute spdx_license_expression renamed to license_expression_spdx

These updates are not causing any issues atm, the scan loads allright and does not show any errors/warnings.
But we need to update the Package Explorer view and the data imports to correctly load and display the info. Currently is_resolved is always shown as NULL. The license match table doesn't seem to be affected (?)

System configuration

For bug reports, it really helps us to know:

  • What OS are you running on? (Windows/MacOS/Linux) any
  • What version of scancode-workbench are you running on? 4.0.3
  • What version of scancode-toolkit was used to generate the scan file? v32.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions