Add upstreams for Ruby and Python

This commit is contained in:
Aoran Zeng 2024-06-05 14:35:51 +08:00
parent 33bd3124d9
commit c956704f3b

View File

@ -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 Zjupypi在校外访问会自动转向Tuna * @note Zjupypi在校外访问会自动转向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"},