Use chef_

This commit is contained in:
Aoran Zeng
2025-08-11 05:05:15 +08:00
parent 67915c36c4
commit f099a86e53
17 changed files with 84 additions and 89 deletions

View File

@@ -33,7 +33,7 @@ pl_dart_flutter_prelude (void)
{&Nju, "https://mirror.nju.edu.cn/flutter", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "/flutter_infra_release/releases/stable/linux/flutter_linux_v1.0.0-stable.tar.xz");
chef_set_sources_speed_measure_url_with_postfix (this, "/flutter_infra_release/releases/stable/linux/flutter_linux_v1.0.0-stable.tar.xz");
}

View File

@@ -33,7 +33,7 @@ pl_dart_prelude (void)
{&Nju, "https://mirror.nju.edu.cn/dart-pub", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "/packages/flutter_vision/versions/1.1.4.tar.gz");
chef_set_sources_speed_measure_url_with_postfix (this, "/packages/flutter_vision/versions/1.1.4.tar.gz");
}

View File

@@ -40,7 +40,7 @@ pl_js_group_prelude (void)
def_sources_end()
// 29MB 大小
chsrc_set_sources_speed_measure_url_with_postfix (this, "/@tensorflow/tfjs/-/tfjs-4.22.0.tgz");
chef_set_sources_speed_measure_url_with_postfix (this, "/@tensorflow/tfjs/-/tfjs-4.22.0.tgz");
}
@@ -76,5 +76,5 @@ pl_js_nodejs_binary_prelude (void)
{&Tencent, "https://mirrors.cloud.tencent.com/nodejs-release/", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "/v23.4.0/node-v23.4.0-linux-x64.tar.xz");
chef_set_sources_speed_measure_url_with_postfix (this, "/v23.4.0/node-v23.4.0-linux-x64.tar.xz");
}

View File

@@ -63,7 +63,7 @@ pl_python_group_prelude (void)
// {&Netease, "https://mirrors.163.com/.help/pypi.html", NULL}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_func (this, pl_python_speed_url_constructor, NULL);
chef_set_sources_speed_measure_url_with_func (this, pl_python_speed_url_constructor, NULL);
}
void

View File

@@ -48,7 +48,7 @@ pl_rust_cargo_prelude (void)
{&Cqu, "https://mirrors.cqu.edu.cn/crates.io-index/", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "api/v1/crates/windows/0.58.0/download");
chef_set_sources_speed_measure_url_with_postfix (this, "api/v1/crates/windows/0.58.0/download");
}

View File

@@ -42,7 +42,7 @@ pl_rust_rustup_prelude (void)
def_sources_end()
// 20MB大小
chsrc_set_sources_speed_measure_url_with_postfix (this, "/dist/2025-06-26/cargo-1.88.0-x86_64-unknown-illumos.tar.gz");
chef_set_sources_speed_measure_url_with_postfix (this, "/dist/2025-06-26/cargo-1.88.0-x86_64-unknown-illumos.tar.gz");
}