mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-11 07:03:34 +08:00
Using Cook
This commit is contained in:
@@ -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();
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
@@ -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);
|
||||
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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",
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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");
|
||||
|
@@ -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);
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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");
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user