Check whether our mirror packages are up to date.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Raymond Li 3428e81cec
Refactor and use requirements file
2 years ago
projects Refactor and use requirements file 2 years ago
.gitignore Refactor and use requirements file 2 years ago
README.md Added configuration file to README.md 2 years ago
data.json Refactor and use requirements file 2 years ago
debian code study.txt added code study for debian source code 2 years ago
distro.py Refactor and use requirements file 2 years ago
distros.json Refactor and use requirements file 2 years ago
example.in Added option of configuration file in standard input 2 years ago
main.py Refactor and use requirements file 2 years ago
requirements.txt Refactor and use requirements file 2 years ago
shared.py Changed GNOME to automatically check for latest version and refactored code into classes 2 years ago

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 of 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 distros to check, just search "distroName 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/