|
@@ -697,4 +697,121 @@ upstream = "rsync://repo.zabbix.com/mirror/"
|
|
|
rsync_options = [ "--delete-excluded", "--chmod=o+r,Do+x,Fa-x" ]
|
|
|
memory_limit = "256M"
|
|
|
|
|
|
+[[mirrors]]
|
|
|
+name = "AOSP"
|
|
|
+interval = 720
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/aosp.sh"
|
|
|
+upstream = "https://android.googlesource.com/mirror/manifest"
|
|
|
+size_pattern = "Total size is ([0-9\\.]+[KMGTP]?)"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+ [mirrors.env]
|
|
|
+ REPO = "/usr/local/bin/aosp-repo"
|
|
|
+ REPO_URL = "https://mirrors.tuna.tsinghua.edu.cn/git/git-repo"
|
|
|
+ USE_BITMAP_INDEX = "1"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "lineageOS"
|
|
|
+interval = 720
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/aosp.sh"
|
|
|
+upstream = "https://github.com/LineageOS/mirror"
|
|
|
+size_pattern = "Total size is ([0-9\\.]+[KMGTP]?)"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+ [mirrors.env]
|
|
|
+ REPO = "/usr/local/bin/aosp-repo"
|
|
|
+ REPO_URL = "https://mirrors.tuna.tsinghua.edu.cn/git/git-repo"
|
|
|
+ USE_BITMAP_INDEX = "1"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "chromiumos"
|
|
|
+interval = 720
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/cros.sh"
|
|
|
+upstream = "https://chromium.googlesource.com"
|
|
|
+size_pattern = "Total size is ([0-9\\.]+[KMGTP]?)"
|
|
|
+fail_on_match = "fatal: "
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+ [mirrors.env]
|
|
|
+ USE_BITMAP_INDEX = "1"
|
|
|
+ CONCURRENT_JOBS = "20"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "crates.io-index.git"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/git.sh"
|
|
|
+upstream = "https://github.com/rust-lang/crates.io-index.git"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+size_pattern = "size-pack: ([0-9\\.]+[KMGTP])"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "flutter-sdk.git"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/git.sh"
|
|
|
+upstream = "git://github.com/flutter/flutter.git"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+size_pattern = "size-pack: ([0-9\\.]+[KMGTP])"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "gcc.git"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/git.sh"
|
|
|
+upstream = "git://gcc.gnu.org/git/gcc.git"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+size_pattern = "size-pack: ([0-9\\.]+[KMGTP])"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "gentoo-portage.git"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/git.sh"
|
|
|
+upstream = "git://github.com/gentoo-mirror/gentoo.git"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+size_pattern = "size-pack: ([0-9\\.]+[KMGTP])"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "git-repo"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/git-repo.sh"
|
|
|
+upstream = "https://gerrit.googlesource.com/git-repo"
|
|
|
+size_pattern = "size-pack: ([0-9\\.]+[KMGTP])"
|
|
|
+fail_on_match = "fatal: "
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "homebrew"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/homebrew.sh"
|
|
|
+upstream = "https://github.com/Homebrew"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+size_pattern = "Total size is ([0-9\\.]+[KMGTP]?)"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "CocoaPods"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/cocoapods.sh"
|
|
|
+upstream = "https://github.com/CocoaPods"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+size_pattern = "Total size is ([0-9\\.]+[KMGTP]?)"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "pybombs"
|
|
|
+interval = 720
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/pybombs.sh"
|
|
|
+upstream = "https://github.com/scateu/pybombs-mirror/"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+docker_volumes = ["/home/pybombs-mirror:/opt/pybombs-mirror"]
|
|
|
+size_pattern = "Total size is ([0-9\\.]+[KMGTP]?)"
|
|
|
+ [mirrors.env]
|
|
|
+ PYBOMBS_MIRROR_SCRIPT_PATH = "/opt/pybombs-mirror"
|
|
|
+ MIRROR_BASE_URL = "https://mirrors.tuna.tsinghua.edu.cn/pybombs"
|
|
|
+
|
|
|
+[[mirrors]]
|
|
|
+name = "llvm"
|
|
|
+provider = "command"
|
|
|
+command = "/home/tunasync-scripts/llvm.sh"
|
|
|
+upstream = "https://git.llvm.org/git"
|
|
|
+docker_image = "tunathu/tunasync-scripts:latest"
|
|
|
+size_pattern = "Total size is ([0-9\\.]+[KMGTP]?)"
|
|
|
+
|
|
|
# vim: ft=toml
|