Add specific mirror sites for ls mirror

This commit is contained in:
Aoran Zeng 2024-10-29 02:06:01 +08:00
parent 152ea4314f
commit 36b4d1e6de
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
3 changed files with 32 additions and 14 deletions

@ -1,12 +1,11 @@
/** ------------------------------------------------------------ /** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
* ------------------------------------------------------------- * -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com> * File Authors : Aoran Zeng <ccmywish@qq.com>
* | Heng Guo <2085471348@qq.com> * | Heng Guo <2085471348@qq.com>
* Contributors : Shengwei Chen <414685209@qq.com> * Contributors : Shengwei Chen <414685209@qq.com>
* | * |
* Created On : <2023-08-29> * Created On : <2023-08-29>
* Last Modified : <2024-10-04>
* Last Modified : <2024-10-09> * Last Modified : <2024-10-09>
* *
* *
@ -80,9 +79,7 @@ Nju = {"nju", "NJU", "南京大学开源镜像站",
"https://mirrors.nju.edu.cn/archlinux" Big_File_archlinux}; "https://mirrors.nju.edu.cn/archlinux" Big_File_archlinux};
/** /**
* @note { * @note [ccmywish:2023-09-05] 使5ip封杀了
* [ccmywish:2023-09-05] 使5ip封杀了
* }
*/ */
// Cqu = {"cqu", "CQU", "重庆大学开源软件镜像站", "https://mirrors.cqu.edu.cn/", // Cqu = {"cqu", "CQU", "重庆大学开源软件镜像站", "https://mirrors.cqu.edu.cn/",
// "https://mirrors.cqu.edu.cn/speedtest/1000mb.bin"}; // "https://mirrors.cqu.edu.cn/speedtest/1000mb.bin"};

@ -18,13 +18,13 @@
* | ChatGPT <https://chatgpt.com> * | ChatGPT <https://chatgpt.com>
* | * |
* Created On : <2023-08-28> * Created On : <2023-08-28>
* Last Modified : <2024-10-28> * Last Modified : <2024-10-29>
* *
* chsrc: Change Source * chsrc: Change Source
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
#define Chsrc_Version "0.1.9.1" #define Chsrc_Version "0.1.9.1-dev1"
#define Chsrc_Release_Date "2024/10/28" #define Chsrc_Release_Date "2024/10/29"
#define Chsrc_Banner_Version "v" Chsrc_Version "-" Chsrc_Release_Date #define Chsrc_Banner_Version "v" Chsrc_Version "-" Chsrc_Release_Date
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc" #define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc" #define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"

@ -5,7 +5,7 @@
* Contributors : Nil Null <nil@null.org> * Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-01> * Created On : <2023-09-01>
* Major Revision : 1 * Major Revision : 1
* Last Modified : <2024-10-02> * Last Modified : <2024-10-29>
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
/* Begin Target Matrix */ /* Begin Target Matrix */
@ -135,13 +135,34 @@ static const char
#undef t #undef t
/**
* @sync https://github.com/RubyMetric/chsrc/wiki
*/
static MirrorSite* static MirrorSite*
available_mirrors[] = { available_mirrors[] = {
&MirrorZ, &Tuna, &Sjtug_Zhiyuan, &Zju, &Lzuoss, &Jlu, &Bfsu, &Pku, &Bjtu, &Sustech, &Ustc, &Hust, &Nju, // &Cqu,
&Ali, // &Ali_ECS_VPC, &Ali_ECS_classic, /* 教育网 */
&MirrorZ, &Tuna, &Sjtug_Zhiyuan, &Zju, &Lzuoss, &Jlu, &Bfsu, &Pku, &Bjtu, &Sustech, &Ustc,
&Hust, &Iscas, &Scau, &Nju,
// 已支持但未启用
// &Cqu,
/* 大型公司 */
&Ali, // &Ali_ECS_VPC, &Ali_ECS_classic,
&Tencent, // &Tencent_Intra, &Tencent, // &Tencent_Intra,
&Huawei, &Volcengine, &Netease, &Sohu, &Api7, &Fit2Cloud, &Huawei,
&RubyChina, &EmacsChina, &NpmMirror, &GoProxyCN, &GoProxyIO, &Volcengine,
&Netease,
&Sohu,
/* 公司 */
&Api7, &Fit2Cloud, &DaoCloud,
/* 专用镜像站 */
&RubyChina, &EmacsChina, &NpmMirror, &GoProxyIO, &GoProxyCN, &RsProxyCN,
// 暂不支持 &NugetOrg // 暂不支持 &NugetOrg
// 不要列出 &Upstream 和 &UserDdefine // 不要列出 &Upstream 和 &UserDdefine
}; };