aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-10-31 20:20:31 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2016-10-31 20:20:31 -0700
commitcb34f41d446bc2d1e9971080e40390e16e8ffec4 (patch)
tree1089b72db08f8839764361c17c19adc7adc35c7f
parentsync-distfiles: emirrordist has a py2 lockin for now, but convert it to gdbm ... (diff)
downloadmastermirror-scripts-cb34f41d446bc2d1e9971080e40390e16e8ffec4.tar.gz
mastermirror-scripts-cb34f41d446bc2d1e9971080e40390e16e8ffec4.tar.bz2
mastermirror-scripts-cb34f41d446bc2d1e9971080e40390e16e8ffec4.zip
Add distfile recycling.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsync-distfiles.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync-distfiles.sh b/sync-distfiles.sh
index da8b1f0..9697f07 100755
--- a/sync-distfiles.sh
+++ b/sync-distfiles.sh
@@ -48,6 +48,8 @@ python2 /usr/bin/emirrordist \
--scheduled-deletion-log=${LOGDIR}/deletion.log \
--deletion-db=${LOGDIR}/deletion-db.gdbm \
--distfiles-db=${LOGDIR}/distfile-db.gdbm \
+ --recycle-db=${LOGDIR}/recycle-db.gdbm \
+ --recycle-dir=${DATADIR}/distfiles-archive/ \
--temp-dir=${DATADIR}/tmp/ \
--whitelist-from=${DATADIR}/tmp/whitelist-master.txt \
--distfiles-local=${DATADIR}/distfiles-local \