mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-26 12:41:59 +08:00
Format code
This commit is contained in:
@@ -13,16 +13,17 @@
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_armbian_sources[] = {
|
||||
{&UpstreamProvider, "http://apt.armbian.com"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/armbian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/armbian"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/armbian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/armbian"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/armbian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/armbian"},
|
||||
{&Nju, "https://mirrors.nju.edu.cn/armbian"},
|
||||
{&Ali, "https://mirrors.aliyun.com/armbian"},
|
||||
os_armbian_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://apt.armbian.com"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/armbian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/armbian"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/armbian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/armbian"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/armbian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/armbian"},
|
||||
{&Nju, "https://mirrors.nju.edu.cn/armbian"},
|
||||
{&Ali, "https://mirrors.aliyun.com/armbian"},
|
||||
};
|
||||
def_sources_n(os_armbian);
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
/**
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_debian_sources[] = {
|
||||
{&UpstreamProvider, "http://deb.debian.org/debian"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/debian/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/debian"},
|
||||
{&Volcengine, "https://mirrors.volces.com/debian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/debian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/debian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/debian"},
|
||||
{&Tencent, "https://mirrors.tencent.com/debian"},
|
||||
static Source_t os_debian_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://deb.debian.org/debian"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/debian/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/debian"},
|
||||
{&Volcengine, "https://mirrors.volces.com/debian"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/debian"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/debian"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/debian"},
|
||||
{&Tencent, "https://mirrors.tencent.com/debian"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/debian"},
|
||||
{&Netease, "https://mirrors.163.com/debian"},
|
||||
{&Sohu, "https://mirrors.sohu.com/debian"}
|
||||
{&Netease, "https://mirrors.163.com/debian"},
|
||||
{&Sohu, "https://mirrors.sohu.com/debian"}
|
||||
};
|
||||
def_sources_n(os_debian);
|
||||
|
||||
|
||||
@@ -12,20 +12,20 @@
|
||||
/**
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_kali_sources[] = {
|
||||
{&UpstreamProvider, "http://http.kali.org/kali"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/kali"},
|
||||
{&Ali, "https://mirrors.aliyun.com/kali"},
|
||||
{&Volcengine, "https://mirrors.volces.com/kali"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/kali"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/kali"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/kali"},
|
||||
{&Tencent, "https://mirrors.tencent.com/kali"},
|
||||
static Source_t os_kali_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://http.kali.org/kali"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/kali"},
|
||||
{&Ali, "https://mirrors.aliyun.com/kali"},
|
||||
{&Volcengine, "https://mirrors.volces.com/kali"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/kali"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/kali"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/kali"},
|
||||
{&Tencent, "https://mirrors.tencent.com/kali"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/kali"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/kali"},
|
||||
{&Netease, "https://mirrors.163.com/kali"},
|
||||
{&Sohu, "https://mirrors.sohu.com/kali"}
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/kali"},
|
||||
{&Netease, "https://mirrors.163.com/kali"},
|
||||
{&Sohu, "https://mirrors.sohu.com/kali"}
|
||||
};
|
||||
def_sources_n(os_kali);
|
||||
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
/**
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_linuxlite_sources[] = {
|
||||
{&UpstreamProvider, "http://repo.linuxliteos.com/linuxlite/"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxliteos/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/linuxliteos/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/linuxliteos/"}
|
||||
static Source_t os_linuxlite_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "http://repo.linuxliteos.com/linuxlite/"},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxliteos/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/linuxliteos/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/linuxliteos/"}
|
||||
};
|
||||
def_sources_n(os_linuxlite);
|
||||
|
||||
|
||||
@@ -11,22 +11,22 @@
|
||||
* @update 2024-11-21 更新
|
||||
* @note 实际上镜像站里的内容和Ubuntu的不太一样
|
||||
*/
|
||||
static Source_t
|
||||
os_linuxmint_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxmint/"},
|
||||
{&Ali, "http://mirrors.aliyun.com/linuxmint-packages/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/linuxmint/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/linuxmint/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/linuxmint/"},
|
||||
{&Jlu, "https://mirrors.jlu.edu.cn/linuxmint/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/linuxmint/"},
|
||||
{&Bjtu, "https://mirror.bjtu.edu.cn/linuxmint/"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/linuxmint/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/linuxmint/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/linuxmint/"},
|
||||
{&Scau, "https://mirrors.scau.edu.cn/linuxmint/"},
|
||||
{&Netease, "https://mirrors.163.com/linuxmint/packages/"},
|
||||
static Source_t os_linuxmint_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxmint/"},
|
||||
{&Ali, "http://mirrors.aliyun.com/linuxmint-packages/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/linuxmint/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/linuxmint/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/linuxmint/"},
|
||||
{&Jlu, "https://mirrors.jlu.edu.cn/linuxmint/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/linuxmint/"},
|
||||
{&Bjtu, "https://mirror.bjtu.edu.cn/linuxmint/"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/linuxmint/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/linuxmint/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/linuxmint/"},
|
||||
{&Scau, "https://mirrors.scau.edu.cn/linuxmint/"},
|
||||
{&Netease, "https://mirrors.163.com/linuxmint/packages/"},
|
||||
};
|
||||
def_sources_n(os_linuxmint);
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
/**
|
||||
* @update 2024-04-18
|
||||
*/
|
||||
static Source_t
|
||||
os_ros_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn"},
|
||||
{&Tencent, "https://mirrors.tencent.com"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com"},
|
||||
{&Netease, "https://mirrors.163.com"},
|
||||
{&Sohu, "https://mirrors.sohu.com"}
|
||||
static Source_t os_ros_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn"},
|
||||
{&Tencent, "https://mirrors.tencent.com"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com"},
|
||||
{&Netease, "https://mirrors.163.com"},
|
||||
{&Sohu, "https://mirrors.sohu.com"}
|
||||
};
|
||||
def_sources_n(os_ros);
|
||||
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
/**
|
||||
* @time 2023-09-29 更新
|
||||
*/
|
||||
static Source_t
|
||||
os_raspberrypi_sources[] = {
|
||||
{&UpstreamProvider, "https://archive.raspberrypi.com/"}, // https://archive.raspberrypi.org/ until Debian "bullseye" release
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/raspberrypi/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/raspberrypi/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/raspberrypi/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/raspberrypi/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/raspberrypi/"}
|
||||
static Source_t os_raspberrypi_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://archive.raspberrypi.com/"}, // https://archive.raspberrypi.org/ until Debian "bullseye" release
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/raspberrypi/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/raspberrypi/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/raspberrypi/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/raspberrypi/"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/raspberrypi/"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/raspberrypi/"}
|
||||
};
|
||||
def_sources_n(os_raspberrypi);
|
||||
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2024-11-21 更新
|
||||
* @update 2024-11-21
|
||||
*/
|
||||
static Source_t
|
||||
os_trisquel_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/trisquel/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/trisquel/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/trisquel/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/trisquel/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/trisquel/"}
|
||||
static Source_t os_trisquel_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/trisquel/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/trisquel/"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/trisquel/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/trisquel/"},
|
||||
{&Iscas, "https://mirror.iscas.ac.cn/trisquel/"}
|
||||
};
|
||||
def_sources_n(os_trisquel);
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_deepin_sources[] = {
|
||||
{&UpstreamProvider, "https://community-packages.deepin.com/deepin"},
|
||||
{&Ali, "https://mirrors.aliyun.com/deepin"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/deepin"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/deepin"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/deepin"},
|
||||
{&Tencent, "https://mirrors.tencent.com/deepin"},
|
||||
static Source_t os_deepin_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://community-packages.deepin.com/deepin"},
|
||||
{&Ali, "https://mirrors.aliyun.com/deepin"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/deepin"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/deepin"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/deepin"},
|
||||
{&Tencent, "https://mirrors.tencent.com/deepin"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/deepin"},
|
||||
{&Netease, "https://mirrors.163.com/deepin"},
|
||||
{&Sohu, "https://mirrors.sohu.com/deepin"}
|
||||
{&Netease, "https://mirrors.163.com/deepin"},
|
||||
{&Sohu, "https://mirrors.sohu.com/deepin"}
|
||||
};
|
||||
def_sources_n(os_deepin);
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
/**
|
||||
* @time 2023-09-29 更新
|
||||
*/
|
||||
static Source_t
|
||||
os_openkylin_sources[] = {
|
||||
{&UpstreamProvider, "https://archive.openkylin.top/openkylin/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openkylin/"},
|
||||
{&Netease, "https://mirrors.163.com/openkylin/"},
|
||||
static Source_t os_openkylin_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://archive.openkylin.top/openkylin/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openkylin/"},
|
||||
{&Netease, "https://mirrors.163.com/openkylin/"},
|
||||
};
|
||||
def_sources_n(os_openkylin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user