Skip to content

Commit 6776e9a

Browse files
committed
更新 wr 与 os 的 chef_set_cooks()
1 parent c609a10 commit 6776e9a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+118
-188
lines changed

src/framework/chef.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ chef_verify_contributor (const char *id)
198198
}
199199

200200

201+
/**
202+
* @brief 设置 Chef (recipe 负责人)
203+
*/
201204
void
202205
chef_set_chef (Target_t *target, const char *id)
203206
{
@@ -209,6 +212,9 @@ chef_set_chef (Target_t *target, const char *id)
209212
}
210213

211214

215+
/**
216+
* @brief 设置 Cooks (recipe 核心作者)
217+
*/
212218
void
213219
chef_set_cooks (Target_t *target, size_t count, ...)
214220
{

src/recipe/lang/JavaScript/common.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ pl_js_group_prelude (void)
2222
chef_set_sources_last_updated (this, "2025-07-11");
2323

2424
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]");
25-
chef_set_chef (this, NULL, NULL);
26-
chef_set_cooks (this, 1, "happy game", "[email protected]");
25+
26+
chef_set_chef (this, "@happy-game");
27+
2728
chef_set_contributors (this,0);
2829

2930
chef_allow_local_mode (this, PartiallyCan,

src/recipe/lang/Python/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ pl_python_group_prelude (void)
3030
chef_set_sources_last_updated (this, "2025-07-11");
3131

3232
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]");
33-
chef_set_chef (this, NULL, NULL);
34-
chef_set_cooks (this, 1, "happy game", "[email protected]");
33+
34+
chef_set_chef (this, "@happy-game");
3535
chef_set_contributors (this, 1,
3636
"yongxiang", "[email protected]");
3737

src/recipe/os/APT/Debian.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ os_debian_prelude ()
1414
chef_set_last_updated (this, "2025-08-10");
1515
chef_set_sources_last_updated (this, "2025-07-11");
1616

17-
chef_set_authors (this, 2,
18-
"Aoran Zeng", "[email protected]",
19-
"Heng Guo", "[email protected]");
20-
chef_set_chef (this, NULL, NULL);
21-
chef_set_cooks (this, 0);
22-
chef_set_contributors (this, 1,
23-
"Yangmoooo", "[email protected]");
17+
chef_set_chef (this, NULL);
18+
chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y");
19+
chef_set_contributors (this, 1, "@Yangmoooo");
2420

2521
chef_allow_local_mode (this, CanNot, NULL, NULL);
2622
chef_forbid_english(this);

src/recipe/os/APT/Kali-Linux.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ os_kali_prelude ()
1414
chef_set_last_updated (this, "2025-08-10");
1515
chef_set_sources_last_updated (this, "2025-06-20");
1616

17-
chef_set_authors (this, 1, "Heng Guo", "[email protected]");
18-
chef_set_chef (this, NULL, NULL);
19-
chef_set_cooks (this, 0);
20-
chef_set_contributors (this, 2,
21-
"Yangmoooo", "[email protected]",
22-
"Happy Game", "[email protected]");
17+
chef_set_chef (this, NULL);
18+
chef_set_cooks (this, 1, "@G_I_Y");
19+
chef_set_contributors (this, 2, "@Yangmoooo", "@happy-game");
2320

2421
chef_allow_local_mode (this, CanNot, NULL, NULL);
2522
chef_forbid_english(this);

src/recipe/os/APT/Linux-Lite.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ os_linuxlite_prelude ()
1414
chef_set_last_updated (this, "2025-08-10");
1515
chef_set_sources_last_updated (this, "2024-11-21");
1616

17-
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]");
1817
chef_set_chef (this, NULL, NULL);
19-
chef_set_cooks (this, 0);
20-
chef_set_contributors (this, 1,
21-
"Yangmoooo", "[email protected]");
18+
chef_set_cooks (this, 1, "@ccmywish");
19+
chef_set_contributors (this, 1, "@Yangmoooo");
2220

2321
chef_allow_local_mode (this, CanNot, NULL, NULL);
2422
chef_forbid_english(this);

src/recipe/os/APT/Linux-Mint.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ os_linuxmint_prelude ()
1414
chef_set_last_updated (this, "2025-08-10");
1515
chef_set_sources_last_updated (this, "2024-11-21");
1616

17-
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]");
18-
chef_set_chef (this, NULL, NULL);
19-
chef_set_cooks (this, 0);
20-
chef_set_contributors (this, 1,
21-
"Happy Game", "[email protected]");
17+
chef_set_chef (this, NULL);
18+
chef_set_cooks (this, 1, "@ccmywish");
19+
chef_set_contributors (this, 1, "@happy-game");
2220

2321
chef_allow_local_mode (this, CanNot, NULL, NULL);
2422
chef_forbid_english(this);

src/recipe/os/APT/ROS.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ os_ros_prelude ()
1414
chef_set_last_updated (this, "2025-08-10");
1515
chef_set_sources_last_updated (this, "2024-04-18");
1616

17-
chef_set_authors (this, 1, "Heng Guo", "[email protected]");
18-
chef_set_chef (this, NULL, NULL);
19-
chef_set_cooks (this, 0);
20-
chef_set_contributors (this, 2,
21-
"Aoran Zeng", "[email protected]",
22-
"zouri", "[email protected]");
17+
chef_set_chef (this, NULL);
18+
chef_set_cooks (this, 1, "@G_I_Y");
19+
chef_set_contributors (this, 2, "@ccmywish", "@zouri");
2320

2421
chef_allow_local_mode (this, CanNot, NULL, NULL);
2522
chef_forbid_english(this);

src/recipe/os/APT/Raspberry-Pi-OS.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ os_raspberrypi_prelude ()
1616
chef_set_last_updated (this, "2025-08-10");
1717
chef_set_sources_last_updated (this, "2023-09-29");
1818

19-
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]");
20-
chef_set_chef (this, NULL, NULL);
21-
chef_set_cooks (this, 0);
22-
chef_set_contributors (this, 1,
23-
"Yangmoooo", "[email protected]");
19+
chef_set_chef (this, NULL);
20+
chef_set_cooks (this, 1, "@ccmywish");
21+
chef_set_contributors (this, 1, "@Yangmoooo");
2422

2523
chef_allow_local_mode (this, CanNot, NULL, NULL);
2624
chef_forbid_english(this);

src/recipe/os/APT/Termux.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ os_termux_prelude ()
1414
chef_set_last_updated (this, "2025-08-10");
1515
chef_set_sources_last_updated (this, "2025-03-04");
1616

17-
chef_set_authors (this, 1, "Aoran Zeng", "[email protected]");
18-
chef_set_chef (this, NULL, NULL);
19-
chef_set_cooks (this, 0);
17+
chef_set_chef (this, NULL);
18+
chef_set_cooks (this, 1, "@ccmywish");
2019
chef_set_contributors (this, 0);
2120

2221
chef_allow_local_mode (this, CanNot, NULL, NULL);

0 commit comments

Comments
 (0)