Introduce provider

This commit is contained in:
Aoran Zeng
2024-11-22 06:23:23 +08:00
parent f2d8997909
commit b8f847a9ce
60 changed files with 80 additions and 79 deletions

View File

@@ -13,7 +13,7 @@
*/
static SourceInfo
wr_anaconda_sources[] = {
{&Upstream, "https://repo.anaconda.com/"},
{&UpstreamProvider, "https://repo.anaconda.com/"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/anaconda/"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/anaconda/"},
{&Zju, "https://mirrors.zju.edu.cn/anaconda/"},

View File

@@ -12,7 +12,7 @@
*/
static SourceInfo
wr_cocoapods_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/git/CocoaPods/Specs.git"}
};

View File

@@ -38,7 +38,7 @@ Huecker = {
static SourceInfo
wr_dockerhub_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
// {&Ustc, "https://docker.mirrors.ustc.edu.cn/"},
// https://github.com/DaoCloud/public-image-mirror

View File

@@ -19,7 +19,7 @@ EmacsChina = {
*/
SourceInfo
wr_emacs_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/docs/emacs-elpa"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/help/elpa/"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/help/elpa/"},

View File

@@ -13,7 +13,7 @@
*/
static SourceInfo
wr_flathub_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/flathub"},
};
def_sources_n(wr_flathub);

View File

@@ -13,7 +13,7 @@
*/
static SourceInfo
wr_guix_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/git/guix.git"}
};
def_sources_n(wr_guix);

View File

@@ -17,7 +17,7 @@
*/
static SourceInfo
wr_homebrew_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/"},
{&Zju, "https://mirrors.zju.edu.cn/"},

View File

@@ -16,7 +16,7 @@
*/
static SourceInfo
wr_nix_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
{&Bfsu, "https://mirrors.bfsu.edu.cn/nix-channels/"}
};
def_sources_n(wr_nix);

View File

@@ -12,7 +12,7 @@
*/
static SourceInfo
wr_tex_sources[] = {
{&Upstream, NULL},
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/ctan/systems/texlive/tlnet"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/CTAN/systems/texlive/tlnet"},

View File

@@ -13,7 +13,7 @@
*/
static SourceInfo
wr_winget_sources[] = {
{&Upstream, "https://cdn.winget.microsoft.com/cache"},
{&UpstreamProvider, "https://cdn.winget.microsoft.com/cache"},
{&Ustc, "https://mirrors.ustc.edu.cn/winget-source"},
};
def_sources_n(wr_winget);