Support scancode-toolkit v32.3.0 output format changes
@prakhardixit9793 已经在做这个了。
开始于 2026年10月30日。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- desktop
调研方向
首先将 ScanCode Toolkit v32.3.0 的 JSON 输出与数据导入和 Package Explorer 视图进行比较。跟踪依赖项字段,尤其是重命名后的 is_pinned 属性,并验证导入的值是否能够正确加载和显示;检查是否还需要处理 license-match 的重命名。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 174
- 派生
- 81
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aboutcode-org/scancode-workbench 的其他 Issue
-
reference scancode.io in README prominently可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1 小时以内 新手友好度 35/100
aboutcode-org/scancode-workbench#639 · 4 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
aboutcode-org/scancode-workbench#635 · 4 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
aboutcode-org/scancode-workbench#632 · 5 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
-
nice to have
难度 4/5 3-5 天 新手友好度 25/100
aboutcode-org/scancode-workbench#608 · 1 条评论 ·
查看 aboutcode-org/scancode-workbench 的全部 Issue
相似的 Issue
-
docker infra P1 security size:S
难度 2/5 1-3 小时 新手友好度 68/100
josephfung/curia#2408 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 65/100
ehmpathy/rhachet-roles-ehmpathy#1231 ·
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 半天 新手友好度 70/100
danielw-sudo/agentuto#32 ·
维护者通常 1 天内回复
-
type:docs
难度 2/5 1-3 小时 新手友好度 65/100
nightgauge/nightgauge#2836 ·
维护者通常 1 天内回复