Update recipes

This commit is contained in:
Aoran Zeng 2025-08-10 18:55:52 +08:00
parent 616b0caa48
commit bef1fc9f26
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
34 changed files with 67 additions and 113 deletions

View File

@ -1103,13 +1103,6 @@ chsrc_set_sources_speed_measure_url_with_func (
for (int i=0; i<n; i++)
{
ProviderType_t type = src->provider->type;
if (IS_DedicatedMirrorSite==type)
{
/* 这个不用填因为定义它的时候如果给了整体测速URL则就是ACCURATE的我们直接会DelegateTo那里 */
continue;
}
if (src->url)
{
/* 为空时才修改 或者里面是脏数据 */

View File

@ -16,8 +16,7 @@ pl_clojure_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_haskell_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_set();

View File

@ -23,7 +23,7 @@ pl_js_bun_prelude (void)
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");
chef_allow_local_mode (this, FullyCan, NULL, NULL);
chef_allow_english(this);
chef_allow_user_define(this);

View File

@ -23,7 +23,7 @@ pl_js_yarn_prelude (void)
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");
chef_allow_local_mode (this, FullyCan, NULL, NULL);
chef_allow_english(this);
chef_allow_user_define(this);

View File

@ -29,7 +29,9 @@ pl_js_group_prelude (void)
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, PartiallyCan, "部分包管理器支持项目级换源", "Some package managers support project-level source changing");
chef_allow_local_mode (this, PartiallyCan,
"支持 npm, yarn v2, pnpm, 不支持 yarn v1"
"Support npm, yarn v2, pnpm, not yarn v1");
chef_allow_english(this);
chef_allow_user_define(this);
@ -46,12 +48,12 @@ pl_js_group_prelude (void)
def_target(pl_js_binary_release);
def_target(pl_js_nodejs_binary);
void
pl_js_binary_release_prelude (void)
pl_js_nodejs_binary_prelude (void)
{
use_this(pl_js_binary_release);
use_this(pl_js_nodejs_binary);
chef_set_created_on (this, "2023-09-09");
chef_set_last_updated (this, "2025-07-11");
@ -60,8 +62,7 @@ pl_js_binary_release_prelude (void)
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nul None", "nul@none.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -23,7 +23,7 @@ pl_js_npm_prelude (void)
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");
chef_allow_local_mode (this, FullyCan, NULL, NULL);
chef_allow_english(this);
chef_allow_user_define(this);

View File

@ -29,9 +29,9 @@ pl_js_nvm_prelude (void)
chef_set_note ("nvm does not support Fish", "nvm 不支持 Fish shell");
// 使用 pl_js_binary_release 的源
this->sources = pl_js_binary_release_target.sources;
this->sources_n = pl_js_binary_release_target.sources_n;
// 使用 pl_js_nodejs_binary 的源
this->sources = pl_js_nodejs_binary_target.sources;
this->sources_n = pl_js_nodejs_binary_target.sources_n;
}

View File

@ -23,7 +23,7 @@ pl_js_pnpm_prelude (void)
chef_allow_set();
chef_allow_reset();
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");
chef_allow_local_mode (this, FullyCan, NULL, NULL);
chef_allow_english(this);
chef_allow_user_define(this);

View File

@ -16,8 +16,7 @@ pl_julia_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -23,8 +23,7 @@ pl_lua_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_ocaml_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_php_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_perl_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_python_pdm_prelude (void)
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nul None", "nul@none.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_python_poetry_prelude (void)
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_python_rye_prelude (void)
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nul None", "nul@none.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_python_pip_prelude (void)
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nul None", "nul@none.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ pl_r_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -22,10 +22,9 @@ pl_ruby_prelude (void)
chef_set_sources_last_updated (this, "2024-12-18");
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_chef (this, "Aoran Zeng", "ccmywish@qq.com");
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -3,7 +3,7 @@
* ------------------------------------------------------------*/
// Size: 20MB
#define PL_Rustup_Speed_URL_Suffix "/dist/2025-06-26/cargo-1.88.0-x86_64-unknown-illumos.tar.gz"
#define PL_Rustup_Speed_URL_Suffix
def_target(pl_rust_rustup);
@ -32,34 +32,20 @@ pl_rust_rustup_prelude (void)
chef_allow_user_define(this);
def_sources_begin()
{&upstream, "https://static.rust-lang.org",
"https://static.rust-lang.org" PL_Rustup_Speed_URL_Suffix},
{&MirrorZ, "https://mirrors.cernet.edu.cn/rustup", NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup",
"https://mirrors.tuna.tsinghua.edu.cn/rustup" PL_Rustup_Speed_URL_Suffix},
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static",
"https://mirrors.ustc.edu.cn/rust-static" PL_Rustup_Speed_URL_Suffix},
{&Nju, "https://mirror.nju.edu.cn/rustup",
"https://mirror.nju.edu.cn/rustup" PL_Rustup_Speed_URL_Suffix},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static",
"https://mirror.sjtu.edu.cn/rust-static" PL_Rustup_Speed_URL_Suffix},
{&Zju, "https://mirrors.zju.edu.cn/rustup",
"https://mirrors.zju.edu.cn/rustup" PL_Rustup_Speed_URL_Suffix},
{&Iscas, "https://mirror.iscas.ac.cn/rustup",
"https://mirror.iscas.ac.cn/rustup" PL_Rustup_Speed_URL_Suffix},
{&Ali, "https://mirrors.aliyun.com/rustup",
"https://mirrors.aliyun.com/rustup" PL_Rustup_Speed_URL_Suffix},
{&RsProxyCN, "https://rsproxy.cn",
"https://rsproxy.cn" PL_Rustup_Speed_URL_Suffix}
{&upstream, "https://static.rust-lang.org", FeedByPrelude},
{&MirrorZ, "https://mirrors.cernet.edu.cn/rustup", FeedByPrelude},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup", FeedByPrelude},
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static", FeedByPrelude},
{&Nju, "https://mirror.nju.edu.cn/rustup", FeedByPrelude},
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static", FeedByPrelude},
{&Zju, "https://mirrors.zju.edu.cn/rustup", FeedByPrelude},
{&Iscas, "https://mirror.iscas.ac.cn/rustup", FeedByPrelude},
{&Ali, "https://mirrors.aliyun.com/rustup", FeedByPrelude},
{&RsProxyCN, "https://rsproxy.cn", FeedByPrelude}
def_sources_end()
// 20MB大小
chsrc_set_sources_speed_measure_url_with_postfix (this, "/dist/2025-06-26/cargo-1.88.0-x86_64-unknown-illumos.tar.gz")
}

View File

@ -16,8 +16,7 @@ os_termux_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nul None", "nul@none.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -18,8 +18,7 @@ os_trisquel_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ os_freebsd_prelude ()
chef_set_authors (this, 2, "Aoran Zeng", "ccmywish@qq.com", "Heng Guo", "2085471348@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_set();

View File

@ -16,8 +16,7 @@ os_netbsd_prelude ()
chef_set_authors (this, 2, "Aoran Zeng", "ccmywish@qq.com", "Heng Guo", "2085471348@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ os_openbsd_prelude ()
chef_set_authors (this, 2, "Heng Guo", "2085471348@qq.com", "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ os_solus_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
// chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ os_anolis_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_set();

View File

@ -15,8 +15,7 @@ os_manjaro_prelude ()
chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_set();

View File

@ -16,8 +16,7 @@ wr_cocoapods_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
// chef_allow_get();
chef_allow_set();

View File

@ -35,8 +35,7 @@ wr_dockerhub_prelude ()
"Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
chef_allow_get();
chef_allow_set();

View File

@ -23,8 +23,7 @@ wr_emacs_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
// chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ wr_guix_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
// chef_allow_get();
chef_allow_set();

View File

@ -16,8 +16,7 @@ wr_nix_prelude ()
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");
chef_set_contributors (this, 0);
// chef_allow_get();
chef_allow_set();