aboutcode-org / aboutcode-org/scancode-workbench
Support scancode-toolkit v32.3.0 output format changes
- 主要语言
- TypeScript
- 星标
- 173
- 派生
- 81
- PR 合并指标
- 30 天内没有已合并 PR
描述
### 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
贡献指南
调研方向
Start by comparing the ScanCode Toolkit v32.3.0 JSON output with the data imports and Package Explorer view. Trace the dependency fields, especially the renamed is_pinned attribute, and verify that imported values load and display correctly; check whether the license-match rename also needs handling.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100