Rename struct

This commit is contained in:
Aoran Zeng
2024-11-22 07:02:21 +08:00
parent b8f847a9ce
commit 743380290e
68 changed files with 109 additions and 109 deletions

View File

@@ -11,7 +11,7 @@
* @time 2023-09-10 更新
* @note 不太好换,且用户可能不多,我们暂时只给用户提供文档
*/
static SourceInfo
static Source_t
pl_clojure_sources[] = {
{&UpstreamProvider, NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/help/clojars/"},

View File

@@ -15,7 +15,7 @@
/**
* @update 2024-10-31
*/
static SourceInfo
static Source_t
pl_dart_flutter_sources[] = {
{&UpstreamProvider, "https://storage.googleapis.com"},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn"}, // 没有后缀,怀疑是否存在问题

View File

@@ -14,7 +14,7 @@
/**
* @update 2024-10-31
*/
static SourceInfo
static Source_t
pl_dart_sources[] = {
{&UpstreamProvider, "https://pub.dev"},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/dart-pub"},

View File

@@ -9,7 +9,7 @@
* Last Modified : <2024-10-31>
* ------------------------------------------------------------*/
static MirrorSite
static MirrorSite_t
GoProxyCN = {
"goproxy.cn", "Goproxy.cn", "Goproxy.cn (七牛云)", "https://goproxy.cn/",
{NotSkip, NA, NA, "https://goproxy.cn/github.com/aws/aws-sdk-go/@v/v1.45.2.zip"} // 30 MB
@@ -25,7 +25,7 @@ GoProxyIO = {
* @update 2024-10-31
* @note 缺少教育网软件源
*/
static SourceInfo
static Source_t
pl_go_sources[] = {
{&UpstreamProvider, "https://proxy.golang.org"},
{&GoProxyCN, "https://goproxy.cn"},

View File

@@ -10,7 +10,7 @@
/**
* @time 2023-09-10 更新
*/
static SourceInfo
static Source_t
pl_haskell_sources[] = {
{&UpstreamProvider, NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/hackage"},

View File

@@ -11,7 +11,7 @@
* @time 2024-04-18 更新
* @note 缺少教育网或开源社区软件源
*/
static SourceInfo
static Source_t
pl_java_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://maven.aliyun.com/repository/public/"},

View File

@@ -11,7 +11,7 @@
* @time 2023-09-05 更新
* @note 缺少商业公司或开源社区软件源
*/
static SourceInfo
static Source_t
pl_julia_sources[] = {
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/julia"},

View File

@@ -7,7 +7,7 @@
* Last Modified : <2024-08-09>
* ------------------------------------------------------------*/
static MirrorSite
static MirrorSite_t
Api7 = {
"api7", "api7.ai", "深圳支流科技有限公司", "https://www.apiseven.com/",
{SKIP, ToFill, ToFill, NULL}
@@ -18,7 +18,7 @@ Api7 = {
* @time 2023-09-27 更新
* @note 目前只有一个源
*/
static SourceInfo
static Source_t
pl_lua_sources[] = {
{&UpstreamProvider, NULL},
{&Api7, "https://luarocks.cn"},

View File

@@ -40,7 +40,7 @@ pl_nodejs_yarn_getsrc (char *option)
void
pl_nodejs_yarn_setsrc (char *option)
{
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_nodejs);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -8,7 +8,7 @@
* Last Modified : <2024-09-23>
* ------------------------------------------------------------*/
static MirrorSite
static MirrorSite_t
NpmMirror = {
"npmmirror", "npmmirror", "npmmirror (阿里云赞助)", "https://npmmirror.com/",
// 注意,下面这个是跳转后的地址,不确定未来会不会改变
@@ -26,7 +26,7 @@ NpmMirror = {
* }
*
*/
static SourceInfo
static Source_t
pl_nodejs_sources[] = {
{&UpstreamProvider, "https://registry.npmjs.org/"}, // @note 根据 pnpm 官网,有最后的斜线
{&NpmMirror, "https://registry.npmmirror.com"},
@@ -43,7 +43,7 @@ def_sources_n(pl_nodejs);
* @sync https://github.com/RubyMetric/chsrc/discussions/85
*
*/
static SourceInfo
static Source_t
pl_nodejs_binary_release_sources[] = {
{&UpstreamProvider, "https://nodejs.org/dist/"},
{&NpmMirror, "https://npmmirror.com/mirrors"},

View File

@@ -26,7 +26,7 @@ pl_nodejs_npm_getsrc (char *option)
void
pl_nodejs_npm_setsrc (char *option)
{
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_nodejs);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -27,7 +27,7 @@ pl_nodejs_pnpm_getsrc (char *option)
void
pl_nodejs_pnpm_setsrc (char *option)
{
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_nodejs);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -7,7 +7,7 @@
* Last Modified : <2024-08-09>
* ------------------------------------------------------------*/
static MirrorSite
static MirrorSite_t
NugetOrg = {"nuget.org", "NuGet Org", "Nuget Organization", "https://www.nuget.org/",
{SKIP, ToFill, ToFill, NULL}
};
@@ -19,7 +19,7 @@ NugetOrg = {"nuget.org", "NuGet Org", "Nuget Organization", "https://www.nuget.o
* https://mirrors.huaweicloud.com/mirrorDetail/5ebf85de07b41baf6d0882ab?mirrorName=nuget&catalog=language
* }
*/
static SourceInfo
static Source_t
pl_nuget_sources[] = {
{&UpstreamProvider, NULL},
{&NugetOrg, "https://www.nuget.org/api/v2/"},

View File

@@ -10,7 +10,7 @@
/**
* @update 2023-09-15
*/
static SourceInfo
static Source_t
pl_ocaml_sources[] = {
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/git/opam-repository.git"}

View File

@@ -11,7 +11,7 @@
* @update 2024-09-14
* @note 缺少教育网或开源社区软件源
*/
static SourceInfo
static Source_t
pl_php_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com/composer/"},

View File

@@ -10,7 +10,7 @@
/**
* @update 2024-05-24
*/
static SourceInfo
static Source_t
pl_perl_sources[] = {
{&UpstreamProvider, NULL},
{&Bfsu, "https://mirrors.bfsu.edu.cn/CPAN/"},

View File

@@ -28,7 +28,7 @@ pl_python_pdm_getsrc (char *option)
void
pl_python_pdm_setsrc (char *option)
{
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -27,7 +27,7 @@ pl_python_poetry_getsrc (char *option)
void
pl_python_poetry_setsrc (char *option)
{
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -12,7 +12,7 @@
* @update 2024-09-14
* @note 不要添加Zju浙大的pypi在校外访问会自动转向Tuna
*/
static SourceInfo
static Source_t
pl_python_sources[] = {
{&UpstreamProvider, "https://pypi.org/simple"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple"},

View File

@@ -38,7 +38,7 @@ pl_python_pip_setsrc (char *option)
return;
}
SourceInfo source;
Source_t source;
chsrc_yield_for_the_source (pl_python);
if (ProgMode_Target_Group!=true)
chsrc_confirm_source;

View File

@@ -14,7 +14,7 @@
* 我们在换cran的同时也直接帮助用户换bioconductor
* }
*/
static SourceInfo
static Source_t
pl_r_sources[] = {
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/cran/"},

View File

@@ -7,7 +7,7 @@
* Last Modified : <2024-11-21>
* ------------------------------------------------------------*/
static MirrorSite
static MirrorSite_t
RubyChina = {
"rubychina", "RubyChina", "Ruby China 社区", "https://gems.ruby-china.com/",
{NotSkip, NA, NA, "https://gems.ruby-china.com/rubygems/gems/nokogiri-1.15.0-java.gem"} // 9.9 MB
@@ -20,7 +20,7 @@ RubyChina = {
*
* @note 曾经的问题 https://ruby-china.org/topics/43331
*/
static SourceInfo
static Source_t
pl_ruby_sources[] = {
{&UpstreamProvider, "https://rubygems.org"},
{&RubyChina, "https://gems.ruby-china.com/"},

View File

@@ -12,7 +12,7 @@
* @note 以下都支持稀疏索引,我们换源时都将默认添加 `sparse+`
* @note 链接末尾的 `/` 不能缺少
*/
static SourceInfo
static Source_t
pl_rust_cargo_sources[] = {
{&UpstreamProvider, "https://index.crates.io/"}, // @help 是这个吗?
{&MirrorZ, "https://mirrors.cernet.edu.cn/crates.io-index/"},

View File

@@ -7,7 +7,7 @@
* Last Modified : <2024-11-21>
* ------------------------------------------------------------*/
static MirrorSite
static MirrorSite_t
RsProxyCN = {
"rsproxycn", "RsProxy.cn", "字节跳动基础架构Dev Infra", "https://rsproxy.cn/",
{SKIP, ToFill, ToFill, NULL}

View File

@@ -11,7 +11,7 @@
/**
* @update 2024-10-02
*/
static SourceInfo
static Source_t
pl_rust_rustup_sources[] = {
{&UpstreamProvider, "https://static.rust-lang.org"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup"},