]> err.no Git - dak/commitdiff
Replace a 128 line NIH syndrom with one of those new-fangled sarge-and-later options...
authorJoerg Jaspert <joerg@debian.org>
Tue, 5 Aug 2008 15:21:29 +0000 (17:21 +0200)
committerJoerg Jaspert <joerg@debian.org>
Tue, 5 Aug 2008 15:21:29 +0000 (17:21 +0200)
ChangeLog
config/debian/cron.unchecked

index f19b97b2eae386644a9cb4aaf8de10446c3500b8..0556396625197f235a3baa78b7252bceb0a098b6 100644 (file)
--- 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 <mhy@debian.org>
 
index 1cdf36327ad4bdce1404074eaa38d2d5fd9cbfe4..92f40cc90db0a722063d36c78e9ea491f9e3ba46 100755 (executable)
@@ -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"