Tools to mirror Linux distro repositories. https://r00t2.io/
Go to file
brent s. 7dbcaafeee
aaand should add a LICENSE. thanks, amayer!
2020-06-17 20:15:13 -04:00
repomirror move the README to project root 2020-06-17 14:29:50 -04:00
utils/find_fastest_upstream checking in work 2020-06-14 03:46:29 -04:00
.gitignore initial commit 2020-06-12 22:11:36 -04:00
LICENSE aaand should add a LICENSE. thanks, amayer! 2020-06-17 20:15:13 -04:00
README move the README to project root 2020-06-17 14:29:50 -04:00
example.config.xml typo 2020-06-17 01:37:09 -04:00
reposync.py looks like it's done. 2020-06-17 01:05:56 -04:00

README

This project will let you mirror a Linux distribution's repository/repositories (or BSD, etc.).

Features:
- Logging
- RSync or FTP supported (RSync mirrors require rsync to be installed and in the $PATH environment variable) (HTTP/HTTPS cannot and will not be supported as there's no real way to do it reliably and efficiently.)
- Locking - prevent a specific distribution from syncing if it is currently being synced but allow other distributions to sync
- Customizable rsync arguments
- Changing of directory/file ownership per-distribution
- Mount-checking per-distribution - a distribution will be skipped if its designated mountpoint is not mounted
- Synchronization checks - timestamp files can be read and written and are used to determine if a sync should take place or not
-- TODO: customizable "staleness" of repos (e.g. sync if timestamp X is older than timestamp Y on server)

See example.config.xml for more information.