Using Cook

This commit is contained in:
Aoran Zeng 2025-08-11 02:55:52 +08:00
parent d6f2d65579
commit e86afb55a6
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
72 changed files with 101 additions and 99 deletions

View File

@ -35,14 +35,14 @@
1
1. **如果你是 recipe Chef则你完全负责这个 recipe如果你拥有写权限你可以直接推送代码到 `dev` 分支**
2. 如果你是 recipe Sous Chef,则你需要参考 [04-MAINTAINERS.md](./04-MAINTAINERS.md),如果只有你一个人,且你拥有写权限,你可以直接推送代码。如果有多人,则需要提一个 issue介绍方案然后 @ 所有 Sous Chef 来 review
2. 如果你是 recipe Cook,则你需要参考 [04-MAINTAINERS.md](./04-MAINTAINERS.md),如果只有你一个人,且你拥有写权限,你可以直接推送代码。如果有多人,则需要提一个 issue介绍方案然后 @ 所有 Cook 来 review
---
2
1. 需要先搜索你修改的部分涉及到的 recipe然后提 issue @ 所有相关的 recipe Sous Chef 来 review
2. 如果涉及了所有 recipe则 @ framework Sous Chef而无需把所有 recipe 的 Sous Chef 都喊过来,但是如果觉得有必要,可以 @ 任意你觉得有能力 review 和能给出建议的人来 review
1. 需要先搜索你修改的部分涉及到的 recipe然后提 issue @ 所有相关的 recipe Cook 来 review
2. 如果涉及了所有 recipe则 @ framework Cook而无需把所有 recipe 的 Cook 都喊过来,但是如果觉得有必要,可以 @ 任意你觉得有能力 review 和能给出建议的人来 review
<br>

View File

@ -392,11 +392,6 @@ cli_print_target_features (Target_t *target, const char *input_target_name)
void
cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
{
{
char *msg = ENGLISH ? "Maintainer Information:\n" : "维护信息:\n";
say (bdgreen(msg));
}
if (target->authors && target->authors_n > 0)
{
char *msg = ENGLISH ? "Recipe Original Authors: " : "食谱原始作者: ";
@ -429,16 +424,16 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
{
char *msg = ENGLISH ? "Current Sous Chefs: " : "当前副厨: ";
if (target->sous_chefs && target->sous_chefs_n > 0)
char *msg = ENGLISH ? "Current Cooks: " : "当前副厨: ";
if (target->cooks && target->cooks_n > 0)
{
printf ("%s", bdblue(msg));
for (size_t i = 0; i < target->sous_chefs_n; i++)
for (size_t i = 0; i < target->cooks_n; i++)
{
if (i > 0) printf (", ");
printf ("%s <%s>",
target->sous_chefs[i].name ? target->sous_chefs[i].name : "Unknown",
target->sous_chefs[i].email ? target->sous_chefs[i].email : "unknown@example.com");
target->cooks[i].name ? target->cooks[i].name : "Unknown",
target->cooks[i].email ? target->cooks[i].email : "unknown@example.com");
}
printf ("\n");
}
@ -622,7 +617,6 @@ get_target (const char *input, TargetOp code, char *option)
if (target->setfn)
{
target->setfn(option);
cli_print_target_maintain_info (target, input);
}
else chsrc_error (xy_strjoin (3, "暂未对 ", input, " 实现 set 功能,邀您帮助: chsrc issue"));
}
@ -631,7 +625,6 @@ get_target (const char *input, TargetOp code, char *option)
if (target->resetfn)
{
target->resetfn(option);
cli_print_target_maintain_info (target, input);
}
else chsrc_error (xy_strjoin (3, "暂未对 ", input, " 实现 reset 功能,邀您帮助: chsrc issue"));
}
@ -640,7 +633,6 @@ get_target (const char *input, TargetOp code, char *option)
if (target->getfn)
{
target->getfn("");
cli_print_target_maintain_info (target, input);
}
else chsrc_error (xy_strjoin (3, "暂未对 ", input, " 实现 get 功能,邀您帮助: chsrc issue"));
}
@ -667,7 +659,12 @@ get_target (const char *input, TargetOp code, char *option)
cli_print_target_available_sources (target->sources, target->sources_n);
cli_print_target_features (target, input);
{
char *msg = ENGLISH ? "Maintainer Information:\n" : "维护信息:\n";
say (bdgreen(msg));
cli_print_target_maintain_info (target, input);
}
}
else if (TargetOp_Measure_Source==code)
{
@ -675,6 +672,12 @@ get_target (const char *input, TargetOp code, char *option)
return true;
}
if (TargetOp_Get_Source==code || TargetOp_Set_Source==code || TargetOp_Reset_Source==code)
{
br();
cli_print_target_maintain_info (target, input);
}
if (TargetOp_Set_Source==code || TargetOp_Measure_Source==code)
{
cli_notify_lastly_for_users();

View File

@ -161,31 +161,31 @@ chef_set_chef (Target_t *target, char *name, char *email)
void
chef_set_sous_chefs (Target_t *target, size_t count, ...)
chef_set_cooks (Target_t *target, size_t count, ...)
{
if (!target)
return;
if (count == 0)
{
target->sous_chefs = NULL;
target->sous_chefs_n = 0;
target->cooks = NULL;
target->cooks_n = 0;
return;
}
va_list args;
va_start(args, count);
target->sous_chefs = xy_malloc0 (count * sizeof(Contributor_t));
target->sous_chefs_n = count;
target->cooks = xy_malloc0 (count * sizeof(Contributor_t));
target->cooks_n = count;
for (size_t i = 0; i < count; i++)
{
char *name = va_arg(args, char*);
char *email = va_arg(args, char*);
target->sous_chefs[i].name = xy_strdup(name);
target->sous_chefs[i].email = xy_strdup(email);
target->cooks[i].name = xy_strdup(name);
target->cooks[i].email = xy_strdup(email);
}
va_end(args);

View File

@ -151,9 +151,9 @@ typedef struct Target_t
Contributor_t *contributors;
size_t contributors_n;
Contributor_t *chef; /* Chef 仅有一个 */
Contributor_t *sous_chefs; /* Sous Chef 可以有多个 */
size_t sous_chefs_n;
Contributor_t *chef; /* Chef 仅有一个 */
Contributor_t *cooks; /* Cook 可以有多个 */
size_t cooks_n;
}
Target_t;

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, FullyCan, NULL, NULL);

View File

@ -16,7 +16,7 @@ pl_dart_flutter_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_cooks (this, 0);
chef_set_contributors (this, 2,
"czyt", "czyt.go@gmail.com",
"MadDogOwner", "xiaoran@xrgzs.top");

View File

@ -16,7 +16,7 @@ pl_dart_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_cooks (this, 0);
chef_set_contributors (this, 2,
"czyt", "czyt.go@gmail.com",
"MadDogOwner", "xiaoran@xrgzs.top");

View File

@ -30,7 +30,7 @@ pl_go_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_cooks (this, 0);
chef_set_contributors (this, 2,
"czyt", "czyt.go@gmail.com",
"Rui Yang", "techoc@foxmail.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +16,7 @@ pl_java_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_cooks (this, 0);
chef_set_contributors (this, 1,
"BingChunMoLi", "bingchunmoli@bingchunmoli.com");

View File

@ -16,7 +16,7 @@ pl_js_bun_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Lontten", "lontten@163.com");

View File

@ -16,7 +16,7 @@ pl_js_yarn_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Mr. Will", "mr.will.com@outlook.com");

View File

@ -23,7 +23,7 @@ pl_js_group_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_cooks (this, 1, "happy game", "happygame1024@gmail.com");
chef_set_contributors (this,0);
chef_allow_local_mode (this, PartiallyCan,
@ -59,7 +59,7 @@ pl_js_nodejs_binary_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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_forbid_local_mode (this);

View File

@ -16,7 +16,7 @@ pl_js_npm_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Mr. Will", "mr.will.com@outlook.com");

View File

@ -16,7 +16,7 @@ pl_js_nvm_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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_forbid_local_mode (this);

View File

@ -16,7 +16,7 @@ pl_js_pnpm_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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, FullyCan, NULL, NULL);

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -23,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +16,7 @@ pl_nuget_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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, FullyCan, NULL, NULL);

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, FullyCan, "Poetry 默认使用项目级换源", "Poetry uses project-level source changing by default");

View File

@ -18,7 +18,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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, FullyCan, "支持项目级配置", "Supports project-level configuration");

View File

@ -31,10 +31,9 @@ pl_python_group_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, 2,
"yongxiang", "1926885268@qq.com",
"happy game", "happygame1024@gmail.com");
chef_set_cooks (this, 1, "happy game", "happygame1024@gmail.com");
chef_set_contributors (this, 1,
"yongxiang", "1926885268@qq.com");
chef_allow_local_mode (this, PartiallyCan, "部分包管理器支持项目级换源", "Some package managers support project-level source changing");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_forbid_local_mode (this);

View File

@ -16,7 +16,7 @@ pl_python_uv_prelude (void)
chef_set_authors (this, 1, "happy game", "happygame1024@gmail.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_cooks (this, 0);
chef_set_contributors (this, 2,
"ccy", "icuichengyi@gmail.com",
"Aoran Zeng", "ccmywish@qq.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -23,7 +23,7 @@ pl_ruby_prelude (void)
chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, "Aoran Zeng", "ccmywish@qq.com");
chef_set_sous_chefs (this, 0);
chef_set_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, PartiallyCan, "支持 bundler. 不支持 gem", "Support bundler. Not support gem");

View File

@ -16,7 +16,7 @@ pl_rust_cargo_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Mikachu2333", "mikachu.23333@zohomail.com");

View File

@ -19,7 +19,7 @@ pl_rust_rustup_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_cooks (this, 0);
chef_set_contributors (this, 2,
"Yangmoooo", "yangmoooo@outlook.com",
"Mikachu2333", "mikachu.23333@zohomail.com");

View File

@ -16,7 +16,7 @@ os_armbian_prelude ()
chef_set_authors (this, 1, "Shengwei Chen", "414685209@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_cooks (this, 0);
chef_set_contributors (this, 2,
"Aoran Zeng", "ccmywish@qq.com",
"Yangmoooo", "yangmoooo@outlook.com");

View File

@ -18,7 +18,7 @@ os_debian_prelude ()
"Aoran Zeng", "ccmywish@qq.com",
"Heng Guo", "2085471348@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_cooks (this, 0);
chef_set_contributors (this, 2,
"Yangmoooo", "yangmoooo@outlook.com",
"GitHub Copilot", "https://github.com/copilot");

View File

@ -16,7 +16,7 @@ os_kali_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_cooks (this, 0);
chef_set_contributors (this, 2,
"Yangmoooo", "yangmoooo@outlook.com",
"Happy Game", "happygame1024@gmail.com");

View File

@ -16,7 +16,7 @@ os_linuxlite_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com");

View File

@ -16,7 +16,7 @@ os_linuxmint_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Happy Game", "happygame1024@gmail.com");

View File

@ -16,7 +16,7 @@ os_ros_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_cooks (this, 0);
chef_set_contributors (this, 2,
"Aoran Zeng", "ccmywish@qq.com",
"zouri", "guoshuaisun@outlook.com");

View File

@ -18,7 +18,7 @@ os_raspberrypi_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -18,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -19,7 +19,7 @@ os_ubuntu_prelude ()
"Aoran Zeng", "ccmywish@qq.com",
"Heng Guo", "2085471348@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_cooks (this, 0);
chef_set_contributors (this, 1,
"Zhao", "1792582687@qq.com");

View File

@ -16,7 +16,7 @@ os_deepin_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com");

View File

@ -19,7 +19,7 @@ os_openkylin_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com");

View File

@ -16,7 +16,7 @@ os_alpine_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +16,7 @@ os_gentoo_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com");

View File

@ -16,7 +16,7 @@ os_openwrt_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_cooks (this, 0);
chef_set_contributors (this, 2,
"Yangmoooo", "yangmoooo@outlook.com",
"happy game", "happygame1024@gmail.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);

View File

@ -16,7 +16,7 @@ os_voidlinux_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com");

View File

@ -16,7 +16,7 @@ os_almalinux_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Yangmoooo", "yangmoooo@outlook.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -18,7 +18,7 @@ os_fedora_prelude ()
"Heng Guo", "2085471348@qq.com",
"happy game", "happygame1024@gmail.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_cooks (this, 1, "happy game", "happygame1024@gmail.com");
chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com");

View File

@ -16,7 +16,7 @@ os_rockylinux_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_cooks (this, 0);
chef_set_contributors (this, 1,
"happy game", "happygame1024@gmail.com");

View File

@ -16,7 +16,7 @@ os_openeuler_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_cooks (this, 0);
chef_set_contributors (this, 3,
"Aoran Zeng", "ccmywish@qq.com",
"Yangmoooo", "yangmoooo@outlook.com",

View File

@ -16,7 +16,7 @@ os_opensuse_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com");

View File

@ -20,7 +20,7 @@ os_arch_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_cooks (this, 1, "happy game", "happygame1024@gmail.com");
chef_set_contributors (this, 1,
"happy game", "happygame1024@gmail.com");
@ -125,7 +125,7 @@ os_archlinuxcn_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_cooks (this, 0);
chef_set_contributors (this, 1,
"happy game", "happygame1024@gmail.com");

View File

@ -16,7 +16,7 @@ os_msys2_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Aoran Zeng", "ccmywish@qq.com");

View File

@ -15,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -62,7 +62,7 @@ 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_cooks (this, 0);
chef_set_contributors (this, 1,
"Nil Null", "nil@null.org");

View File

@ -18,7 +18,7 @@ wr_anaconda_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_cooks (this, 0);
chef_set_contributors (this, 2,
"Yangmoooo", "yangmoooo@outlook.com",
"yongxiang", "1926885268@qq.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);

View File

@ -35,7 +35,7 @@ wr_docker_prelude ()
"happy game", "happygame1024@gmail.com",
"Aoran Zeng", "ccmywish@qq.com");
chef_set_chef (this, NULL, NULL);
chef_set_sous_chefs (this, 0);
chef_set_cooks (this, 1, "happy game", "happygame1024@gmail.com");
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -23,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -16,7 +16,7 @@ wr_flatpak_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Jialin Lyu", "jialinlvcn@aliyun.com");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -18,7 +18,7 @@ wr_homebrew_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Word2VecT", "tangzinan@bupt.edu.cn");

View File

@ -16,7 +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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_allow_local_mode (this, CanNot, NULL, NULL);

View File

@ -18,7 +18,7 @@ wr_tex_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_cooks (this, 0);
chef_set_contributors (this, 1,
"Mikachu2333", "mikachu.23333@zohomail.com");

View File

@ -16,7 +16,7 @@ wr_winget_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_cooks (this, 0);
chef_set_contributors (this, 0);
chef_forbid_english(this);