Clear macro

[GitHub #122]
This commit is contained in:
Aoran Zeng
2024-11-21 11:54:13 +08:00
parent bba1df37f8
commit 7fb00280a8
18 changed files with 74 additions and 59 deletions

View File

@@ -12,12 +12,12 @@
static MirrorSite
GoProxyCN = {
"goproxy.cn", "Goproxy.cn", "Goproxy.cn (七牛云)", "https://goproxy.cn/",
{false, NULL, NULL, "https://goproxy.cn/github.com/aws/aws-sdk-go/@v/v1.45.2.zip"} // 30 MB
{NotSkip, NA, NA, "https://goproxy.cn/github.com/aws/aws-sdk-go/@v/v1.45.2.zip"} // 30 MB
},
GoProxyIO = {
"goproxy.io", "GOPROXY.IO", "GOPROXY.IO", "https://goproxy.io/",
{false, NULL, NULL, "https://goproxy.io/github.com/aws/aws-sdk-go/@v/v1.45.2.zip"} // 30 MB
{NotSkip, NA, NA, "https://goproxy.io/github.com/aws/aws-sdk-go/@v/v1.45.2.zip"} // 30 MB
};

View File

@@ -8,7 +8,10 @@
* ------------------------------------------------------------*/
static MirrorSite
Api7 = {"api7", "api7.ai", "深圳支流科技有限公司", "https://www.apiseven.com/", NULL};
Api7 = {
"api7", "api7.ai", "深圳支流科技有限公司", "https://www.apiseven.com/",
{SKIP, ToFill, ToFill, NULL}
};
/**

View File

@@ -12,7 +12,7 @@ static MirrorSite
NpmMirror = {
"npmmirror", "npmmirror", "npmmirror (阿里云赞助)", "https://npmmirror.com/",
// 注意,下面这个是跳转后的地址,不确定未来会不会改变
{false, NULL, NULL, "https://cdn.npmmirror.com/packages/%40tensorflow/tfjs/4.10.0/tfjs-4.10.0.tgz"} // 29MB
{NotSkip, NA, NA, "https://cdn.npmmirror.com/packages/%40tensorflow/tfjs/4.10.0/tfjs-4.10.0.tgz"} // 29MB
};

View File

@@ -8,10 +8,12 @@
* ------------------------------------------------------------*/
static MirrorSite
NugetOrg = {"nuget.org", "NuGet Org", "Nuget Organization", "https://www.nuget.org/", NULL};
NugetOrg = {"nuget.org", "NuGet Org", "Nuget Organization", "https://www.nuget.org/",
{SKIP, ToFill, ToFill, NULL}
};
/**
* @time 2024-04-18 更新
* @update 2024-04-18
* @note {
* 暂时未实现该换源功能,可参照
* https://mirrors.huaweicloud.com/mirrorDetail/5ebf85de07b41baf6d0882ab?mirrorName=nuget&catalog=language

View File

@@ -8,7 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2023-09-15 更新
* @update 2023-09-15
*/
static SourceInfo
pl_ocaml_sources[] = {

View File

@@ -8,8 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2024-05-24 更新
* @ref https://help.mirrors.cernet.edu.cn/CPAN/
* @update 2024-05-24
*/
static SourceInfo
pl_perl_sources[] = {
@@ -41,8 +40,9 @@ pl_perl_getsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
}
/**
* Perl换源参考https://help.mirrors.cernet.edu.cn/CPAN/
* @consult https://help.mirrors.cernet.edu.cn/CPAN/
*/
void
pl_perl_setsrc (char *option)

View File

@@ -8,7 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2023-09-04 更新
* @update 2023-09-04
* @note {
* 以下注释的是不含有bioconductor的镜像站
* 我们在换cran的同时也直接帮助用户换bioconductor

View File

@@ -10,7 +10,7 @@
static MirrorSite
RubyChina = {
"rubychina", "RubyChina", "Ruby China 社区", "https://gems.ruby-china.com/",
{false, NULL, NULL, "https://gems.ruby-china.com/rubygems/gems/nokogiri-1.15.0-java.gem"} // 9.9 MB
{NotSkip, NA, NA, "https://gems.ruby-china.com/rubygems/gems/nokogiri-1.15.0-java.gem"} // 9.9 MB
};
/**

View File

@@ -4,8 +4,11 @@
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2024-10-02>
* Last Modified : <2024-10-02>
* Last Modified : <2024-11-21>
* ------------------------------------------------------------*/
static MirrorSite
RsProxyCN = {"rsproxycn", "RsProxy.cn", "字节跳动基础架构Dev Infra", "https://rsproxy.cn/", NULL};
RsProxyCN = {
"rsproxycn", "RsProxy.cn", "字节跳动基础架构Dev Infra", "https://rsproxy.cn/",
{SKIP, ToFill, ToFill, NULL}
};

View File

@@ -6,25 +6,25 @@
* Contributors : Nil Null <nil@null.org>
* |
* Created On : <2024-06-08>
* Last Modified : <2024-10-28>
* Last Modified : <2024-11-21>
* ------------------------------------------------------------*/
static MirrorSite
DaoCloud = {
"daocloud", "DaoCloud","上海道客网络科技有限公司", "https://www.daocloud.io/",
// 没有找到 DaoCloud 合适的下载链接,先随便给一个,以规避 chsrc 自动测速时所有 dockerhub 镜像站都没有测速链接带来的 bug
{false, NULL, NULL, "https://qiniu-download-public.daocloud.io/DaoCloud_Enterprise/dce5/offline-community-v0.18.0-amd64.tar"}
{NotSkip, NA, NA, "https://qiniu-download-public.daocloud.io/DaoCloud_Enterprise/dce5/offline-community-v0.18.0-amd64.tar"}
},
Fit2Cloud = {
"fit2cloud", "FIT2CLOUD", "杭州飞致云信息科技有限公司", "https://www.fit2cloud.com/",
{true, NULL, NULL, NULL}
{SKIP, ToFill, ToFill, NULL}
},
Huecker = {
"huecker", "(Russia) Huecker", "俄罗斯 Huecker.io", "https://huecker.io/",
// 同 DaoCloud没有合适的下载链接先随便给一个以避免 bug
{false, NULL, NULL, "https://huecker.io/en/use.html"}
{NotSkip, NA, NA, "https://huecker.io/en/use.html"}
};
/**

View File

@@ -4,14 +4,17 @@
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-10-10>
* Last Modified : <2024-08-09>
* Last Modified : <2024-11-21>
* ------------------------------------------------------------*/
static MirrorSite
EmacsChina = {"emacschina", "EmacsChina", "Emacs China 社区", "https://elpamirror.emacs-china.org/", NULL};
EmacsChina = {
"emacschina", "EmacsChina", "Emacs China 社区", "https://elpamirror.emacs-china.org/",
{SKIP, ToFill, ToFill, NULL}
};
/**
* @time 2023-09-10 更新
* @update 2023-09-10
* @note Emacs用户往往只需要一次性换源只会极少次调用 chsrc我们只给用户提供文档
*/
SourceInfo

View File

@@ -8,7 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2023-09-11 更新
* @update 2023-09-11
* @note 目前只有一个源
*/
static SourceInfo

View File

@@ -8,7 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2023-09-11 更新
* @update 2023-09-11
* @note 目前只有一个源
*/
static SourceInfo

View File

@@ -1,15 +1,15 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-10>
* Last Modified : <2024-08-28>
* Revision : 3
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-10>
* Major Revision : 3
* Last Modified : <2024-08-28>
* ------------------------------------------------------------*/
/**
* @time 2023-09-10 更新
* @update 2023-09-10
* @note {
* 1. 这些链接将会在setsrc函数中补充完整
* 2. 不确定 Sustech 能否工作

View File

@@ -8,7 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2023-09-22 更新
* @update 2023-09-22
* @note {
* 1. 目前只有一个源
* 2. 这些链接将会在setsrc函数中补充完整

View File

@@ -8,7 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2023-09-10 更新
* @update 2023-09-10
*/
static SourceInfo
wr_tex_sources[] = {

View File

@@ -8,7 +8,7 @@
* ------------------------------------------------------------*/
/**
* @time 2024-06-07 更新
* @update 2024-06-07
* @note 目前仅有一个源
*/
static SourceInfo