diff --git a/src/recipe/ware/Docker-Hub.c b/src/recipe/ware/Docker-Hub.c index b16bb75..bf0f09c 100644 --- a/src/recipe/ware/Docker-Hub.c +++ b/src/recipe/ware/Docker-Hub.c @@ -6,7 +6,7 @@ * Contributors : Nil Null * | * Created On : <2024-06-08> - * Last Modified : <2024-11-22> + * Last Modified : <2025-07-14> * ------------------------------------------------------------*/ static MirrorSite_t DaoCloud = @@ -22,37 +22,22 @@ Fit2Cloud = IS_DedicatedMirrorSite, "fit2cloud", "FIT2CLOUD", "杭州飞致云信息科技有限公司", "https://www.fit2cloud.com/", {SKIP, ToFill, ToFill, NULL, ROUGH} -}, - -Huecker = -{ - IS_DedicatedMirrorSite, - "huecker", "(Russia) Huecker", "俄罗斯 Huecker.io", "https://huecker.io/", - // 同 DaoCloud,没有合适的下载链接,先随便给一个,以避免 bug - {NotSkip, NA, NA, "https://huecker.io/en/use.html", ROUGH} }; /** - * @update 2024-07-24 - * - * @note USTC 与 SJTUG 于 2024-06-06 停止支持 DockerHub - * @note NJU 于 2024-06-07 停止支持 DockerHub + * @update 2025-07-14 * * @consult https://gist.github.com/y0ngb1n/7e8f16af3242c7815e7ca2f0833d3ea6 */ static Source_t wr_dockerhub_sources[] = { - {&UpstreamProvider, NULL}, - // {&Ustc, "https://docker.mirrors.ustc.edu.cn/"}, + {&UpstreamProvider, NULL, NULL}, + // {&Ustc, "https://docker.mirrors.ustc.edu.cn/", NULL}, // https://github.com/DaoCloud/public-image-mirror - {&DaoCloud, "https://docker.m.daocloud.io"}, - {&Fit2Cloud, "https://docker.1panel.live"}, - - // 暂时加入,未来若国内镜像恢复,将删除 - // https://huecker.io/en/use.html#unbanned - {&Huecker, "https://huecker.io"} + {&DaoCloud, "https://docker.m.daocloud.io", NULL}, + {&Fit2Cloud, "https://docker.1panel.live", NULL} }; def_sources_n(wr_dockerhub); diff --git a/src/recipe/ware/Docker-Hub/README.md b/src/recipe/ware/Docker-Hub/README.md new file mode 100644 index 0000000..3115732 --- /dev/null +++ b/src/recipe/ware/Docker-Hub/README.md @@ -0,0 +1,4 @@ +# Docker Hub + +- USTC 与 SJTUG 于 2024-06-06 停止支持 DockerHub +- NJU 于 2024-06-07 停止支持 DockerHub diff --git a/src/recipe/ware/Emacs.c b/src/recipe/ware/Emacs.c index 73206fa..8f59ab9 100644 --- a/src/recipe/ware/Emacs.c +++ b/src/recipe/ware/Emacs.c @@ -21,13 +21,13 @@ static MirrorSite_t EmacsChina = Source_t wr_emacs_sources[] = { {&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/"}, - {&Ustc, "https://mirrors.ustc.edu.cn/help/elpa.html"}, - {&Zju, "https://mirrors.zju.edu.cn/docs/elpa/"}, - {&EmacsChina, "https://elpamirror.emacs-china.org/"} + {&MirrorZ, "https://help.mirrors.cernet.edu.cn/elpa/", NULL}, + {&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/docs/emacs-elpa", NULL}, + {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/help/elpa/", NULL}, + {&Bfsu, "https://mirrors.bfsu.edu.cn/help/elpa/", NULL}, + {&Ustc, "https://mirrors.ustc.edu.cn/help/elpa.html", NULL}, + {&Zju, "https://mirrors.zju.edu.cn/docs/elpa/", NULL}, + {&EmacsChina, "https://elpamirror.emacs-china.org/", NULL} }; def_sources_n(wr_emacs); @@ -38,7 +38,7 @@ wr_emacs_setsrc (char *option) chsrc_yield_source_and_confirm (wr_emacs); chsrc_note2 ("Emacs换源涉及Elisp,需要手动查阅并换源:"); - p(source.url); + p (source.url); chsrc_determine_chgtype (ChgType_Manual); chsrc_conclude (&source);