mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-10 14:18:41 +08:00
Move wiki page into source code
This commit is contained in:
@@ -36,14 +36,14 @@
|
||||
* chsrc: Change Source —— 全平台通用命令行换源工具
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
#define Chsrc_Version "0.2.1.4-dev1"
|
||||
#define Chsrc_Version "0.2.1.5-dev1"
|
||||
#define Chsrc_Release_Date "2025/07/12"
|
||||
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
|
||||
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
|
||||
|
||||
#include "framework/core.c"
|
||||
|
||||
#include "recipe/lang/Ruby.c"
|
||||
#include "recipe/lang/Ruby/Ruby.c"
|
||||
|
||||
#include "recipe/lang/Python/common.h"
|
||||
#include "recipe/lang/Python/pip.c"
|
||||
|
11
src/recipe/lang/Ruby/README.md
Normal file
11
src/recipe/lang/Ruby/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Ruby 换源问题
|
||||
|
||||
https://github.com/ustclug/discussions/issues/438
|
||||
|
||||
|
||||
- 清华、北京外国语: 不可用,原因是: 实现不足 https://github.com/tuna/issues/issues/374
|
||||
|
||||
- 腾讯: 不可用,原因是: 缺乏 `versions` 文件
|
||||
- 阿里: 不可用,原因是: 缺乏 `versions` 文件
|
||||
|
||||
- 华为: 不可用,原因是:版本太过老旧,应该是没有同步
|
@@ -5,7 +5,7 @@
|
||||
* Contributors : Nil Null <nil@null.org>
|
||||
* |
|
||||
* Created On : <2023-08-29>
|
||||
* Last Modified : <2025-07-11>
|
||||
* Last Modified : <2025-07-14>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
static SourceProvider_t pl_ruby_upstream =
|
||||
@@ -23,24 +23,20 @@ static MirrorSite_t RubyChina =
|
||||
|
||||
/**
|
||||
* @update 2024-12-18
|
||||
* @sync https://github.com/RubyMetric/chsrc/wiki/Ruby-MirrorSite
|
||||
* @sync https://github.com/RubyMetric/chsrc/discussions/62
|
||||
*
|
||||
* @note 曾经的问题 https://ruby-china.org/topics/43331
|
||||
*/
|
||||
static Source_t pl_ruby_sources[] =
|
||||
{
|
||||
{&pl_ruby_upstream, "https://rubygems.org"},
|
||||
{&RubyChina, "https://gems.ruby-china.com/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/rubygems/"}
|
||||
{&pl_ruby_upstream, "https://rubygems.org", NULL},
|
||||
{&RubyChina, "https://gems.ruby-china.com/", NULL},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/rubygems/", NULL}
|
||||
|
||||
// {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rubygems/"},
|
||||
// {&Bfsu, "https://mirrors.bfsu.edu.cn/rubygems/"},
|
||||
// {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rubygems/", NULL},
|
||||
// {&Bfsu, "https://mirrors.bfsu.edu.cn/rubygems/", NULL},
|
||||
|
||||
// {&Tencent, "https://mirrors.tencent.com/rubygems/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/rubygems/"},
|
||||
// {&Ali, "https://mirrors.aliyun.com/rubygems/"},
|
||||
// {&Huawei, "https://mirrors.huaweicloud.com/repository/rubygems/"},
|
||||
// {&Tencent, "https://mirrors.tencent.com/rubygems/", NULL},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/rubygems/", NULL},
|
||||
// {&Ali, "https://mirrors.aliyun.com/rubygems/", NULL},
|
||||
// {&Huawei, "https://mirrors.huaweicloud.com/repository/rubygems/", NULL},
|
||||
};
|
||||
def_sources_n(pl_ruby);
|
||||
|
Reference in New Issue
Block a user