已合并
update_gitmodules #39276
SCh_zx创建于 6月25日
update_gitmodules #39276
已合并
共 2 个文件变更+9-9
| @@ -4,7 +4,7 @@ | |||
| 4 | ignore = dirty | 4 | ignore = dirty |
| 5 | [submodule "third_party/googletest"] | 5 | [submodule "third_party/googletest"] |
| 6 | path = third_party/googletest | 6 | path = third_party/googletest |
| 7 | - url = https://gitee.com/mirrors/googletest.git | 7 | + 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/torchair | 9 | path = third_party/torchair/torchair |
| 10 | url = https://gitcode.com/ascend/torchair.git | 10 | url = https://gitcode.com/ascend/torchair.git |
| @@ -13,13 +13,13 @@ | |||
| 13 | url = https://gitcode.com/ascend/Tensorpipe.git | 13 | url = https://gitcode.com/ascend/Tensorpipe.git |
| 14 | [submodule "third_party/fmt"] | 14 | [submodule "third_party/fmt"] |
| 15 | path = third_party/fmt | 15 | path = third_party/fmt |
| 16 | - url = https://gitee.com/mirrors/fmt.git | 16 | + url = https://gitcode.com/GitHub_Trending/fm/fmt.git |
| 17 | [submodule "third_party/nlohmann"] | 17 | [submodule "third_party/nlohmann"] |
| 18 | path = third_party/nlohmann | 18 | path = third_party/nlohmann |
| 19 | - url = https://gitcode.com/GitHub_Trending/js/json | 19 | + 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-mlir | 21 | path = third_party/torch-mlir |
| 22 | - url = https://gitee.com/mirrors_llvm/torch-mlir.git | 22 | + url = https://gitcode.com/gh_mirrors/to/torch-mlir.git |
| 23 | update = none | 23 | update = none |
| 24 | [submodule "third_party/dvm/dvm"] | 24 | [submodule "third_party/dvm/dvm"] |
| 25 | path = third_party/dvm/dvm | 25 | 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 | 依赖的开源代码仓 | |
| 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 | 依赖的开源代码仓 | |
🔵 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 的当前状态)。