From a74ba427eedd2e1ef44a0ca697f2c61760a0e584 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 5 Aug 2008 17:21:29 +0200 Subject: [PATCH] Replace a 128 line NIH syndrom with one of those new-fangled sarge-and-later options in rsync :) --- ChangeLog | 3 +++ config/debian/cron.unchecked | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f19b97b2..05563966 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ * config/debian/cron.unchecked: disable the ssh-move insanity (and as soon as rietz is back online - replace it with a one-line scp or rsync statement followed by a one-line rm) + And now replaced this 128 line perl "not-invented-here" with a + one-line rsync command, using a feature rsync only understands + since sarge - damn new-fangled technology. 2008-08-03 Mark Hymers diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index 1cdf3632..92f40cc9 100755 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -33,7 +33,7 @@ if lockfile -r3 $LOCKFILE; then echo "--" >> $report # sync with debbugs -# $scriptsdir/ssh-move --server --ssh-identity /srv/ftp.debian.org/s3kr1t/id_debbugs-vt --ssh-move-path /home/debbugs/ssh-move --from-directory $queuedir/bts_version_track --to-directory /org/bugs.debian.org/versions/queue/ftp-master debbugs@bugs.debian.org \*.debinfo \*.versions + rsync -aq --remove-source-files $queuedir/bts_version_track/ bugs-sync:/org/bugs.debian.org/versions/queue/ftp-master/ if lockfile -r3 $NOTICE; then LOCKDAILY="YES" -- 2.39.5