From c455dda5fc49ca11607fa67655ca69e9a457b242 Mon Sep 17 00:00:00 2001 From: Rui Yang Date: Sat, 12 Jul 2025 13:03:03 +0800 Subject: [PATCH] Disable `Huawei` mirror for `Go` (#231) --- 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 614e098..14989ba 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-12> diff --git a/src/recipe/lang/Go.c b/src/recipe/lang/Go.c index a642ae1..81fd2a1 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);