Support scancode-toolkit v32.3.0 output format changes

Đang mở
#634 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

@prakhardixit9793 đang làm issue này rồi.

Từ ngày 30/10/2026.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu bằng cách so sánh đầu ra JSON của ScanCode Toolkit v32.3.0 với các bản nhập dữ liệu và chế độ xem Package Explorer. Theo dõi các trường dependency, đặc biệt là thuộc tính đã được đổi tên is_pinned, và xác minh rằng các giá trị được nhập được tải và hiển thị chính xác; kiểm tra xem việc đổi tên license-match cũng có cần được xử lý hay không.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

good first 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
Ngôn ngữ chính
TypeScript
Star
174
Fork
81
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aboutcode-org/scancode-workbench

Tất cả issue của aboutcode-org/scancode-workbench

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.