Pull Request已成功合入, 合并人@CANN-robot
(感谢 Li-Jian 的贡献)以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入
| Module List | Reviewers | Committers |
|---|---|---|
| repo-cann/asc-devkit | N/A | wqtshg_wt, yangbinhua, chenyiyuan, zhuliangying, bluesky901 |


🔵 source code change are detected, tasks labels is removed in this pull request!


compile


流水线任务触发成功 [流水线指导]
任务链接 [235f8082bb6042aeba7c147ad66cc1a1]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| API_Check | ✅ SUCCESS | >>>>> | |
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| UT_Test_3 | ✅ SUCCESS | ||
| UT_Test_2 | ✅ SUCCESS | ||
| UT_Test_1 | ✅ SUCCESS | ||
| UT_Test | ✅ SUCCESS | ||
| UT_Test_reprot | ✅ SUCCESS |
[2026-02-02 10:30:59] CI执行结束


问题/功能描述
本次PR旨在更新开源许可证扫描工具的匹配规则,以提升其通用性并满足特定的开源合规要求。具体而言,移除了原有许可证文本模板中一条包含特定年份和公司的版权声明行,从而放宽匹配条件,使工具能够识别更广泛的符合“CANN Open Software License Agreement Version 2.0”条款的文件,避免因缺少该特定声明而产生误判。
修改方案描述
修改方案聚焦于OAT.xml配置文件的许可证匹配器定义。核心操作是删除了“CANN License”许可证文本模板中的“* Copyright (c) 2025 Huawei Technologies Co., Ltd.”这一行。此改动不涉及任何功能代码逻辑,仅调整了静态的匹配模板,使得后续扫描不再强制要求被检查文件包含该特定版权声明,从而扩展了匹配范围。


/check-pr


The following labels are not ready.
lgtm: Please wait for reviewers to review the code.
approved: Please wait for committers to review the code.


compile


流水线任务触发成功 [流水线指导]
任务链接 [fb4590e990ca4bf28fafc92f78bb9011]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| API_Check | ✅ SUCCESS | >>>>> | |
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| UT_Test_3 | ✅ SUCCESS | ||
| UT_Test_2 | ✅ SUCCESS | ||
| UT_Test_1 | ✅ SUCCESS | ||
| UT_Test | ✅ SUCCESS | ||
| UT_Test_reprot | ✅ SUCCESS |
[2026-02-02 10:51:35] CI执行结束


/approve


Review Guide
This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: shi_nanxiang.
Reviewers who wrote a comment of /lgtm are: YeZZzzz1, shi_nanxiang.


描述
处理copy right校验问题,避免固定日志导致校验失败
关联的Issue
https://gitcode.com/cann/asc-devkit/issues/64
测试
NA
文档更新
类型标签