Skip to content

Commit

Permalink
Adjust contributor info
Browse files Browse the repository at this point in the history
[GitHub #112 #111]
  • Loading branch information
ccmywish committed Oct 31, 2024
1 parent 7412da9 commit 3e2e7f9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
1 change: 1 addition & 0 deletions src/chsrc-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* | xuan <wick.dynex@qq.com>
* | GnixAij <gaojiaxing0220@gmail.com>
* | ChatGPT <https://chatgpt.com>
* | czyt <czyt.go@gmail.com>
* |
* Created On : <2023-08-28>
* Last Modified : <2024-10-31>
Expand Down
9 changes: 4 additions & 5 deletions src/recipe/lang/Dart/Flutter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* | czyt <czyt.go@gmail.com>
* Contributors : czyt <czyt.go@gmail.com>
* |
* Created On : <2023-09-10>
* Major Revision : 3
* Major Revision : 2
* Last Modified : <2024-10-31>
*
* 2024-09-14: 不得不将Dart和Flutter拆分为两个Target,
* 因为3家教育网镜像站给出的 Dart 和 Flutter 换源URL模式都不一样
* 2024-10-31: 补充FLUTTER_STORAGE_BASE_URL的默认源地址
* ------------------------------------------------------------*/

/**
* @update 2024-09-14
* @update 2024-10-31
*/
static SourceInfo
pl_dart_flutter_sources[] = {
Expand Down
10 changes: 4 additions & 6 deletions src/recipe/lang/Dart/Pub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* | czyt <czyt.go@gmail.com>
* Contributors : czyt <czyt.go@gmail.com>
* |
* Created On : <2023-09-10>
* Major Revision : 4
* Major Revision : 3
* Last Modified : <2024-10-31>
*
* 2024-10-31: 补充PUB_HOSTED_URL的默认源地址
*
* Dart Pub 软件仓库
* ------------------------------------------------------------*/

/**
* @update 2024-09-14
* @update 2024-10-31
*/
static SourceInfo
pl_dart_sources[] = {
Expand Down
22 changes: 12 additions & 10 deletions src/recipe/lang/Go.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* | czyt <czyt.go@gmail.com>
* Created On : <2023-08-30>
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : czyt <czyt.go@gmail.com>
* |
* Created On : <2023-08-30>
* Major Revision : 1
* Last Modified : <2024-10-31>
*
* 2024-10-31: 补充Go语言的默认GOPROXY地址
* Last Modified : <2024-10-31>
* ------------------------------------------------------------*/

static MirrorSite
Expand All @@ -20,12 +18,12 @@ GoProxyIO = {"goproxy.io", "GOPROXY.IO", "GOPROXY.IO", "https://gopr


/**
* @time 2024-04-18 更新
* @update 2024-10-31
* @note 缺少教育网软件源
*/
static SourceInfo
pl_go_sources[] = {
{&Upstream, "https://proxy.golang.org,direct"},
{&Upstream, "https://proxy.golang.org"},
{&GoProxyCN, "https://goproxy.cn"},
{&Ali, "https://mirrors.aliyun.com/goproxy/"},
{&Huawei, "https://mirrors.huaweicloud.com/goproxy/"},
Expand All @@ -48,15 +46,19 @@ pl_go_check_cmd ()
}
}


void
pl_go_getsrc (char *option)
{
pl_go_check_cmd ();
chsrc_run ("go env GOPROXY", RunOpt_Default);
}


/**
* Go换源,参考:https://goproxy.cn/
* chsrc set go
*
* @consult https://goproxy.cn/
*/
void
pl_go_setsrc (char *option)
Expand Down

0 comments on commit 3e2e7f9

Please sign in to comment.