repomirror/repomirror
2020-06-17 14:26:00 -04:00
..
fetcher whoops, small bug 2020-06-17 01:10:09 -04:00
__init__.py i am ALMOST done. just need to finish timestamp comparisons. 2020-06-16 02:34:05 -04:00
config.py time to test. 2020-06-17 01:05:32 -04:00
constants.py time to test. 2020-06-17 01:05:32 -04:00
logger.py time to test. 2020-06-17 01:05:32 -04:00
README should probably point README to example.config.xml 2020-06-17 14:26:00 -04:00
sync.py suppress a specific warning if we're running from cron, otherwise there's a lot of cron alerts. 2020-06-17 13:46:58 -04:00

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.