summaryrefslogtreecommitdiffstats
path: root/mirrors/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-05-13 20:15:00 -0500
committerDan McGee <dan@archlinux.org>2012-05-13 20:19:03 -0500
commit2f7d770b261b3428bcff366ba6ff4fa631dd980a (patch)
tree8d4b0ec70be3c86792a5a57f1037ee69d967e2fc /mirrors/utils.py
parent3b0b9012353d5ffda564998cab58f986770361be (diff)
downloadarchweb-2f7d770b261b3428bcff366ba6ff4fa631dd980a.tar.gz
archweb-2f7d770b261b3428bcff366ba6ff4fa631dd980a.zip
Add rsync support to mirrorcheck and other small improvements
The main changes in this patch implement rsync:// protocol checking support by calling the rsync binary, requested in FS#29878. We track and log much of the same things as we already do for FTP and HTTP URLs- check time, last sync, total check duration, etc. Also added in this patch is a configurable timeout value which defaults to the previous hardcoded value of 10 seconds; this can be passed as an option to the mirrorcheck command. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/utils.py')
0 files changed, 0 insertions, 0 deletions