[Collab-qa-commits] r1409 - udd/scripts

tille at alioth.debian.org tille at alioth.debian.org
Tue Mar 17 06:57:18 UTC 2009


Author: tille
Date: 2009-03-17 06:57:18 +0000 (Tue, 17 Mar 2009)
New Revision: 1409

Modified:
   udd/scripts/fetch_ddtp_translations.sh
Log:
ddtp server now provides gzipped translation files


Modified: udd/scripts/fetch_ddtp_translations.sh
===================================================================
--- udd/scripts/fetch_ddtp_translations.sh	2009-03-16 10:21:12 UTC (rev 1408)
+++ udd/scripts/fetch_ddtp_translations.sh	2009-03-17 06:57:18 UTC (rev 1409)
@@ -9,8 +9,11 @@
     TARGETDIR="$TARGETPATH"/${rel}
     rm -rf "$TARGETDIR"
     [ -d $TARGETDIR ] || mkdir -p $TARGETDIR
-    `dirname $0`/getlinks.pl "$HTTPMIRROR"/dists/${rel}/main/i18n/ "$TARGETPATH"/${rel} 'Translation-.*' # \.gz$'
-    gzip "$TARGETPATH"/${rel}/Translation-*
+    `dirname $0`/getlinks.pl "$HTTPMIRROR"/dists/${rel}/main/i18n/ "$TARGETPATH"/${rel} 'Translation-.*\.gz$'
+    ## The rsync-able Translations do not (yet) contain package version info
+    ## This might happen later but it requires deeper changes in several tools
+    ## including apt - so we have to download via http from ddtp directly which
+    ## does not support rsync
     # rsync -a --no-motd --include "Translation-*.gz" --exclude "*" "$RSYNCMIRROR"/dists/${rel}/main/i18n/ $TARGETDIR
 done
 




More information about the Collab-qa-commits mailing list