termux-packages/packages/termux-tools
Leonid Pliushch 713c7160fc termux-tools: automatically pick a mirror by pkg (#5621)
See https://github.com/termux/termux-packages/issues/5620.

Implements automatic mirror selection:
* Pick a random URL of top 4 mirrors of Termux main repository and use it during 30 minutes limit, then rotate to a new one. Distribute traffic accross multiple mirrors, including origin Bintray repository.
* During 30 minutes limit, let `pkg` to check whether mirror is accessible on each run. If mirror is not accessible, use a new one. Mirrors are not guaranteed to be 100% accessible, so let pkg to check which one is working before using `apt`.
* Skip rotating if using `.cn` mirrors - Chinese users will not want to use something else due to great firewall and download speed issues.
2020-07-31 14:18:43 +03:00
..
build.sh termux-tools: automatically pick a mirror by pkg (#5621) 2020-07-31 14:18:43 +03:00
chsh
dalvikvm termux-tools: add '-Xusejit:true' to dalvikvm 2020-07-26 14:08:52 +03:00
login
motd
pkg termux-tools: automatically pick a mirror by pkg (#5621) 2020-07-31 14:18:43 +03:00
su
termux-change-repo termux-tools: add BFSU mirrors 2020-06-21 22:21:14 +03:00
termux-fix-shebang
termux-info
termux-open
termux-open-url
termux-reload-settings
termux-reset termux-tools: termux-reset: ensure that $PREFIX is RWX before deleting 2020-07-21 16:01:45 +03:00
termux-setup-storage
termux-wake-lock
termux-wake-unlock