Format comments

This commit is contained in:
Aoran Zeng 2025-07-12 13:09:09 +08:00
parent c455dda5fc
commit d4e77a4050
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
3 changed files with 13 additions and 10 deletions

View File

@ -35,7 +35,7 @@
* chsrc: Change Source * chsrc: Change Source
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
#define Chsrc_Version "0.2.1.4" #define Chsrc_Version "0.2.1.4-dev1"
#define Chsrc_Release_Date "2025/07/12" #define Chsrc_Release_Date "2025/07/12"
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc" #define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc" #define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"

View File

@ -32,7 +32,8 @@ GoProxyIO =
/** /**
* @update 2024-12-18 * @update 2025-07-12
*
* @note * @note
*/ */
static Source_t pl_go_sources[] = static Source_t pl_go_sources[] =
@ -40,8 +41,10 @@ static Source_t pl_go_sources[] =
{&pl_go_upstream, "https://proxy.golang.org", NULL}, {&pl_go_upstream, "https://proxy.golang.org", NULL},
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror}, {&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL}, {&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
// 注释华为镜像源 详见 https://github.com/RubyMetric/chsrc/issues/227
// 暂时停用华为镜像源, 详见 https://github.com/RubyMetric/chsrc/issues/227
// {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL}, // {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
{&GoProxyIO, "https://goproxy.io", DelegateToMirror} {&GoProxyIO, "https://goproxy.io", DelegateToMirror}
}; };
def_sources_n(pl_go); def_sources_n(pl_go);

View File

@ -117,7 +117,7 @@ pl_python_uv_setsrc (char *option)
* sed -i '/^\[\[index\]\]$/,/^default = true$/{s|^url = ".*"$|url = " source.url "|}' uv_config * sed -i '/^\[\[index\]\]$/,/^default = true$/{s|^url = ".*"$|url = " source.url "|}' uv_config
* [[index]] default = true url = ".*" url = "source.url" * [[index]] default = true url = ".*" url = "source.url"
*/ */
#if XY_On_macOS #if defined(XY_On_macOS) || defined(XY_On_BSD)
char *sed_cmd = "sed -i '' "; char *sed_cmd = "sed -i '' ";
#else #else
char *sed_cmd = "sed -i "; char *sed_cmd = "sed -i ";