Check whether our mirror packages are up to date.
Go to file
Ohm Patel 4e88152a3f Ensure build & update main module (#20)
Related to #19.

- Module was renamed to match csc gitea
- OpenBSD was removed as the unimplemented template prevented builds
- Gnome was removed as 29 errors were masked by a missing "(" and it would probably be faster to rewrite
- Removed "data.OOSInterval" string asserts from Linux Mint & Rasberry Pi checkers since it is not a string and cannot be asserted as one
- Replaced imports using {}s instead of ()s which prevented builds
Co-authored-by: Ohm Patel <ohm.patel@uwaterloo.ca>
Co-committed-by: Ohm Patel <ohm.patel@uwaterloo.ca>
2024-05-13 16:20:30 -04:00
checkers Ensure build & update main module (#20) 2024-05-13 16:20:30 -04:00
config update latest checkers 2023-12-17 02:26:28 -05:00
data write boilerplate and structure 2023-05-18 08:55:50 -04:00
web web update endpoint list 2023-10-21 00:47:31 -04:00
.gitignore ignore .vscode 2023-06-04 16:22:22 -04:00
Makefile make: fix default goal 2023-06-25 00:52:23 -04:00
README.md readme: add testing commands 2023-06-25 01:12:42 -04:00
go.mod Ensure build & update main module (#20) 2024-05-13 16:20:30 -04:00
go.sum go: update dependencies 2023-06-25 01:13:06 -04:00
main.go Ensure build & update main module (#20) 2024-05-13 16:20:30 -04:00

README.md

Mirror Checker 2

To be written in the future....

How to test

How to build

Download dependencies:

go get -u

Examples

go run . check debian ubuntu < data/example.in   # from the project root directory, read the config and run all checks for the specified projects

Commands

After building...

Notes (for devs)

...

From the original mirror checker: Future notes: Because many of the mirror checkers are built very specific to each mirror. A slight change in the way the project manages their mirror-related websites, public repos etc. can drastically influence whether the mirror checker works correctly or not. These problems are also unfortunately very hard to detect, so it's important that CSC actively maintain the mirror checker so that it works as intended in the long term.

Extra notes: A test client for individual mirror checker classes is provided as test.py. To use it, simply change all occurrences of the imported project class