mirror-checker/README.md

58 lines
3.9 KiB
Markdown
Raw Normal View History

# Mirror Checker
This mirror status checker determines whether CSC mirror is up-to-date with upstream.
## How To Run
2021-10-03 15:56:06 -04:00
A configuration file may be provided through standard input. Without a configuration file, execute `python main.py`. By default, all the available distributions will be checked. With a configuration file, execute `python main.py < name_of_config_file.in`, for example, `python main.py < example.in`. In this case, only the distributions listed in the configuration file will be checked.
## Resources
- [CSC Mirror](http://mirror.csclub.uwaterloo.ca/)
- [Debian Mirror Status Checker](https://mirror-master.debian.org/status/mirror-status.html)
- [Debian Mirror Status Checker Code](https://salsa.debian.org/mirror-team/mirror/status)
2021-08-24 02:12:01 -04:00
if we can just view their repo online, we only have to remember the link for their repo and then check the latest timestamp in their repo the same way we check ours
even if the date relies on a specific file in their repo, we can still find the right link for it
2021-10-03 15:44:08 -04:00
to find repos of the mirrored projects to check, just search "projectName mirrors"
2021-08-24 02:12:01 -04:00
ubuntu releases: https://releases.ubuntu.com/?_ga=2.251394307.425973732.1629764407-1388600952.1629764407
ubuntu mirrors: http://mirrors.ubuntu.com/mirrors.txt
2021-09-03 17:59:02 -04:00
raspbian mirror: https://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/
2021-10-03 15:04:41 -04:00
mxlinux: https://sourceforge.net/projects/mx-linux/ (scrap the last day?)
2021-10-04 02:47:55 -04:00
linuxmint: no public repo
2021-10-03 15:04:41 -04:00
linuxmint-packages pool: http://rsync-packages.linuxmint.com/pool/
2021-10-04 02:47:55 -04:00
macPorts: only distfiles has public repo, no timestamp, too large to loop through
2021-10-04 03:49:24 -04:00
NetBSD: http://ftp.netbsd.org/pub/NetBSD/ has public repo, no timestamp, web directory hard to loop through, no mirror tracker
2021-10-04 04:13:06 -04:00
opensuse: http://download.opensuse.org/ has public repo, a possible timestamp called latest in history, our mirror doesn't have this file tho, no mirror tracker
puppylinux: https://distro.ibiblio.org/puppylinux/ has public repo, no timestamp, too hard to loop through, not likely to have a mirror tracker
racket: no public repo, no timestamp, no mirror status tracker
raspberry pi: currently no public repo, no timestamp, no mirror status tracker
sagemath: don't know how to deal with this, it's a website
salt stack: don't know how to deal with this, it's a website
scientific: https://scientificlinux.org/downloads/sl-mirrors/ would be easy to scrape the mirror status page, except that csc is not listed here
ubuntu-ports-releases: https://cdimage.ubuntu.com/releases/ has public repo, no timestamp, no status tracker
x.org: https://www.x.org/releases/ no timestamp, but candidate for brute force looping since it has few folders, no status tracker
Xiph: no timestamp, too big to loop through, no status tracker
2021-10-03 18:26:43 -04:00
done:
tdf: https://download.documentfoundation.org/
ubuntu: https://launchpad.net/ubuntu/+mirror/mirror.csclub.uwaterloo.ca-archive
2021-10-03 15:04:41 -04:00
vlc: http://download.videolan.org/pub/videolan/
2021-10-04 01:18:07 -04:00
manjaro
2021-10-04 02:47:55 -04:00
mxlinux
2021-10-04 03:04:08 -04:00
mxlinux-iso: this one seems out of sync on the official tracker for 134 days, which is weird
mysql: http://mirrors.sunsite.dk/mysql/
2021-10-04 04:13:06 -04:00
nongnu: http://download.savannah.nongnu.org/releases/ https://savannah.gnu.org/maintenance/Mirmon/ http://download.savannah.gnu.org/mirmon/savannah/
parabola: https://repo.parabola.nu/ https://www.parabola.nu/mirrors/status/
pkgsrc
qtproject: https://download.qt.io/
raspbian: http://archive.raspbian.org/raspbian/ snapshotindex.txt is most likely a timestamp, tho i'm not sure. also i think our mirror is completely outdated, it's not listed on official mirror list
slackware: https://mirrors.slackware.com/mirrorlist/ https://mirrors.slackware.com/slackware/ checking using the last updated date here, don't know if it's entirely accurate
trisquel: https://trisquel.info/mirmon/index.html out of date website!? please recheck this!!!
ubuntu-ports: http://ports.ubuntu.com/ubuntu-ports/ checks the file anonster.canonical.com, which appears to be a timestamp (check it to make sure!!!)
ubuntu-releases: https://releases.ubuntu.com/