Update some wares

This commit is contained in:
Aoran Zeng 2025-07-13 21:34:32 +08:00
parent b38b75d316
commit 64513e8d15
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
3 changed files with 47 additions and 15 deletions

View File

@ -4,7 +4,7 @@
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-10-10>
* Last Modified : <2024-11-21>
* Last Modified : <2025-07-13>
* ------------------------------------------------------------*/
static MirrorSite_t EmacsChina =
@ -15,12 +15,13 @@ static MirrorSite_t EmacsChina =
};
/**
* @update 2023-09-10
* @update 2025-07-13
* @note Emacs用户往往只需要一次性换源 chsrc
*/
Source_t wr_emacs_sources[] =
{
{&UpstreamProvider, NULL},
{&UpstreamProvider, NULL, NULL},
{&MirrorZ, "https://help.mirrors.cernet.edu.cn/elpa/"},
{&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/"},
@ -43,4 +44,19 @@ wr_emacs_setsrc (char *option)
chsrc_conclude (&source);
}
def_target_s (wr_emacs);
Feature_t
wr_emacs_feat (char *option)
{
Feature_t f = {0};
f.can_get = false;
f.can_reset = false;
f.can_english = false;
f.can_user_define = false;
return f;
}
def_target_sf(wr_emacs);

View File

@ -28,21 +28,21 @@ wr_flathub_siyuan =
{
IS_DedicatedMirrorSite,
"sjtu-sy", "SJTUG-siyuan", "上海交通大学思源镜像站Flathub", "https://mirror.sjtu.edu.cn/",
{NotSkip, NA, NA, "https://mirror.sjtu.edu.cn/flathub/flathub.gpg"}
{NotSkip, NA, NA, "https://mirror.sjtu.edu.cn/flathub/flathub.gpg", ROUGH} /* 由于实在找不到其他可测文件,所以这也只能是 ROUGH */
},
wr_flathub_zhiyuan =
{
IS_DedicatedMirrorSite,
"sjtu-zy", "SJTUG-zhiyuan", "上海交通大学致远镜像站Flathub", "https://mirrors.sjtug.sjtu.edu.cn/",
{NotSkip, NA, NA, "https://mirrors.sjtug.sjtu.edu.cn/flathub/flathub.gpg"}
{NotSkip, NA, NA, "https://mirrors.sjtug.sjtu.edu.cn/flathub/flathub.gpg", ROUGH}
};
static Source_t wr_flathub_sources[] =
{
{&wr_flathub_upstream, "https://flathub.org/repo"},
{&wr_flathub_siyuan, "https://mirror.sjtu.edu.cn/flathub"},
{&wr_flathub_zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/flathub"},
{&wr_flathub_upstream, "https://flathub.org/repo", NULL},
{&wr_flathub_siyuan, "https://mirror.sjtu.edu.cn/flathub", DelegateToMirror},
{&wr_flathub_zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/flathub", DelegateToMirror},
};
def_sources_n(wr_flathub);

View File

@ -4,17 +4,18 @@
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-11>
* Last Modified : <2024-08-15>
* Last Modified : <2025-07-13>
* ------------------------------------------------------------*/
/**
* @update 2023-09-11
* @note
* @update 2025-07-13
*
* @note , guixcn
*/
static Source_t wr_guix_sources[] =
{
{&UpstreamProvider, NULL},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/git/guix.git"}
{&UpstreamProvider, NULL, NULL},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/git/guix.git", DelegateToMirror}
};
def_sources_n(wr_guix);
@ -38,4 +39,19 @@ wr_guix_setsrc (char *option)
chsrc_conclude (&source);
}
def_target_s (wr_guix);
Feature_t
wr_guix_feat (char *option)
{
Feature_t f = {0};
f.can_get = false;
f.can_reset = false;
f.can_english = false;
f.can_user_define = false;
return f;
}
def_target_sf(wr_guix);