r25217 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25216‎ | r25217 | r25218 >
Date:23:12, 27 August 2007
Author:tstarling
Status:old
Tags:
Comment:
Don't overwrite old packages
Modified paths:
  • /trunk/debs/update.sh (modified) (history)

Diff [purge]

Index: trunk/debs/update.sh
@@ -11,15 +11,21 @@
1212
1313 cd $thisdir
1414 svn up $package
15 -cd $package
1615
1716 echo "Building package..."
 17+cd $package
 18+prebuild_date=`TZ=UTC0 date +'%Y-%m-%d %H:%M:%SZ'`
 19+sleep 1
1820 dpkg-buildpackage -rfakeroot
19 -echo "Publishing..."
 21+
 22+echo
 23+echo "Uploading files..."
2024 cd ..
21 -tar -c $package''_* | ssh -A root@khaldun.wikimedia.org "
 25+tar -v -N"$prebuild_date" -c $package''_* | ssh -A root@khaldun.wikimedia.org "
2226 test -e /srv/wikimedia/pool/main/$package || mkdir /srv/wikimedia/pool/main/$package
2327 tar -C /srv/wikimedia/pool/main/$package -x && \
 28+ echo && \
 29+ echo Updating the repository || \
2430 /root/update-repository 2>/dev/null && \
2531 echo Success || \
2632 echo update-repository failed

Status & tagging log