add priority option in case some tool has inconsistent issue

This commit is contained in:
2025-02-06 11:05:18 +08:00
parent f3d5eb9fbd
commit 557a60f5de
3 changed files with 127 additions and 74 deletions

View File

@ -19,6 +19,9 @@ upstream:
match:
match: /ubuntu/(.*)
replace: /$1
# priority-groups:
# - match: /dists/.*
# priority: 10
- server: https://releases.ubuntu.com/
match:
match: /ubuntu-releases/(.*)
@ -51,10 +54,6 @@ upstream:
match:
match: /alpine/(.*)
replace: /$1
- server: https://deb.debian.org/debian
match:
match: /debian/(.*)
replace: /$1
- server: https://repo.almalinux.org
match:
match: /almalinux/(.*)
@ -71,6 +70,9 @@ upstream:
match:
match: /(debian|debian-security)/(.*)
replace: /$1/$2
# priority-groups:
# - match: /dists/.*
# priority: 10
- server: https://static.rust-lang.org
match:
match: /rust-static/(.*)