From: Joerg Jaspert Date: Tue, 5 Aug 2008 15:21:29 +0000 (+0200) Subject: Replace a 128 line NIH syndrom with one of those new-fangled sarge-and-later options... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a74ba427eedd2e1ef44a0ca697f2c61760a0e584;p=dak Replace a 128 line NIH syndrom with one of those new-fangled sarge-and-later options in rsync :) --- 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"