mirror of
https://github.com/RubyMetric/chsrc
synced 2025-08-14 00:20:47 +08:00
Use allow_
This commit is contained in:
parent
d6fbaf91ce
commit
e235b6dd17
@ -46,9 +46,9 @@ chef_ensure_trailing_slash (char *str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#define chef_has_get() this->getfn = t##_getsrc;
|
#define chef_allow_get() this->getfn = t##_getsrc;
|
||||||
#define chef_has_set() this->setfn = t##_setsrc;
|
#define chef_allow_set() this->setfn = t##_setsrc;
|
||||||
#define chef_has_reset() this->resetfn = t##_resetsrc;
|
#define chef_allow_reset() this->resetfn = t##_resetsrc;
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -20,9 +20,9 @@ os_armbian_prelude ()
|
|||||||
"Aoran Zeng", "ccmywish@qq.com",
|
"Aoran Zeng", "ccmywish@qq.com",
|
||||||
"Yangmoooo", "yangmoooo@outlook.com");
|
"Yangmoooo", "yangmoooo@outlook.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
|
|
||||||
def_upstream("http://apt.armbian.com");
|
def_upstream("http://apt.armbian.com");
|
||||||
def_sources_begin(os_armbian)
|
def_sources_begin(os_armbian)
|
||||||
|
@ -24,9 +24,9 @@ os_debian_prelude ()
|
|||||||
"Yangmoooo", "yangmoooo@outlook.com",
|
"Yangmoooo", "yangmoooo@outlook.com",
|
||||||
"GitHub Copilot", "https://github.com/copilot");
|
"GitHub Copilot", "https://github.com/copilot");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
|
|
||||||
def_upstream("http://deb.debian.org/debian");
|
def_upstream("http://deb.debian.org/debian");
|
||||||
def_sources_begin(os_debian)
|
def_sources_begin(os_debian)
|
||||||
|
@ -20,9 +20,9 @@ os_kali_prelude ()
|
|||||||
"Yangmoooo", "yangmoooo@outlook.com",
|
"Yangmoooo", "yangmoooo@outlook.com",
|
||||||
"Happy Game", "happygame1024@gmail.com");
|
"Happy Game", "happygame1024@gmail.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
|
|
||||||
def_upstream("http://http.kali.org/kali");
|
def_upstream("http://http.kali.org/kali");
|
||||||
def_sources_begin(os_kali)
|
def_sources_begin(os_kali)
|
||||||
|
@ -19,9 +19,9 @@ os_linuxlite_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Yangmoooo", "yangmoooo@outlook.com");
|
"Yangmoooo", "yangmoooo@outlook.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
|
|
||||||
def_upstream("http://repo.linuxliteos.com/linuxlite/");
|
def_upstream("http://repo.linuxliteos.com/linuxlite/");
|
||||||
def_sources_begin(os_linuxlite)
|
def_sources_begin(os_linuxlite)
|
||||||
|
@ -19,9 +19,9 @@ os_linuxmint_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Happy Game", "happygame1024@gmail.com");
|
"Happy Game", "happygame1024@gmail.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
|
|
||||||
/* @note 实际上镜像站里的内容和Ubuntu的不太一样 */
|
/* @note 实际上镜像站里的内容和Ubuntu的不太一样 */
|
||||||
def_upstream("http://packages.linuxmint.com");
|
def_upstream("http://packages.linuxmint.com");
|
||||||
|
@ -20,9 +20,9 @@ os_ros_prelude ()
|
|||||||
"Aoran Zeng", "ccmywish@qq.com",
|
"Aoran Zeng", "ccmywish@qq.com",
|
||||||
"zouri", "guoshuaisun@outlook.com");
|
"zouri", "guoshuaisun@outlook.com");
|
||||||
|
|
||||||
chef_has_get();
|
chef_allow_get();
|
||||||
chef_has_set();
|
chef_allow_set();
|
||||||
chef_has_reset();
|
chef_allow_reset();
|
||||||
|
|
||||||
this.note = "该换源方案中,URL存在拼凑,因此不能手动使用某URL来换源";
|
this.note = "该换源方案中,URL存在拼凑,因此不能手动使用某URL来换源";
|
||||||
|
|
||||||
|
@ -19,9 +19,9 @@ os_raspberrypi_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Yangmoooo", "yangmoooo@outlook.com");
|
"Yangmoooo", "yangmoooo@outlook.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetfn();
|
chef_allow_reset();
|
||||||
|
|
||||||
/* Raspberry Pi OS 树莓派操作系统,以前称为 Raspbian */
|
/* Raspberry Pi OS 树莓派操作系统,以前称为 Raspbian */
|
||||||
def_upstream("https://archive.raspberrypi.com/");
|
def_upstream("https://archive.raspberrypi.com/");
|
||||||
|
@ -19,9 +19,9 @@ os_termux_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nul None", "nul@none.org");
|
"Nul None", "nul@none.org");
|
||||||
|
|
||||||
chef_has_get();
|
chef_allow_get();
|
||||||
chef_has_set();
|
chef_allow_set();
|
||||||
chef_has_reset();
|
chef_allow_reset();
|
||||||
this.note = "该 recipe 存在对应的 bootstrapper";
|
this.note = "该 recipe 存在对应的 bootstrapper";
|
||||||
|
|
||||||
def_upstream("https://packages.termux.org/apt/termux-main/");
|
def_upstream("https://packages.termux.org/apt/termux-main/");
|
||||||
|
@ -19,9 +19,9 @@ os_trisquel_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
chef_has_get();
|
chef_allow_get();
|
||||||
chef_has_set();
|
chef_allow_set();
|
||||||
chef_has_reset();
|
chef_allow_reset();
|
||||||
|
|
||||||
/* Trisquel基于Ubuntu开发,不含任何专有软件及专有固件,内核使用 Linux-libre */
|
/* Trisquel基于Ubuntu开发,不含任何专有软件及专有固件,内核使用 Linux-libre */
|
||||||
def_upstream("http://archive.trisquel.info/trisquel/");
|
def_upstream("http://archive.trisquel.info/trisquel/");
|
||||||
|
@ -21,9 +21,9 @@ os_ubuntu_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Zhao", "1792582687@qq.com");
|
"Zhao", "1792582687@qq.com");
|
||||||
|
|
||||||
chef_has_getfn;
|
chef_allow_get();
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
chef_has_resetsrc;
|
chef_allow_reset();
|
||||||
|
|
||||||
#define OS_Ubuntu_Speed_URL_Postfix "/dists/noble/Contents-amd64.gz"
|
#define OS_Ubuntu_Speed_URL_Postfix "/dists/noble/Contents-amd64.gz"
|
||||||
|
|
||||||
|
@ -19,9 +19,9 @@ os_deepin_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Yangmoooo", "yangmoooo@outlook.com");
|
"Yangmoooo", "yangmoooo@outlook.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
|
|
||||||
def_upstream("https://community-packages.deepin.com/deepin");
|
def_upstream("https://community-packages.deepin.com/deepin");
|
||||||
def_sources_begin(os_deepin)
|
def_sources_begin(os_deepin)
|
||||||
|
@ -19,9 +19,9 @@ os_openkylin_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Aoran Zeng", "ccmywish@qq.com");
|
"Aoran Zeng", "ccmywish@qq.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetfn();
|
chef_allow_reset();
|
||||||
|
|
||||||
/* openKylin直接基于Linux内核开发,属于和Debian、openSUSE、Fedora、Arch
|
/* openKylin直接基于Linux内核开发,属于和Debian、openSUSE、Fedora、Arch
|
||||||
* 同一级别的、根社区发布的系统 */
|
* 同一级别的、根社区发布的系统 */
|
||||||
|
@ -25,9 +25,9 @@ os_alpine_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Yangmoooo", "yangmoooo@outlook.com");
|
"Yangmoooo", "yangmoooo@outlook.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = true;
|
this.can_english = true;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
chef_set_created_on ("2023-09-03");
|
chef_set_created_on ("2023-09-03");
|
||||||
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
||||||
chef_set_contributors ("Nil Null <nil@null.org>");
|
chef_set_contributors ("Nil Null <nil@null.org>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
chef_set_created_on ("2023-09-05");
|
chef_set_created_on ("2023-09-05");
|
||||||
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
||||||
chef_set_contributors ("Nil Null <nil@null.org>");
|
chef_set_contributors ("Nil Null <nil@null.org>");
|
||||||
chef_has_getfn;
|
chef_allow_get();
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
chef_set_created_on ("2023-09-03");
|
chef_set_created_on ("2023-09-03");
|
||||||
chef_set_authors ("Heng Guo <2085471348@qq.com>", "Aoran Zeng <ccmywish@qq.com>");
|
chef_set_authors ("Heng Guo <2085471348@qq.com>", "Aoran Zeng <ccmywish@qq.com>");
|
||||||
chef_set_contributors ("Nil Null <nil@null.org>");
|
chef_set_contributors ("Nil Null <nil@null.org>");
|
||||||
chef_has_getfn;
|
chef_allow_get();
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,9 +19,9 @@ os_gentoo_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Aoran Zeng", "ccmywish@qq.com");
|
"Aoran Zeng", "ccmywish@qq.com");
|
||||||
|
|
||||||
// chef_has_getfn();
|
// chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = true;
|
this.can_english = true;
|
||||||
|
@ -26,9 +26,9 @@ os_openwrt_prelude ()
|
|||||||
"Yangmoooo", "yangmoooo@outlook.com",
|
"Yangmoooo", "yangmoooo@outlook.com",
|
||||||
"happy game", "happygame1024@gmail.com");
|
"happy game", "happygame1024@gmail.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = true;
|
this.can_english = true;
|
||||||
|
@ -19,9 +19,9 @@ os_solus_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
// chef_has_getfn();
|
// chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -25,9 +25,9 @@ os_voidlinux_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Yangmoooo", "yangmoooo@outlook.com");
|
"Yangmoooo", "yangmoooo@outlook.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
chef_set_created_on ("2024-06-12");
|
chef_set_created_on ("2024-06-12");
|
||||||
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>");
|
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>");
|
||||||
chef_set_contributors ("Yangmoooo <yangmoooo@outlook.com>");
|
chef_set_contributors ("Yangmoooo <yangmoooo@outlook.com>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
static SourceProvider_t os_almalinux_upstream =
|
static SourceProvider_t os_almalinux_upstream =
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
chef_set_created_on ("2023-09-24");
|
chef_set_created_on ("2023-09-24");
|
||||||
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>");
|
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>");
|
||||||
chef_set_contributors ("Nil Null <nil@null.org>");
|
chef_set_contributors ("Nil Null <nil@null.org>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
chef_set_created_on ("2023-09-26");
|
chef_set_created_on ("2023-09-26");
|
||||||
chef_set_authors ("Heng Guo <2085471348@qq.com>", "happy game <happygame1024@gmail.com>");
|
chef_set_authors ("Heng Guo <2085471348@qq.com>", "happy game <happygame1024@gmail.com>");
|
||||||
chef_set_contributors ("Aoran Zeng <ccmywish@qq.com>");
|
chef_set_contributors ("Aoran Zeng <ccmywish@qq.com>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
chef_has_resetsrc;
|
chef_allow_reset();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
chef_set_created_on ("2023-09-24");
|
chef_set_created_on ("2023-09-24");
|
||||||
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>");
|
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>");
|
||||||
chef_set_contributors ("happy game <happygame1024@gmail.com>");
|
chef_set_contributors ("happy game <happygame1024@gmail.com>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
chef_has_resetsrc;
|
chef_allow_reset();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
chef_set_created_on ("2023-09-06");
|
chef_set_created_on ("2023-09-06");
|
||||||
chef_set_authors ("Heng Guo <2085471348@qq.com>");
|
chef_set_authors ("Heng Guo <2085471348@qq.com>");
|
||||||
chef_set_contributors ("Aoran Zeng <ccmywish@qq.com>", "Yangmoooo <yangmoooo@outlook.com>", "happy game <happygame1024@gmail.com>");
|
chef_set_contributors ("Aoran Zeng <ccmywish@qq.com>", "Yangmoooo <yangmoooo@outlook.com>", "happy game <happygame1024@gmail.com>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
static SourceProvider_t os_openEuler_upstream =
|
static SourceProvider_t os_openEuler_upstream =
|
||||||
@ -85,6 +85,6 @@ os_openeuler_resetsrc (char *option)
|
|||||||
/**
|
/**
|
||||||
* chsrc ls openeuler
|
* chsrc ls openeuler
|
||||||
*/
|
*/
|
||||||
chef_has_getfn;
|
chef_allow_get();
|
||||||
chef_has_resetsrc;
|
chef_allow_reset();
|
||||||
def_target(os_openeuler);
|
def_target(os_openeuler);
|
||||||
|
@ -19,9 +19,9 @@ os_opensuse_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Aoran Zeng", "ccmywish@qq.com");
|
"Aoran Zeng", "ccmywish@qq.com");
|
||||||
|
|
||||||
// chef_has_getfn();
|
// chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
chef_set_created_on ("2023-09-05");
|
chef_set_created_on ("2023-09-05");
|
||||||
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
||||||
chef_set_contributors ("happy game <happygame1024@gmail.com>");
|
chef_set_contributors ("happy game <happygame1024@gmail.com>");
|
||||||
chef_has_getfn;
|
chef_allow_get();
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
chef_note("可额外使用 chsrc set archlinuxcn 来更换 Arch Linux CN Repository 源");
|
chef_note("可额外使用 chsrc set archlinuxcn 来更换 Arch Linux CN Repository 源");
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
@ -157,7 +157,7 @@ def_target(os_arch);
|
|||||||
chef_set_created_on ("2023-09-05");
|
chef_set_created_on ("2023-09-05");
|
||||||
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
|
||||||
chef_set_contributors ("happy game <happygame1024@gmail.com>");
|
chef_set_contributors ("happy game <happygame1024@gmail.com>");
|
||||||
chef_has_getfn;
|
chef_allow_get();
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
chef_note("可额外使用 chsrc set arch 来更换 Arch Linux 源");
|
chef_note("可额外使用 chsrc set arch 来更换 Arch Linux 源");
|
||||||
def_target(os_archlinuxcn);
|
def_target(os_archlinuxcn);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
chef_set_created_on ("2023-09-06");
|
chef_set_created_on ("2023-09-06");
|
||||||
chef_set_authors ("Heng Guo <2085471348@qq.com>");
|
chef_set_authors ("Heng Guo <2085471348@qq.com>");
|
||||||
chef_set_contributors ("Aoran Zeng <ccmywish@qq.com>");
|
chef_set_contributors ("Aoran Zeng <ccmywish@qq.com>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
chef_set_created_on ("2023-09-06");
|
chef_set_created_on ("2023-09-06");
|
||||||
chef_set_authors ("Heng Guo <2085471348@qq.com>");
|
chef_set_authors ("Heng Guo <2085471348@qq.com>");
|
||||||
chef_set_contributors ("Nil Null <nil@null.org>");
|
chef_set_contributors ("Nil Null <nil@null.org>");
|
||||||
chef_has_setfn;
|
chef_allow_set();
|
||||||
use_this;
|
use_this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -62,9 +62,9 @@ void
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
chef_has_get();
|
chef_allow_get();
|
||||||
chef_has_set();
|
chef_allow_set();
|
||||||
chef_has_reset();
|
chef_allow_reset();
|
||||||
this.cap_local = PartiallyCan;
|
this.cap_local = PartiallyCan;
|
||||||
this.cap_local_explain = "具体说明是否支持项目级换源...";
|
this.cap_local_explain = "具体说明是否支持项目级换源...";
|
||||||
|
|
||||||
|
@ -22,9 +22,9 @@ wr_anaconda_prelude ()
|
|||||||
"Yangmoooo", "yangmoooo@outlook.com",
|
"Yangmoooo", "yangmoooo@outlook.com",
|
||||||
"yongxiang", "1926885268@qq.com");
|
"yongxiang", "1926885268@qq.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -19,9 +19,9 @@ wr_cocoapods_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
// chef_has_getfn();
|
// chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -38,9 +38,9 @@ wr_dockerhub_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -26,9 +26,9 @@ wr_emacs_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
// chef_has_getfn();
|
// chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -19,9 +19,9 @@ wr_flathub_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Jialin Lyu", "jialinlvcn@aliyun.com");
|
"Jialin Lyu", "jialinlvcn@aliyun.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -19,9 +19,9 @@ wr_guix_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
// chef_has_getfn();
|
// chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -21,9 +21,9 @@ wr_homebrew_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Word2VecT", "tangzinan@bupt.edu.cn");
|
"Word2VecT", "tangzinan@bupt.edu.cn");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = true;
|
this.can_english = true;
|
||||||
|
@ -19,9 +19,9 @@ wr_nix_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Nil Null", "nil@null.org");
|
"Nil Null", "nil@null.org");
|
||||||
|
|
||||||
// chef_has_getfn();
|
// chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -21,9 +21,9 @@ wr_tex_prelude ()
|
|||||||
chef_set_contributors (this, 1,
|
chef_set_contributors (this, 1,
|
||||||
"Mikachu2333", "mikachu.23333@zohomail.com");
|
"Mikachu2333", "mikachu.23333@zohomail.com");
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
// chef_has_resetsrc();
|
// chef_allow_reset();
|
||||||
this.cap_locally = CanNot;
|
this.cap_locally = CanNot;
|
||||||
this.cap_locally_explain = NULL;
|
this.cap_locally_explain = NULL;
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
|
@ -18,9 +18,9 @@ wr_winget_prelude ()
|
|||||||
chef_set_sous_chefs (this, 0);
|
chef_set_sous_chefs (this, 0);
|
||||||
chef_set_contributors (this, 0);
|
chef_set_contributors (this, 0);
|
||||||
|
|
||||||
chef_has_getfn();
|
chef_allow_get();
|
||||||
chef_has_setfn();
|
chef_allow_set();
|
||||||
chef_has_resetsrc();
|
chef_allow_reset();
|
||||||
this.can_english = false;
|
this.can_english = false;
|
||||||
this.can_user_define = true;
|
this.can_user_define = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user