mirror of
https://github.com/RubyMetric/chsrc
synced 2025-09-07 07:04:41 +08:00
parent
78ff7adf52
commit
5b8bf70407
@ -5,6 +5,7 @@
|
||||
! Doc Name : README.md
|
||||
! Doc Authors : 曾奥然 <ccmywish@qq.com>
|
||||
! Contributors : Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
! | BingChunMoLi <bingchunmoli@bingchunmoli.com>
|
||||
! |
|
||||
! Created On : <2023-12-28>
|
||||
! Last Modified : <2025-08-22>
|
||||
@ -595,4 +596,4 @@ chsrc set conda | anaconda
|
||||
[@Efterklang]: https://github.com/Efterklang
|
||||
[@wickdynex]: https://github.com/wickdynex
|
||||
[@YU-7]: https://github.com/YU-7
|
||||
[@sanchuanhehe]: https://github.com/sanchuanhehe
|
||||
[@sanchuanhehe]: https://github.com/sanchuanhehe
|
||||
|
14
lib/xy.h
14
lib/xy.h
@ -6,9 +6,10 @@
|
||||
* | 郭恒 <2085471348@qq.com>
|
||||
* Contributors : juzeon <skyjuzheng@gmail.com>
|
||||
* | Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* | BingChunMoLi <bingchunmoli@bingchunmoli.com>
|
||||
* |
|
||||
* Created On : <2023-08-28>
|
||||
* Last Modified : <2025-08-22>
|
||||
* Last Modified : <2025-08-27>
|
||||
*
|
||||
*
|
||||
* xy: 襄阳、咸阳
|
||||
@ -796,10 +797,11 @@ xy_run_iter_lines (const char *cmd, unsigned long n, bool (*func) (const char
|
||||
break;
|
||||
if (func)
|
||||
{
|
||||
if (func (buf)) {
|
||||
pclose (stream);
|
||||
return ret;
|
||||
}
|
||||
if (func (buf))
|
||||
{
|
||||
pclose (stream);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1523,4 +1525,4 @@ xy_map_each (
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -7,9 +7,10 @@
|
||||
* Contributors : Peng Gao <gn3po4g@outlook.com>
|
||||
* | Happy Game <happygame10124@gmail.com>
|
||||
* | Yangmoooo <yangmoooo@outlook.com>
|
||||
* | BingChunMoLi <bingchunmoli@bingchunmoli.com>
|
||||
* |
|
||||
* Created On : <2023-08-29>
|
||||
* Last Modified : <2025-08-22>
|
||||
* Last Modified : <2025-08-27>
|
||||
*
|
||||
* chsrc framework
|
||||
* ------------------------------------------------------------*/
|
||||
@ -1849,4 +1850,4 @@ chsrc_get_cpucore ()
|
||||
#endif
|
||||
|
||||
return cores;
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +1,16 @@
|
||||
/** ------------------------------------------------------------
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* -------------------------------------------------------------
|
||||
* File Name : mirror.c
|
||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||
* | Heng Guo <2085471348@qq.com>
|
||||
* File Name : mirror.c
|
||||
* File Authors : 曾奥然 <ccmywish@qq.com>
|
||||
* | 郭恒 <2085471348@qq.com>
|
||||
* Contributors : Shengwei Chen <414685209@qq.com>
|
||||
* | Jialin Lyu <jialinlvcn@aliyun.com>
|
||||
* | Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* | Jialin Lyu <jialinlvcn@aliyun.com>
|
||||
* | Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* | BingChunMoLi <bingchunmoli@bingchunmoli.com>
|
||||
* |
|
||||
* Created On : <2023-08-29>
|
||||
* Last Modified : <2025-07-14>
|
||||
* Last Modified : <2025-08-27>
|
||||
*
|
||||
* 通用镜像站
|
||||
* ------------------------------------------------------------*/
|
||||
@ -301,4 +302,4 @@ Sohu =
|
||||
IS_GeneralMirrorSite,
|
||||
"sohu", "SOHU", "搜狐开源镜像站", "https://mirrors.sohu.com/",
|
||||
{NotSkip, NA, NA, "https://mirrors.sohu.com/deepin-cd" Big_File_deepin, ROUGH}
|
||||
};
|
||||
};
|
||||
|
@ -10,12 +10,12 @@ pl_java_prelude ()
|
||||
chef_prep_this (pl_java, gsr);
|
||||
|
||||
chef_set_created_on (this, "2023-08-31");
|
||||
chef_set_last_updated (this, "2025-08-10");
|
||||
chef_set_last_updated (this, "2025-08-27");
|
||||
chef_set_sources_last_updated (this, "2024-12-18");
|
||||
|
||||
chef_set_chef (this, NULL);
|
||||
chef_set_cooks (this, 1, "@ccmywish");
|
||||
chef_set_sauciers (this, 1, "@BingChunMoLi");
|
||||
chef_set_cooks (this, 2, "@BingChunMoLi", "@ccmywish");
|
||||
chef_set_sauciers (this, 0);
|
||||
|
||||
chef_allow_local_mode (this, CanNot, NULL, NULL);
|
||||
chef_forbid_english(this);
|
||||
@ -168,4 +168,4 @@ void
|
||||
pl_java_resetsrc (char *option)
|
||||
{
|
||||
pl_java_setsrc (option);
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ pl_ruby_prelude (void)
|
||||
|
||||
chef_set_chef (this, "@ccmywish");
|
||||
chef_set_cooks (this, 1, "@ccmywish");
|
||||
chef_set_sauciers (this, 0);
|
||||
chef_set_sauciers (this, 1, "@BingChunMoLi");
|
||||
|
||||
chef_allow_local_mode (this, PartiallyCan, "支持 bundler. 不支持 gem", "Support bundler. Not support gem");
|
||||
chef_allow_english(this);
|
||||
@ -104,4 +104,4 @@ void
|
||||
pl_ruby_resetsrc (char *option)
|
||||
{
|
||||
pl_ruby_setsrc (option);
|
||||
}
|
||||
}
|
||||
|
@ -222,4 +222,4 @@ chsrc_available_mirrors[] = {
|
||||
|
||||
/* ------------------------ chsrc 内部实现 ------------------------ */
|
||||
/* 不要列出 &UpstreamProvider 和 &UserDefinedProvider */
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user