Add provider measure info

This commit is contained in:
Aoran Zeng 2025-07-11 16:46:32 +08:00
parent 026c4e4b5b
commit 459c1cf3cd
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
15 changed files with 18 additions and 18 deletions

View File

@ -19,7 +19,7 @@
static SourceProvider_t pl_dart_flutter_upstream =
{
def_upstream, "https://storage.googleapis.com",
{NotSkip, NA, NA, "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_v1.0.0-stable.tar.xz"} // 231 MB
{NotSkip, NA, NA, "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_v1.0.0-stable.tar.xz", ACCURATE} // 231 MB
};
static Source_t pl_dart_flutter_sources[] =

View File

@ -18,7 +18,7 @@
static SourceProvider_t pl_dart_upstream =
{
def_upstream, "https://pub.dev",
{NotSkip, NA, NA, "https://pub.dev/packages/flutter_vision/versions/1.1.4.tar.gz"} // 37.05 MB
{NotSkip, NA, NA, "https://pub.dev/packages/flutter_vision/versions/1.1.4.tar.gz", ACCURATE} // 37.05 MB
};
static Source_t pl_dart_sources[] =

View File

@ -47,7 +47,7 @@ def_sources_n(pl_nodejs_group);
static SourceProvider_t pl_nodejs_binary_release_upstream =
{
def_upstream, "https://nodejs.org/",
{NotSkip, NA, NA, "https://nodejs.org/dist/v23.4.0/node-v23.4.0.tar.gz"} // 100MB
{NotSkip, NA, NA, "https://nodejs.org/dist/v23.4.0/node-v23.4.0.tar.gz", ACCURATE} // 100MB
};
/**

View File

@ -44,10 +44,10 @@ void
pl_python_setsrc (char *option)
{
{
char *msg = ENGLISH ? "Three package managers will be replaced for you at the same time: " \
"pip, Poetry, PDM. If you need to change the source independently, " \
"please run independently `chsrc set <pkg-manager>`"
: "将同时为您更换4个包管理器 pip, Poetry, PDM, uv 的源,若需要独立换源,请独立运行 chsrc set <pkg-manager>";
char *msg = ENGLISH ? "Three package managers will be replaced for you at the same time: "
"pip, Poetry, PDM. If you need to change the source independently, "
"please run independently `chsrc set <pkg-manager>`"
: "将同时为您更换4个包管理器 pip, Poetry, PDM, uv 的源,若需要独立换源,请独立运行 chsrc set <pkg-manager>";
chsrc_note2 (msg);
}

View File

@ -13,7 +13,7 @@
static SourceProvider_t pl_python_pypi_upstream =
{
def_upstream, "https://pypi.org/",
{NotSkip, NA, NA, "https://files.pythonhosted.org/packages/56/e4/55aaac2b15af4dad079e5af329a79d961e5206589d0e02b1e8da221472ed/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"} // 260MB
{NotSkip, NA, NA, "https://files.pythonhosted.org/packages/56/e4/55aaac2b15af4dad079e5af329a79d961e5206589d0e02b1e8da221472ed/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", ACCURATE} // 260MB
};
/**

View File

@ -14,7 +14,7 @@
static SourceProvider_t os_debian_upstream =
{
def_upstream, "https://ftp.debian.org/debian/",
{NotSkip, NA, NA, "https://ftp.debian.org/debian/dists/bookworm/main/Contents-all.gz"} // 32MB
{NotSkip, NA, NA, "https://ftp.debian.org/debian/dists/bookworm/main/Contents-all.gz", ACCURATE} // 32MB
};

View File

@ -15,7 +15,7 @@ static SourceProvider_t os_kali_upstream =
{
def_upstream, "http://http.kali.org/kali",
// https://github.com/RubyMetric/chsrc/issues/121
{NotSkip, NA, NA, "https://http.kali.org/kali/dists/kali-dev/Contents-amd64.gz"} // 47MB
{NotSkip, NA, NA, "https://http.kali.org/kali/dists/kali-dev/Contents-amd64.gz", ACCURATE} // 47MB
};
/**

View File

@ -11,7 +11,7 @@
static SourceProvider_t os_linuxlite_upstream =
{
def_upstream, "http://repo.linuxliteos.com/linuxlite/",
{NotSkip, NA, NA, "http://repo.linuxliteos.com/linuxlite/isos/7.2/linux-lite-7.2-64bit.iso"} // 2.9GB
{NotSkip, NA, NA, "http://repo.linuxliteos.com/linuxlite/isos/7.2/linux-lite-7.2-64bit.iso", ACCURATE} // 2.9GB
};
/**

View File

@ -13,7 +13,7 @@ static SourceProvider_t os_ubuntu_upstream =
{
def_upstream, "http://archive.ubuntu.com/",
// https://github.com/RubyMetric/chsrc/issues/121
{NotSkip, NA, NA, "http://archive.ubuntu.com/ubuntu/dists/noble/Contents-amd64.gz"}
{NotSkip, NA, NA, "http://archive.ubuntu.com/ubuntu/dists/noble/Contents-amd64.gz", ACCURATE}
};
/**

View File

@ -11,7 +11,7 @@
static SourceProvider_t os_alpine_upstream =
{
def_upstream, "http://dl-cdn.alpinelinux.org/alpine",
{NotSkip, NA, NA, "https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/x86_64/alpine-standard-3.21.0-x86_64.iso"}
{NotSkip, NA, NA, "https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/x86_64/alpine-standard-3.21.0-x86_64.iso", ACCURATE}
};

View File

@ -12,7 +12,7 @@
static SourceProvider_t os_openwrt_upstream =
{
def_upstream, "https://downloads.openwrt.org",
{NotSkip, NA, NA, "https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/openwrt-sdk-23.05.5-x86-64_gcc-12.3.0_musl.Linux-x86_64.tar.xz"}
{NotSkip, NA, NA, "https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/openwrt-sdk-23.05.5-x86-64_gcc-12.3.0_musl.Linux-x86_64.tar.xz", ACCURATE}
};
/**

View File

@ -11,7 +11,7 @@
static SourceProvider_t os_voidlinux_upstream =
{
def_upstream, "https://repo-default.voidlinux.org",
{NotSkip, NA, NA, "https://repo-default.voidlinux.org/live/20240314/void-live-x86_64-musl-20240314-xfce.iso"}
{NotSkip, NA, NA, "https://repo-default.voidlinux.org/live/20240314/void-live-x86_64-musl-20240314-xfce.iso", ACCURATE}
};
/**

View File

@ -11,7 +11,7 @@
static SourceProvider_t os_almalinux_upstream =
{
def_upstream, "http://repo.almalinux.org/almalinux",
{NotSkip, NA, NA, "https://raw.repo.almalinux.org/almalinux/9.5/isos/x86_64/AlmaLinux-9-latest-x86_64-minimal.iso"}
{NotSkip, NA, NA, "https://raw.repo.almalinux.org/almalinux/9.5/isos/x86_64/AlmaLinux-9-latest-x86_64-minimal.iso", ACCURATE}
};
/**

View File

@ -13,7 +13,7 @@
static SourceProvider_t os_openEuler_upstream =
{
def_upstream, "https://repo.openeuler.org/",
{NotSkip, NA, NA, "https://repo.openeuler.org/openEuler-24.03-LTS/ISO/x86_64/openEuler-24.03-LTS-netinst-x86_64-dvd.iso"} // 896MB
{NotSkip, NA, NA, "https://repo.openeuler.org/openEuler-24.03-LTS/ISO/x86_64/openEuler-24.03-LTS-netinst-x86_64-dvd.iso", ACCURATE} // 896MB
};

View File

@ -14,7 +14,7 @@
static SourceProvider_t wr_flathub_upstream =
{
def_upstream, "https://flathub.org/repo",
{NotSkip, NA, NA, "https://flathub.org/repo/flathub.gpg"}
{NotSkip, NA, NA, "https://flathub.org/repo/flathub.gpg", ROUGH}
},
/**