Check whether our mirror packages are up to date.
Go to file
Tom 513bf63fc4 added parabola 2021-10-04 01:13:06 -07:00
projects added parabola 2021-10-04 01:13:06 -07:00
.gitignore Rename distro to project 2021-10-03 15:44:08 -04:00
README.md added parabola 2021-10-04 01:13:06 -07:00
data.json added parabola 2021-10-04 01:13:06 -07:00
debian code study.txt added code study for debian source code 2021-08-16 18:26:58 -07:00
distros.json Rename distro to project 2021-10-03 15:44:08 -04:00
example.in Added option of configuration file in standard input 2021-09-03 17:43:34 -04:00
main.py added mxlinux, mxlinux-iso 2021-10-03 23:47:55 -07:00
project.py Rename distro to project 2021-10-03 15:44:08 -04:00
projects.json Tabsize=4 for JSON 2021-10-03 16:05:13 -04:00
requirements.txt Refactor and use requirements file 2021-10-03 15:35:17 -04:00
shared.py Changed GNOME to automatically check for latest version and refactored code into classes 2021-09-04 12:03:18 -04:00
test.py nongnu added 2021-10-04 00:49:24 -07:00

README.md

Mirror Checker

This mirror status checker determines whether CSC mirror is up-to-date with upstream.

How To Run

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

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

to find repos of the mirrored projects to check, just search "projectName mirrors"

ubuntu releases: https://releases.ubuntu.com/?_ga=2.251394307.425973732.1629764407-1388600952.1629764407 ubuntu mirrors: http://mirrors.ubuntu.com/mirrors.txt raspbian mirror: https://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/

mxlinux: https://sourceforge.net/projects/mx-linux/ (scrap the last day?)

linuxmint: no public repo linuxmint-packages pool: http://rsync-packages.linuxmint.com/pool/ macPorts: only distfiles has public repo, no timestamp, too large to loop through NetBSD: http://ftp.netbsd.org/pub/NetBSD/ has public repo, no timestamp, web directory hard to loop through, no mirror tracker 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 scientific: https://scientificlinux.org/downloads/sl-mirrors/ (CSC not listed) slackware: https://mirrors.slackware.com/mirrorlist/ https://mirrors.slackware.com/slackware/ ubuntu-ports: http://ports.ubuntu.com/ubuntu-ports/ ubuntu-ports-releases: https://cdimage.ubuntu.com/releases/ ubuntu-releases: https://releases.ubuntu.com/ x.org: https://www.x.org/releases/

done: tdf: https://download.documentfoundation.org/ ubuntu: https://launchpad.net/ubuntu/+mirror/mirror.csclub.uwaterloo.ca-archive vlc: http://download.videolan.org/pub/videolan/ manjaro mxlinux mxlinux-iso: this one seems out of sync on the official tracker for 134 days, which is weird mysql: http://mirrors.sunsite.dk/mysql/ 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/

trisquel: https://trisquel.info/mirmon/index.html out of date website