Add nodejs and perl sources

This commit is contained in:
Aoran Zeng 2023-08-30 21:20:11 +08:00
parent 5c79f59316
commit 88eb92d222

50
chsrc.h
View File

@ -55,9 +55,15 @@ typedef struct {
*
*
*/
/**
* 2023-08-29
*
* Ruby China
*/
static source_info
pl_ruby_sources[] = {
// 目前北外最快,Ruby China的源慢了一半
{&Bfsu, "https://mirrors.bfsu.edu.cn/rubygems/"},
{&Ali, "https://mirrors.aliyun.com/rubygems/"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rubygems/"},
@ -65,14 +71,52 @@ pl_ruby_sources[] = {
{&RubyChina, "https://gems.ruby-china.com"},
},
// TODO: 待更新完整列表,如阿里,腾讯,其他大学镜像
/**
* 2023-08-29
*
* Zjupypi在校外访问会自动转向Tuna
*
* TODO: Python用户协助
*/
pl_python_sources[] = {
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/pypi/web/simple"},
{&Tuna, "https://pypi.tuna.tsinghua.edu.cn/simple"},
// 不要使用Zju,浙大的pypi在校外访问会自动转向Tuna
{&Lzuoss, "https://mirror.lzu.edu.cn/pypi/web/simple"},
{&Jlu, "https://mirrors.jlu.edu.cn/pypi//web/simple"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple"}
},
/**
* 2023-08-30
*
* Sjtug, Tuna, Lzuoss, Jlu, Bfsu,
*
* npm的名
*/
pl_nodejs_sources[] = {
{&Ali, "https://registry.npmmirror.com"},
{&Zju, "https://mirrors.zju.edu.cn/docs/npm/"}
},
/**
* 2023-08-30
*
* https://help.mirrors.cernet.edu.cn/CPAN/
*
* Jlu
*
* TODO: Perl用户协助
*/
pl_perl_sources[] = {
{&Ali, "https://mirrors.aliyun.com/CPAN/"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/CPAN/"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/CPAN/"},
{&Bjtu, "https://mirror.bjtu.edu.cn/cpan/"},
{&Lzuoss "https://mirror.lzu.edu.cn/CPAN/"}
};