Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Incorrect license detection for apache-2.0

未关闭
#5,297 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 3 天内回复

@hesa 已经在做这个了。

开始于 2026年9月3日。

评估

难度
3/5
预计耗时
半天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
tooling

调研方向

使用 scan_nix_package pipeline 在 pkg:nix/nixpkgs/[email protected]?out=debug&system=x86_64-linux 上复现该问题,并验证它当前解析为 (mit AND apache-2.0) AND openssl-ssleay。报告未提供文件名或测试名称,因此首先定位该 pipeline 的入口点,然后定位此扫描流程中 Apache 许可证检测规则的路径。完成标准是重新运行相同的输入并看到结果为 apache-2.0;如果项目的测试支持这种情况,还需要为其添加或更新回归测试或 fixture。

由索引模型根据 Issue 内容生成。

描述

bug new-updated-license-rule
Description

This is a pure apache-2.0 license notice:

Image

However, it's been detected as (mit AND apache-2.0) AND openssl-ssleay which is incorrect

Image
How To Reproduce

Running scancode.io scan using the scan_nix_package pipeline (not yet in the main branch) on pkg:nix/nixpkgs/[email protected]?out=debug&system=x86_64-linux

主要语言
Python
星标
2.7k
派生
831
平均合并
3 天 4 小时
30 天内合并 PR
7

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aboutcode-org/scancode-toolkit 的其他 Issue

查看 aboutcode-org/scancode-toolkit 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。