From 29d53945bdde0c70c6571cde2127939136a67964 Mon Sep 17 00:00:00 2001 From: Rui Yang Date: Fri, 11 Jul 2025 22:32:14 +0800 Subject: [PATCH 1/2] Remove Huawei mirror go proxy source address --- src/recipe/lang/Go.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/recipe/lang/Go.c b/src/recipe/lang/Go.c index a642ae1f..74ae7f59 100644 --- a/src/recipe/lang/Go.c +++ b/src/recipe/lang/Go.c @@ -39,7 +39,6 @@ static Source_t pl_go_sources[] = {&pl_go_upstream, "https://proxy.golang.org", NULL}, {&GoProxyCN, "https://goproxy.cn", DelegateToMirror}, {&Ali, "https://mirrors.aliyun.com/goproxy/", NULL}, - {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL}, {&GoProxyIO, "https://goproxy.io", DelegateToMirror} }; def_sources_n(pl_go); From 63bbb40a66ec221ceacecd893e03d64059b85109 Mon Sep 17 00:00:00 2001 From: Rui Yang Date: Sat, 12 Jul 2025 12:18:12 +0800 Subject: [PATCH 2/2] Remove Huawei mirror go proxy source address --- src/chsrc-main.c | 1 + src/recipe/lang/Go.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/chsrc-main.c b/src/chsrc-main.c index b3e9381d..5a62e8f9 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -27,6 +27,7 @@ * | MadDogOwner * | sanchuanhehe * | Mikachu2333 + * | Rui Yang * | * Created On : <2023-08-28> * Last Modified : <2025-07-11> diff --git a/src/recipe/lang/Go.c b/src/recipe/lang/Go.c index a642ae1f..81fd2a18 100644 --- a/src/recipe/lang/Go.c +++ b/src/recipe/lang/Go.c @@ -3,10 +3,11 @@ * ------------------------------------------------------------- * File Authors : Aoran Zeng * Contributors : czyt +* | Rui Yang * | * Created On : <2023-08-30> * Major Revision : 1 - * Last Modified : <2025-07-11> + * Last Modified : <2025-07-12> * ------------------------------------------------------------*/ static SourceProvider_t pl_go_upstream = @@ -39,7 +40,8 @@ static Source_t pl_go_sources[] = {&pl_go_upstream, "https://proxy.golang.org", NULL}, {&GoProxyCN, "https://goproxy.cn", DelegateToMirror}, {&Ali, "https://mirrors.aliyun.com/goproxy/", NULL}, - {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL}, + // 注释华为镜像源 详见 https://github.com/RubyMetric/chsrc/issues/227 + // {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL}, {&GoProxyIO, "https://goproxy.io", DelegateToMirror} }; def_sources_n(pl_go);