已合并
update_gitmodules #39276
SCh_zx创建于 6月25日
update_gitmodules #39276
已合并
SCh_zx创建于 6月25日
2 个文件变更+9-9
@@ -4,7 +4,7 @@
4 ignore = dirty4 ignore = dirty
5[submodule "third_party/googletest"]5[submodule "third_party/googletest"]
6 path = third_party/googletest6 path = third_party/googletest
7- url = https://gitee.com/mirrors/googletest.git7+ url = https://gitcode.com/GitHub_Trending/go/googletest.git
8[submodule "third_party/torchair/torchair"]8[submodule "third_party/torchair/torchair"]
9 path = third_party/torchair/torchair9 path = third_party/torchair/torchair
10 url = https://gitcode.com/ascend/torchair.git10 url = https://gitcode.com/ascend/torchair.git
@@ -13,13 +13,13 @@
13 url = https://gitcode.com/ascend/Tensorpipe.git13 url = https://gitcode.com/ascend/Tensorpipe.git
14[submodule "third_party/fmt"]14[submodule "third_party/fmt"]
15 path = third_party/fmt15 path = third_party/fmt
16- url = https://gitee.com/mirrors/fmt.git16+ url = https://gitcode.com/GitHub_Trending/fm/fmt.git
17[submodule "third_party/nlohmann"]17[submodule "third_party/nlohmann"]
18 path = third_party/nlohmann18 path = third_party/nlohmann
19- url = https://gitcode.com/GitHub_Trending/js/json19+ url = https://gitcode.com/GitHub_Trending/js/json.git
20[submodule "third_party/torch-mlir"]20[submodule "third_party/torch-mlir"]
21 path = third_party/torch-mlir21 path = third_party/torch-mlir
22- url = https://gitee.com/mirrors_llvm/torch-mlir.git22+ url = https://gitcode.com/gh_mirrors/to/torch-mlir.git
23 update = none23 update = none
24[submodule "third_party/dvm/dvm"]24[submodule "third_party/dvm/dvm"]
25 path = third_party/dvm/dvm25 path = third_party/dvm/dvm
@@ -74,12 +74,12 @@ torch_npu支持源码编译安装,在编译时会下载依赖第三方库并
74| 类型 | 开源代码地址 | 文件名 | 公网IP地址/公网URL地址/域名/邮箱地址 | 用途说明 |74| 类型 | 开源代码地址 | 文件名 | 公网IP地址/公网URL地址/域名/邮箱地址 | 用途说明 |
75|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|--------------------------------------------------------------------------------|--------------------------------|75|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|--------------------------------------------------------------------------------|--------------------------------|
76| 自研 | 不涉及 | .gitmodules | https://gitcode.com/ascend/op-plugin.git | 依赖的开源代码仓 |76| 自研 | 不涉及 | .gitmodules | https://gitcode.com/ascend/op-plugin.git | 依赖的开源代码仓 |
77-| 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/googletest.git | 依赖的开源代码仓 |77+| 自研 | 不涉及 | .gitmodules | https://gitcode.com/GitHub_Trending/go/googletest.git | 依赖的开源代码仓 |
78-| 自研 | 不涉及 | .gitmodules | https://gitee.com/ascend/torchair.git | 依赖的开源代码仓 |78+| 自研 | 不涉及 | .gitmodules | https://gitcode.com/ascend/torchair.git | 依赖的开源代码仓 |
79| 自研 | 不涉及 | .gitmodules | https://gitcode.com/ascend/Tensorpipe.git | 依赖的开源代码仓 |79| 自研 | 不涉及 | .gitmodules | https://gitcode.com/ascend/Tensorpipe.git | 依赖的开源代码仓 |
80-| 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/fmt.git | 依赖的开源代码仓 |80+| 自研 | 不涉及 | .gitmodules | https://gitcode.com/GitHub_Trending/fm/fmt.git | 依赖的开源代码仓 |
81-| 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors/nlohmann-json.git | 依赖的开源代码仓 |81+| 自研 | 不涉及 | .gitmodules | https://gitcode.com/GitHub_Trending/js/json.git | 依赖的开源代码仓 |
atomgit-bot
atomgit-botatomgit-bot6月25日

🔵 Low Priority

此 diff 将 SECURITYNOTE.md 中 nlohmann 条目的 URL 从 https://gitee.com/mirrors/nlohmann-json.git 更新为 https://gitcode.com/GitHub_Trending/js/json.git(第 81 行),但 .gitmodules 中该子模块的实际 URL 为 https://gitcode.com/GitHub_Trending/js/json(第 19 行,无 .git 后缀)。

SECURITYNOTE.md 作为项目的安全声明文档,其"公网地址声明"表格应准确反映项目实际使用的 URL。文档中的 .git 后缀与实际配置文件 .gitmodules 中的 URL 不一致。

失败模式:文档与配置不一致,可能导致安全审计时对实际使用的外部依赖地址产生混淆。虽然 git 对有无 .git 后缀的 URL 处理等价(均指向同一仓库),但从文档准确性角度应保持严格一致。

触发条件:任何人对比 .gitmodules 与 SECURITYNOTE.md 中的 nlohmann 条目。

建议:将 SECURITYNOTE.md 第 81 行的 nlohmann URL 末尾的 .git 去掉,使其与 .gitmodules 第 19 行完全一致。或者反过来,在 .gitmodules 第 19 行的 URL 末尾补充 .git(与文件中其他所有子模块 URL 保持一致)。推荐前者(修改 SECURITYNOTE.md 以匹配 .gitmodules 的当前状态)。

likedislike
82-| 自研 | 不涉及 | .gitmodules | https://gitee.com/mirrors_llvm/torch-mlir.git | 依赖的开源代码仓 |82+| 自研 | 不涉及 | .gitmodules | https://gitcode.com/gh_mirrors/to/torch-mlir.git | 依赖的开源代码仓 |
83| 自研 | 不涉及 | .gitmodules | https://gitcode.com/cann/runtime.git | 依赖的开源代码仓 |83| 自研 | 不涉及 | .gitmodules | https://gitcode.com/cann/runtime.git | 依赖的开源代码仓 |
84| 自研 | 不涉及 | .gitmodules | https://gitcode.com/cann/ge.git | 依赖的开源代码仓 |84| 自研 | 不涉及 | .gitmodules | https://gitcode.com/cann/ge.git | 依赖的开源代码仓 |
85| 自研 | 不涉及 | .gitmodules | https://gitcode.com/cann/graph-autofusion.git | 依赖的开源代码仓 | 85| 自研 | 不涉及 | .gitmodules | https://gitcode.com/cann/graph-autofusion.git | 依赖的开源代码仓 |