Ensure we detect Apache license notice
维护者通常 1 天内回复
@Verkan39 已经在做这个了。
开始于 2026年11月6日。
评估
调研方向
Start by examining how ScanCode detects Apache license notices and how its tests cover license text matching; the issue does not name files or tests. Reproduce the provided LICENSE example and determine why its two Apache sections should be recognized as one license. Done means the scanner reports a single Apache License 2.0 result for this example.
由索引模型根据 Issue 内容生成。
描述
See https://github.com/NuGuardAI/nuguard/blob/develop/LICENSE
It has two apache parts. We should detect a single license.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Copyright 2026 NuGuard AI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- 主要语言
- 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 于 6 天前认领。 未关闭
难度 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 天内回复