From 6776e9a1a99ad2612b11d03a032f467284eafb51 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 21 Aug 2025 17:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20wr=20=E4=B8=8E=20os=20?= =?UTF-8?q?=E7=9A=84=20`chef=5Fset=5Fcooks()`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/framework/chef.c | 6 ++++++ src/recipe/lang/JavaScript/common.h | 5 +++-- src/recipe/lang/Python/common.h | 4 ++-- src/recipe/os/APT/Debian.c | 10 +++------- src/recipe/os/APT/Kali-Linux.c | 9 +++------ src/recipe/os/APT/Linux-Lite.c | 6 ++---- src/recipe/os/APT/Linux-Mint.c | 8 +++----- src/recipe/os/APT/ROS.c | 9 +++------ src/recipe/os/APT/Raspberry-Pi-OS.c | 8 +++----- src/recipe/os/APT/Termux.c | 5 ++--- src/recipe/os/APT/Trisquel.c | 5 ++--- src/recipe/os/APT/Ubuntu.c | 10 +++------- src/recipe/os/APT/deepin.c | 8 +++----- src/recipe/os/APT/openKylin.c | 8 +++----- src/recipe/os/Alpine-Linux.c | 8 +++----- src/recipe/os/BSD/FreeBSD.c | 5 ++--- src/recipe/os/BSD/NetBSD.c | 5 ++--- src/recipe/os/BSD/OpenBSD.c | 5 ++--- src/recipe/os/Gentoo-Linux.c | 8 +++----- src/recipe/os/OpenWrt.c | 9 +++------ src/recipe/os/Solus.c | 5 ++--- src/recipe/os/Void-Linux.c | 8 +++----- src/recipe/os/YUM/AlmaLinux.c | 8 +++----- src/recipe/os/YUM/Anolis-OS.c | 5 ++--- src/recipe/os/YUM/Fedora-Linux.c | 3 +-- src/recipe/os/YUM/Rocky-Linux.c | 8 +++----- src/recipe/os/YUM/openEuler.c | 11 +++-------- src/recipe/os/openSUSE.c | 8 +++----- src/recipe/os/pacman/Arch-Linux.c | 11 ++++------- src/recipe/os/pacman/MSYS2.c | 8 +++----- src/recipe/os/pacman/Manjaro-Linux.c | 5 ++--- src/recipe/recipe-template.c | 18 ++++++++---------- src/recipe/ware/Anaconda/Anaconda.c | 9 +++------ src/recipe/ware/CocoaPods.c | 5 ++--- src/recipe/ware/Docker/Docker.c | 7 ++----- src/recipe/ware/Emacs.c | 5 ++--- src/recipe/ware/Flatpak.c | 8 +++----- src/recipe/ware/Guix.c | 5 ++--- src/recipe/ware/Homebrew/Homebrew.c | 8 +++----- src/recipe/ware/Nix.c | 5 ++--- src/recipe/ware/TeX-Live.c | 8 +++----- src/recipe/ware/WinGet.c | 7 +++---- 42 files changed, 118 insertions(+), 188 deletions(-) diff --git a/src/framework/chef.c b/src/framework/chef.c index 5dddf02..2f4c89d 100644 --- a/src/framework/chef.c +++ b/src/framework/chef.c @@ -198,6 +198,9 @@ chef_verify_contributor (const char *id) } +/** + * @brief 设置 Chef (recipe 负责人) + */ void chef_set_chef (Target_t *target, const char *id) { @@ -209,6 +212,9 @@ chef_set_chef (Target_t *target, const char *id) } +/** + * @brief 设置 Cooks (recipe 核心作者) + */ void chef_set_cooks (Target_t *target, size_t count, ...) { diff --git a/src/recipe/lang/JavaScript/common.h b/src/recipe/lang/JavaScript/common.h index cb00110..6968249 100644 --- a/src/recipe/lang/JavaScript/common.h +++ b/src/recipe/lang/JavaScript/common.h @@ -22,8 +22,9 @@ pl_js_group_prelude (void) chef_set_sources_last_updated (this, "2025-07-11"); chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 1, "happy game", "happygame1024@gmail.com"); + + chef_set_chef (this, "@happy-game"); + chef_set_contributors (this,0); chef_allow_local_mode (this, PartiallyCan, diff --git a/src/recipe/lang/Python/common.h b/src/recipe/lang/Python/common.h index cdd68d8..e207304 100644 --- a/src/recipe/lang/Python/common.h +++ b/src/recipe/lang/Python/common.h @@ -30,8 +30,8 @@ pl_python_group_prelude (void) chef_set_sources_last_updated (this, "2025-07-11"); chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 1, "happy game", "happygame1024@gmail.com"); + + chef_set_chef (this, "@happy-game"); chef_set_contributors (this, 1, "yongxiang", "1926885268@qq.com"); diff --git a/src/recipe/os/APT/Debian.c b/src/recipe/os/APT/Debian.c index af0d76f..6a998f0 100644 --- a/src/recipe/os/APT/Debian.c +++ b/src/recipe/os/APT/Debian.c @@ -14,13 +14,9 @@ os_debian_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-07-11"); - chef_set_authors (this, 2, - "Aoran Zeng", "ccmywish@qq.com", - "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Yangmoooo", "yangmoooo@outlook.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y"); + chef_set_contributors (this, 1, "@Yangmoooo"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/Kali-Linux.c b/src/recipe/os/APT/Kali-Linux.c index 341a7ba..9b5232e 100644 --- a/src/recipe/os/APT/Kali-Linux.c +++ b/src/recipe/os/APT/Kali-Linux.c @@ -14,12 +14,9 @@ os_kali_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-06-20"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 2, - "Yangmoooo", "yangmoooo@outlook.com", - "Happy Game", "happygame1024@gmail.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@G_I_Y"); + chef_set_contributors (this, 2, "@Yangmoooo", "@happy-game"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/Linux-Lite.c b/src/recipe/os/APT/Linux-Lite.c index 4814c12..44aa657 100644 --- a/src/recipe/os/APT/Linux-Lite.c +++ b/src/recipe/os/APT/Linux-Lite.c @@ -14,11 +14,9 @@ os_linuxlite_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-11-21"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Yangmoooo", "yangmoooo@outlook.com"); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Yangmoooo"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/Linux-Mint.c b/src/recipe/os/APT/Linux-Mint.c index d792935..a012c51 100644 --- a/src/recipe/os/APT/Linux-Mint.c +++ b/src/recipe/os/APT/Linux-Mint.c @@ -14,11 +14,9 @@ os_linuxmint_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-11-21"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Happy Game", "happygame1024@gmail.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@happy-game"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/ROS.c b/src/recipe/os/APT/ROS.c index 3745ba6..df1cdc9 100644 --- a/src/recipe/os/APT/ROS.c +++ b/src/recipe/os/APT/ROS.c @@ -14,12 +14,9 @@ os_ros_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-04-18"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 2, - "Aoran Zeng", "ccmywish@qq.com", - "zouri", "guoshuaisun@outlook.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@G_I_Y"); + chef_set_contributors (this, 2, "@ccmywish", "@zouri"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/Raspberry-Pi-OS.c b/src/recipe/os/APT/Raspberry-Pi-OS.c index e7b111c..1e38150 100644 --- a/src/recipe/os/APT/Raspberry-Pi-OS.c +++ b/src/recipe/os/APT/Raspberry-Pi-OS.c @@ -16,11 +16,9 @@ os_raspberrypi_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2023-09-29"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Yangmoooo", "yangmoooo@outlook.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Yangmoooo"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/Termux.c b/src/recipe/os/APT/Termux.c index 0c46a6b..08dd935 100644 --- a/src/recipe/os/APT/Termux.c +++ b/src/recipe/os/APT/Termux.c @@ -14,9 +14,8 @@ os_termux_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-03-04"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/os/APT/Trisquel.c b/src/recipe/os/APT/Trisquel.c index 9244764..935ba60 100644 --- a/src/recipe/os/APT/Trisquel.c +++ b/src/recipe/os/APT/Trisquel.c @@ -16,9 +16,8 @@ os_trisquel_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-11-21"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/os/APT/Ubuntu.c b/src/recipe/os/APT/Ubuntu.c index fd748d3..2454b0c 100644 --- a/src/recipe/os/APT/Ubuntu.c +++ b/src/recipe/os/APT/Ubuntu.c @@ -15,13 +15,9 @@ os_ubuntu_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-07-11"); - chef_set_authors (this, 2, - "Aoran Zeng", "ccmywish@qq.com", - "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Zhao", "1792582687@qq.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y"); + chef_set_contributors (this, 1, "@Zhao"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/deepin.c b/src/recipe/os/APT/deepin.c index 0caba9f..95da89e 100644 --- a/src/recipe/os/APT/deepin.c +++ b/src/recipe/os/APT/deepin.c @@ -14,11 +14,9 @@ os_deepin_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-09-14"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Yangmoooo", "yangmoooo@outlook.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@G_I_Y"); + chef_set_contributors (this, 1, "@Yangmoooo"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/APT/openKylin.c b/src/recipe/os/APT/openKylin.c index 462fecf..742669b 100644 --- a/src/recipe/os/APT/openKylin.c +++ b/src/recipe/os/APT/openKylin.c @@ -17,11 +17,9 @@ os_openkylin_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2023-09-29"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Aoran Zeng", "ccmywish@qq.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@G_I_Y"); + chef_set_contributors (this, 1, "@ccmywish"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/Alpine-Linux.c b/src/recipe/os/Alpine-Linux.c index faeb8a9..82ac21d 100644 --- a/src/recipe/os/Alpine-Linux.c +++ b/src/recipe/os/Alpine-Linux.c @@ -14,11 +14,9 @@ os_alpine_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-09-14"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Yangmoooo", "yangmoooo@outlook.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Yangmoooo"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_english(this); diff --git a/src/recipe/os/BSD/FreeBSD.c b/src/recipe/os/BSD/FreeBSD.c index b4abd58..d30f9ac 100644 --- a/src/recipe/os/BSD/FreeBSD.c +++ b/src/recipe/os/BSD/FreeBSD.c @@ -14,9 +14,8 @@ os_freebsd_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2023-09-27"); - chef_set_authors (this, 2, "Aoran Zeng", "ccmywish@qq.com", "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/os/BSD/NetBSD.c b/src/recipe/os/BSD/NetBSD.c index 1660fae..3e7a4d1 100644 --- a/src/recipe/os/BSD/NetBSD.c +++ b/src/recipe/os/BSD/NetBSD.c @@ -14,9 +14,8 @@ os_netbsd_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-07-31"); - chef_set_authors (this, 2, "Aoran Zeng", "ccmywish@qq.com", "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y"); chef_set_contributors (this, 0); diff --git a/src/recipe/os/BSD/OpenBSD.c b/src/recipe/os/BSD/OpenBSD.c index 2c50c13..5551e26 100644 --- a/src/recipe/os/BSD/OpenBSD.c +++ b/src/recipe/os/BSD/OpenBSD.c @@ -14,9 +14,8 @@ os_openbsd_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-07-31"); - chef_set_authors (this, 2, "Heng Guo", "2085471348@qq.com", "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 2, "@G_I_Y", "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/os/Gentoo-Linux.c b/src/recipe/os/Gentoo-Linux.c index 44685c9..6330cbe 100644 --- a/src/recipe/os/Gentoo-Linux.c +++ b/src/recipe/os/Gentoo-Linux.c @@ -14,11 +14,9 @@ os_gentoo_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-06-20"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Aoran Zeng", "ccmywish@qq.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@G_I_Y"); + chef_set_contributors (this, 1, "@ccmywish"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_english(this); diff --git a/src/recipe/os/OpenWrt.c b/src/recipe/os/OpenWrt.c index 2f05ddc..71bb642 100644 --- a/src/recipe/os/OpenWrt.c +++ b/src/recipe/os/OpenWrt.c @@ -14,12 +14,9 @@ os_openwrt_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-12-14"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 2, - "Yangmoooo", "yangmoooo@outlook.com", - "happy game", "happygame1024@gmail.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 2, "@Yangmoooo", "@happy-game"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_english(this); diff --git a/src/recipe/os/Solus.c b/src/recipe/os/Solus.c index 482ddfb..6542b6f 100644 --- a/src/recipe/os/Solus.c +++ b/src/recipe/os/Solus.c @@ -14,9 +14,8 @@ os_solus_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2023-09-29"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); diff --git a/src/recipe/os/Void-Linux.c b/src/recipe/os/Void-Linux.c index efd8ca9..ba500af 100644 --- a/src/recipe/os/Void-Linux.c +++ b/src/recipe/os/Void-Linux.c @@ -14,11 +14,9 @@ os_voidlinux_prelude () chef_set_last_updated (this, "2025-08-10"); 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_cooks (this, 0); - chef_set_contributors (this, 1, - "Yangmoooo", "yangmoooo@outlook.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Yangmoooo"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/YUM/AlmaLinux.c b/src/recipe/os/YUM/AlmaLinux.c index c36a2a5..ffe950f 100644 --- a/src/recipe/os/YUM/AlmaLinux.c +++ b/src/recipe/os/YUM/AlmaLinux.c @@ -14,11 +14,9 @@ os_almalinux_prelude () chef_set_last_updated (this, "2025-08-10"); 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_cooks (this, 0); - chef_set_contributors (this, 1, - "Yangmoooo", "yangmoooo@outlook.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Yangmoooo"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/YUM/Anolis-OS.c b/src/recipe/os/YUM/Anolis-OS.c index 8624ab1..fe71399 100644 --- a/src/recipe/os/YUM/Anolis-OS.c +++ b/src/recipe/os/YUM/Anolis-OS.c @@ -14,9 +14,8 @@ os_anolis_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-06-12"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/os/YUM/Fedora-Linux.c b/src/recipe/os/YUM/Fedora-Linux.c index ec3dc60..88a374b 100644 --- a/src/recipe/os/YUM/Fedora-Linux.c +++ b/src/recipe/os/YUM/Fedora-Linux.c @@ -17,8 +17,7 @@ os_fedora_prelude () chef_set_authors (this, 2, "Heng Guo", "2085471348@qq.com", "happy game", "happygame1024@gmail.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 1, "happy game", "happygame1024@gmail.com"); + chef_set_chef (this, "@happy-game"); chef_set_contributors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); diff --git a/src/recipe/os/YUM/Rocky-Linux.c b/src/recipe/os/YUM/Rocky-Linux.c index 50b3cda..33d165a 100644 --- a/src/recipe/os/YUM/Rocky-Linux.c +++ b/src/recipe/os/YUM/Rocky-Linux.c @@ -14,11 +14,9 @@ os_rockylinux_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-06-20"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "happy game", "happygame1024@gmail.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@happy-game"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/YUM/openEuler.c b/src/recipe/os/YUM/openEuler.c index b53ba11..97c3db8 100644 --- a/src/recipe/os/YUM/openEuler.c +++ b/src/recipe/os/YUM/openEuler.c @@ -14,14 +14,9 @@ os_openeuler_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-06-20"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 3, - "Aoran Zeng", "ccmywish@qq.com", - "Yangmoooo", "yangmoooo@outlook.com", - "happy game", "happygame1024@gmail.com"); - + chef_set_cooks (this, 1, "@G_I_Y"); + chef_set_chef (this, NULL); + chef_set_contributors (this, 3, "@ccmywish", "@Yangmoooo", "@happy-game"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/openSUSE.c b/src/recipe/os/openSUSE.c index 4811ff8..0f29fb0 100644 --- a/src/recipe/os/openSUSE.c +++ b/src/recipe/os/openSUSE.c @@ -14,11 +14,9 @@ os_opensuse_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-06-20"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Aoran Zeng", "ccmywish@qq.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y"); + chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/pacman/Arch-Linux.c b/src/recipe/os/pacman/Arch-Linux.c index 59d4838..0faff53 100644 --- a/src/recipe/os/pacman/Arch-Linux.c +++ b/src/recipe/os/pacman/Arch-Linux.c @@ -19,8 +19,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_cooks (this, 1, "happy game", "happygame1024@gmail.com"); + chef_set_chef (this, "@happy-game"); chef_set_contributors (this, 1, "happy game", "happygame1024@gmail.com"); @@ -123,11 +122,9 @@ os_archlinuxcn_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2024-07-03"); - chef_set_authors (this, 2, "Aoran Zeng", "ccmywish@qq.com", "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "happy game", "happygame1024@gmail.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 2, "@ccmywish", "@G_I_Y"); + chef_set_contributors (this, 1, "@happy-game"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/pacman/MSYS2.c b/src/recipe/os/pacman/MSYS2.c index 49456f2..5a2f245 100644 --- a/src/recipe/os/pacman/MSYS2.c +++ b/src/recipe/os/pacman/MSYS2.c @@ -14,11 +14,9 @@ os_msys2_prelude () chef_set_last_updated (this, "2025-08-10"); chef_set_sources_last_updated (this, "2025-06-20"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Aoran Zeng", "ccmywish@qq.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@G_I_Y"); + chef_set_contributors (this, 1, "@ccmywish"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/os/pacman/Manjaro-Linux.c b/src/recipe/os/pacman/Manjaro-Linux.c index 75d5c70..2e918f2 100644 --- a/src/recipe/os/pacman/Manjaro-Linux.c +++ b/src/recipe/os/pacman/Manjaro-Linux.c @@ -13,9 +13,8 @@ os_manjaro_prelude () chef_set_created_on (this, "2023-09-06"); chef_set_last_updated (this, "2025-08-10"); - chef_set_authors (this, 1, "Heng Guo", "2085471348@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@G_I_Y"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/recipe-template.c b/src/recipe/recipe-template.c index 8fc28bb..41a1549 100644 --- a/src/recipe/recipe-template.c +++ b/src/recipe/recipe-template.c @@ -2,11 +2,11 @@ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------- * File Name : recipe-template.c - * File Authors : Aoran Zeng - * Contributors : Nil Null + * File Authors : 曾奥然 + * Contributors : Mikachu2333 * | * Created On : <2024-08-09> - * Last Modified : <2025-08-11> + * Last Modified : <2025-08-21> * ------------------------------------------------------------- * 本文件作为一个通用模板: * @@ -66,14 +66,12 @@ void chef_set_created_on (this, "2024-08-09"); // 文件创建日期 chef_set_last_updated (this, "2025-08-12"); // 文件最后一次更新日期 - chef_set_sources_last_updated (this, "2025-08-11"); // 镜像站点最后一次更新日期 - - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); // 作者 - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); // 想一直为它贡献和更新?将自己加在这里! - chef_set_contributors (this, 1, // 为它做了贡献?将自己的信息加在这里! - "Nil Null", "nil@null.org"); + chef_set_sources_last_updated (this, "2025-08-11"); // 镜像源最后一次更新日期 + chef_set_chef (this, "@ccmywish"); // recipe 负责人 + chef_set_cooks (this, 2, "@ccmywish", "@nilnull"); // recipe 核心作者 + // 做了贡献?将自己的信息加在这里! + chef_set_contributors (this, 2, "@nulnone", "@someone"); chef_allow_local_mode (this, PartiallyCan, "具体说明是否支持项目级换源...", "Tell users the local mode support"); diff --git a/src/recipe/ware/Anaconda/Anaconda.c b/src/recipe/ware/Anaconda/Anaconda.c index f9740fb..49cee41 100644 --- a/src/recipe/ware/Anaconda/Anaconda.c +++ b/src/recipe/ware/Anaconda/Anaconda.c @@ -16,12 +16,9 @@ wr_anaconda_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-14"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 2, - "Yangmoooo", "yangmoooo@outlook.com", - "yongxiang", "1926885268@qq.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 2, "@Yangmoooo", "@yongxiang"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/ware/CocoaPods.c b/src/recipe/ware/CocoaPods.c index 3a071da..abe815a 100644 --- a/src/recipe/ware/CocoaPods.c +++ b/src/recipe/ware/CocoaPods.c @@ -14,9 +14,8 @@ wr_cocoapods_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-13"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); diff --git a/src/recipe/ware/Docker/Docker.c b/src/recipe/ware/Docker/Docker.c index 66b18ae..7404153 100644 --- a/src/recipe/ware/Docker/Docker.c +++ b/src/recipe/ware/Docker/Docker.c @@ -31,11 +31,8 @@ wr_docker_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-14"); - chef_set_authors (this, 2, - "happy game", "happygame1024@gmail.com", - "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 1, "happy game", "happygame1024@gmail.com"); + chef_set_chef (this, "@happy-game"); + chef_set_cooks (this, 2, "@happy-game", "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/ware/Emacs.c b/src/recipe/ware/Emacs.c index 3e69010..0c97887 100644 --- a/src/recipe/ware/Emacs.c +++ b/src/recipe/ware/Emacs.c @@ -21,9 +21,8 @@ wr_emacs_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-13"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/ware/Flatpak.c b/src/recipe/ware/Flatpak.c index 9492653..56de2d0 100644 --- a/src/recipe/ware/Flatpak.c +++ b/src/recipe/ware/Flatpak.c @@ -14,11 +14,9 @@ wr_flatpak_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-05-27"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Jialin Lyu", "jialinlvcn@aliyun.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@jialinlv"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/ware/Guix.c b/src/recipe/ware/Guix.c index f5f2f60..2c74c13 100644 --- a/src/recipe/ware/Guix.c +++ b/src/recipe/ware/Guix.c @@ -14,9 +14,8 @@ wr_guix_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-13"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/ware/Homebrew/Homebrew.c b/src/recipe/ware/Homebrew/Homebrew.c index fedb71d..f033a73 100644 --- a/src/recipe/ware/Homebrew/Homebrew.c +++ b/src/recipe/ware/Homebrew/Homebrew.c @@ -16,11 +16,9 @@ wr_homebrew_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-13"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Word2VecT", "tangzinan@bupt.edu.cn"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Word2VecT"; chef_allow_local_mode (this, CanNot, NULL, NULL); chef_allow_english(this); diff --git a/src/recipe/ware/Nix.c b/src/recipe/ware/Nix.c index 83d1dad..8504716 100644 --- a/src/recipe/ware/Nix.c +++ b/src/recipe/ware/Nix.c @@ -14,9 +14,8 @@ wr_nix_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-13"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); chef_set_contributors (this, 0); chef_allow_local_mode (this, CanNot, NULL, NULL); diff --git a/src/recipe/ware/TeX-Live.c b/src/recipe/ware/TeX-Live.c index 800fe39..9de3455 100644 --- a/src/recipe/ware/TeX-Live.c +++ b/src/recipe/ware/TeX-Live.c @@ -16,11 +16,9 @@ wr_tex_prelude () chef_set_last_updated (this, "2025-08-09"); chef_set_sources_last_updated (this, "2025-07-28"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, - "Mikachu2333", "mikachu.23333@zohomail.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Mikachu2333"); chef_allow_local_mode (this, CanNot, NULL, NULL); chef_forbid_english(this); diff --git a/src/recipe/ware/WinGet.c b/src/recipe/ware/WinGet.c index 4867950..70384f8 100644 --- a/src/recipe/ware/WinGet.c +++ b/src/recipe/ware/WinGet.c @@ -14,10 +14,9 @@ wr_winget_prelude () chef_set_last_updated (this, "2025-08-17"); chef_set_sources_last_updated (this, "2025-07-13"); - chef_set_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com"); - chef_set_chef (this, NULL, NULL); - chef_set_cooks (this, 0); - chef_set_contributors (this, 1, "Mikachu2333", "mikachu.23333@zohomail.com"); + chef_set_chef (this, NULL); + chef_set_cooks (this, 1, "@ccmywish"); + chef_set_contributors (this, 1, "@Mikachu2333"); chef_forbid_english(this); chef_allow_user_define(this);