修改API为 chef_set_rest_smURL_

This commit is contained in:
Aoran Zeng
2026-01-21 18:12:38 +08:00
parent d766a6f398
commit 0180558cb7
16 changed files with 28 additions and 27 deletions

View File

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

View File

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

View File

@@ -36,7 +36,7 @@ pl_java_prelude ()
def_sources_end()
// 220MB
chef_set_all_smURL_with_postfix (this, "com/tencentcloudapi/tencentcloud-sdk-java/3.1.1033/tencentcloud-sdk-java-3.1.1033-javadoc.jar");
chef_set_rest_smURL_with_postfix (this, "com/tencentcloudapi/tencentcloud-sdk-java/3.1.1033/tencentcloud-sdk-java-3.1.1033-javadoc.jar");
}

View File

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

View File

@@ -39,7 +39,7 @@ pl_perl_prelude ()
{&Ali, "https://mirrors.aliyun.com/CPAN/", FeedByPrelude}
def_sources_end()
chef_set_all_smURL_with_postfix (this, "authors/id/D/DB/DBAURAIN/Bio-MUST-Apps-FortyTwo-0.213470.tar.gz");
chef_set_rest_smURL_with_postfix (this, "authors/id/D/DB/DBAURAIN/Bio-MUST-Apps-FortyTwo-0.213470.tar.gz");
}

View File

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

View File

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

View File

@@ -42,7 +42,7 @@ os_debian_prelude ()
// {&Sohu, "https://mirrors.sohu.com/debian", FeedByPrelude}
def_sources_end()
chef_set_all_smURL_with_postfix (this, "/dists/bookworm/main/Contents-all.gz");
chef_set_rest_smURL_with_postfix (this, "/dists/bookworm/main/Contents-all.gz");
}

View File

@@ -43,7 +43,7 @@ os_ubuntu_prelude ()
// {&Sohu, "https://mirrors.sohu.com/ubuntu", FeedByPrelude}
def_sources_end()
chef_set_all_smURL_with_postfix (this, "/dists/noble/Contents-amd64.gz");
chef_set_rest_smURL_with_postfix (this, "/dists/noble/Contents-amd64.gz");
}

View File

@@ -35,7 +35,7 @@ os_alpine_prelude ()
{&Huawei, "https://mirrors.huaweicloud.com/alpine", FeedByPrelude}
def_sources_end()
chef_set_all_smURL_with_postfix (this, "/latest-stable/releases/x86_64/alpine-standard-3.21.0-x86_64.iso");
chef_set_rest_smURL_with_postfix (this, "/latest-stable/releases/x86_64/alpine-standard-3.21.0-x86_64.iso");
}

View File

@@ -30,7 +30,7 @@ os_voidlinux_prelude ()
{&Bfsu, "https://mirrors.bfsu.edu.cn/voidlinux", FeedByPrelude}
def_sources_end()
chef_set_all_smURL_with_postfix (this, "/live/20240314/void-live-x86_64-musl-20240314-xfce.iso");
chef_set_rest_smURL_with_postfix (this, "/live/20240314/void-live-x86_64-musl-20240314-xfce.iso");
}

View File

@@ -33,7 +33,7 @@ os_almalinux_prelude ()
def_sources_end()
#define link "/9.6/isos/x86_64/AlmaLinux-9-latest-x86_64-minimal.iso"
chef_set_all_smURL_with_postfix (this, link);
chef_set_rest_smURL_with_postfix (this, link);
chef_set_provider_smURL (&UpstreamProvider, "https://raw.repo.almalinux.org/almalinux" link);
#undef link
}

View File

@@ -38,7 +38,7 @@ os_openeuler_prelude ()
// {&Sohu, "https://mirrors.sohu.com/openeuler/", FeedByPrelude}
def_sources_end()
chef_set_all_smURL_with_postfix (this, "https://repo.openeuler.org/openEuler-24.03-LTS/ISO/x86_64/openEuler-24.03-LTS-netinst-x86_64-dvd.iso");
chef_set_rest_smURL_with_postfix (this, "https://repo.openeuler.org/openEuler-24.03-LTS/ISO/x86_64/openEuler-24.03-LTS-netinst-x86_64-dvd.iso");
}