mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-02-02 17:50:44 +08:00
Add upstreams for Ruby
and Python
This commit is contained in:
parent
33bd3124d9
commit
c956704f3b
|
@ -3,7 +3,7 @@
|
||||||
* License : GPLv3
|
* License : GPLv3
|
||||||
* Authors : Aoran Zeng <ccmywish@qq.com>
|
* Authors : Aoran Zeng <ccmywish@qq.com>
|
||||||
* Created on : <2023-08-29>
|
* Created on : <2023-08-29>
|
||||||
* Last modified : <2024-05-25>
|
* Last modified : <2024-06-05>
|
||||||
*
|
*
|
||||||
* sources:
|
* sources:
|
||||||
*
|
*
|
||||||
|
@ -154,7 +154,7 @@ typedef struct {
|
||||||
* 2024-05-25 更新
|
* 2024-05-25 更新
|
||||||
*
|
*
|
||||||
* @note
|
* @note
|
||||||
* 下面的源,并不都实现正确,
|
* 下面的源,并非都实现正确,
|
||||||
* BFSU 和 Tuna 以及 阿里的镜像都有问题,会循环遍历一个gem的所有版本,导致安装时间相当长
|
* BFSU 和 Tuna 以及 阿里的镜像都有问题,会循环遍历一个gem的所有版本,导致安装时间相当长
|
||||||
*
|
*
|
||||||
* @note
|
* @note
|
||||||
|
@ -170,6 +170,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
static SourceInfo
|
static SourceInfo
|
||||||
pl_ruby_sources[] = {
|
pl_ruby_sources[] = {
|
||||||
|
{&Upstream, "https://rubygems.org"},
|
||||||
{&Huawei, "https://mirrors.huaweicloud.com/repository/rubygems/"},
|
{&Huawei, "https://mirrors.huaweicloud.com/repository/rubygems/"},
|
||||||
{&Tencent, "https://mirrors.tencent.com/rubygems/"},
|
{&Tencent, "https://mirrors.tencent.com/rubygems/"},
|
||||||
{&RubyChina, "https://gems.ruby-china.com/"}
|
{&RubyChina, "https://gems.ruby-china.com/"}
|
||||||
|
@ -186,6 +187,7 @@ pl_ruby_sources[] = {
|
||||||
* @note 不要添加Zju,浙大的pypi在校外访问会自动转向Tuna
|
* @note 不要添加Zju,浙大的pypi在校外访问会自动转向Tuna
|
||||||
*/
|
*/
|
||||||
pl_python_sources[] = {
|
pl_python_sources[] = {
|
||||||
|
{&Upstream, "https://pypi.org/simple"},
|
||||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple"},
|
{&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple"},
|
||||||
{&Lzuoss, "https://mirror.lzu.edu.cn/pypi/web/simple"},
|
{&Lzuoss, "https://mirror.lzu.edu.cn/pypi/web/simple"},
|
||||||
{&Jlu, "https://mirrors.jlu.edu.cn/pypi/web/simple"},
|
{&Jlu, "https://mirrors.jlu.edu.cn/pypi/web/simple"},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user