[dak/master] 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 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f19b97b..0556396 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 <mhy@debian.org>
diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked
index 1cdf363..92f40cc 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"
--
1.5.6
Reply to: