Skip to content

Commit d4e77a4

Browse files
committed
Format comments
1 parent c455dda commit d4e77a4

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

src/chsrc-main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
* | MadDogOwner <[email protected]>
2828
* | sanchuanhehe <[email protected]>
2929
* | Mikachu2333 <[email protected]>
30-
* | Rui Yang <[email protected]>
30+
* | Rui Yang <[email protected]>
3131
* |
3232
* Created On : <2023-08-28>
3333
* Last Modified : <2025-07-12>
3434
*
3535
* chsrc: Change Source —— 全平台通用命令行换源工具
3636
* ------------------------------------------------------------*/
3737

38-
#define Chsrc_Version "0.2.1.4"
38+
#define Chsrc_Version "0.2.1.4-dev1"
3939
#define Chsrc_Release_Date "2025/07/12"
4040
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
4141
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"

src/recipe/lang/Go.c

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* -------------------------------------------------------------
44
* File Authors : Aoran Zeng <[email protected]>
55
* Contributors : czyt <[email protected]>
6-
* | Rui Yang <[email protected]>
6+
* | Rui Yang <[email protected]>
77
* |
88
* Created On : <2023-08-30>
99
* Major Revision : 1
@@ -32,17 +32,20 @@ GoProxyIO =
3232

3333

3434
/**
35-
* @update 2024-12-18
35+
* @update 2025-07-12
36+
*
3637
* @note 缺少教育网软件源
3738
*/
3839
static Source_t pl_go_sources[] =
3940
{
4041
{&pl_go_upstream, "https://proxy.golang.org", NULL},
41-
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
42-
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
43-
// 注释华为镜像源 详见 https://github.com/RubyMetric/chsrc/issues/227
44-
// {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
45-
{&GoProxyIO, "https://goproxy.io", DelegateToMirror}
42+
{&GoProxyCN, "https://goproxy.cn", DelegateToMirror},
43+
{&Ali, "https://mirrors.aliyun.com/goproxy/", NULL},
44+
45+
// 暂时停用华为镜像源, 详见 https://github.com/RubyMetric/chsrc/issues/227
46+
// {&Huawei, "https://mirrors.huaweicloud.com/goproxy/", NULL},
47+
48+
{&GoProxyIO, "https://goproxy.io", DelegateToMirror}
4649
};
4750
def_sources_n(pl_go);
4851

src/recipe/lang/Python/uv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ pl_python_uv_setsrc (char *option)
117117
* sed -i '/^\[\[index\]\]$/,/^default = true$/{s|^url = ".*"$|url = " source.url "|}' uv_config
118118
* 将 [[index]] 到 default = true 之间的 url = ".*" 替换为 url = "source.url"
119119
*/
120-
#if XY_On_macOS
120+
#if defined(XY_On_macOS) || defined(XY_On_BSD)
121121
char *sed_cmd = "sed -i '' ";
122122
#else
123123
char *sed_cmd = "sed -i ";

0 commit comments

Comments
 (0)