[Bug] Running scan on Dart package does not return any packages or dependencies
維護者通常 1 天內回覆
@keshav-space 已經在處理了。
開始於 2026年11月13日。
評估
這個 Issue 還沒有評估資料。
描述
Description
Seems like we have parser for pubspec.yml and pubspec.lock here https://github.com/aboutcode-org/scancode-toolkit/blob/develop/src/packagedcode/pubspec.py but we're not getting any packages in scan result.
How To Reproduce
Download https://pub.dev/api/archives/json_serializable-6.15.2.tar.gz and run:
tar -xzf json_serializable-6.15.2.tar.gz --one-top-level
scancode -clpeui -n 2 --json-pp dart.json json_serializable-6.15.2/
Below is snippet of scan result with empty packages and dependencies.
{
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "33.0.0rc1",
"options": {
"input": [
"json_serializable-6.15.2/"
],
"--copyright": true,
"--email": true,
"--info": true,
"--json-pp": "dart.json",
"--license": true,
"--package": true,
"--processes": "2",
"--url": true
},
"notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
"start_timestamp": "2026-11-13T123542.715517",
"end_timestamp": "2026-11-13T123606.762140",
"output_format_version": "4.1.0",
"duration": 24.04663896560669,
"message": null,
"errors": [],
"warnings": [],
"extra_data": {
"system_environment": {
"operating_system": "linux",
"cpu_architecture": "64",
"platform": "Linux-6.8.0-138-generic-x86_64-with-glibc2.35",
"platform_version": "#138~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 7 13:43:15 UTC ",
"python_version": "3.10.13 (main, Mar 5 2024, 10:45:04) [GCC 11.4.0]"
},
"spdx_license_list_version": "3.28",
"files_count": 150
}
}
],
"packages": [],
"dependencies": [],
...
}
- 主要語言
- Python
- 星號
- 2.7k
- 分支
- 871
- 平均合併
- 1 天 10 小時
- 30 天內合併 PR
- 3
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
aboutcode-org/scancode-toolkit 的其他 Issue
-
yarn.lock v1 with a scoped alias of an unscoped package yields no packages and no error可能已有人在做 @Shubham-dev-stack 於 7 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 74/100
aboutcode-org/scancode-toolkit#5466 ·
維護者通常 1 天內回覆
-
package-lock.json dependencies report file_references as a list inside a list可能已有人在做 @Anbarasu2410 於 10 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 82/100
aboutcode-org/scancode-toolkit#5449 · 4 則留言 ·
維護者通常 1 天內回覆
-
scancode aborts when encountering a broken RPM archive可能已有人在做 @Ashutosh-Panda2004 於 14 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 62/100
aboutcode-org/scancode-toolkit#5407 · 3 則留言 ·
維護者通常 1 天內回覆
-
Four silent bugs: IsRequiredPhrase.license_expression returns None, find_in_path ignores later PATH changes, duplicate dict keys override license mappings可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug
難度 2/5 半天 新手友好度 65/100
aboutcode-org/scancode-toolkit#5405 · 1 則留言 ·
維護者通常 1 天內回覆
-
parse_maintainer_name_email returns empty name and wrong email when string has "@" but no angle brackets可能已有人在做 @RohitSutar1823 於 15 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 84/100
aboutcode-org/scancode-toolkit#5402 ·
維護者通常 1 天內回覆
查看 aboutcode-org/scancode-toolkit 的全部 Issue
相似的 Issue
-
Internal Error未關閉bug
難度 2/5 1-3 小時 新手友好度 66/100
frappe/frappe_docker#2071 ·
維護者通常 1 天內回覆
-
bug python
難度 2/5 1-3 小時 新手友好度 76/100
traceloop/openllmetry#4717 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
The-Pocket/PocketFlow#161 ·
-
comp/desktop P2 type/bug
難度 2/5 1-3 小時 新手友好度 78/100
NousResearch/hermes-agent#157702 ·
維護者通常 1 天內回覆
-
scibench_physics / scibench_chemistry: a correct answer scores 0 when the unit has a power of ten可能已有人在做 @BahaaMattar 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
EvolvingLMMs-Lab/lmms-eval#1699 ·
維護者通常 1 天內回覆