From 29c7201b0fc06e1ed175c539a5601b3af6f0fdda Mon Sep 17 00:00:00 2001 From: goodger Date: Fri, 31 Oct 2008 18:37:29 +0000 Subject: [PATCH] fix snapshot creation, and put snapshots on sourceforge.net directly (not via ftp to berlios) git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk@5723 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- sandbox/infrastructure/docutils-update.local | 16 +++++++++------- web/.htaccess | 5 ----- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/sandbox/infrastructure/docutils-update.local b/sandbox/infrastructure/docutils-update.local index 3fbf1c0f1..2081d33a7 100755 --- a/sandbox/infrastructure/docutils-update.local +++ b/sandbox/infrastructure/docutils-update.local @@ -42,8 +42,8 @@ test -d $htdocsdest || mkdir $htdocsdest # Where to create the snapshots (non-public). snapshotdir=$auxdir/snapshots test -d $snapshotdir || mkdir $snapshotdir -# Where to publish the snapshots (public). -snapshotdest=/home/groups/ftp/pub/docutils +# # Where to publish the snapshots (public). +# snapshotdest=/home/groups/ftp/pub/docutils bindir=$auxdir/bin test -d $bindir || mkdir $bindir @@ -151,11 +151,13 @@ tar -cz $exclude -f $project-web-snapshot.tgz web tar -cz $exclude -f ../../docfactory-snapshot.tgz docfactory ) # plant the snapshots -if [ -d $snapshotdest ] ; then - mv -f *snapshot.tgz $snapshotdest -else - echo "Skip snapshots, directory $snapshotdest does not exist" -fi +mv -f *snapshot.tgz $htdocsdest + +# if [ -d $snapshotdest ] ; then +# mv -f *snapshot.tgz $snapshotdest +# else +# echo "Skip snapshots, directory $snapshotdest does not exist" +# fi # revert and touch (to avoid updating the web site only because of the # changed timestamp) diff --git a/web/.htaccess b/web/.htaccess index 08ac6d36c..936b5355c 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -12,11 +12,6 @@ Redirect permanent /sandbox/wiemann/xhtml2rest http://docutils.sourceforge.net/s Redirect permanent /sandbox/ax- http://docutils.sourceforge.net/sandbox/axk Redirect permanent /sandbox/dkuhlman/OpenDocument http://docutils.sourceforge.net/sandbox/OpenDocument -# Redirect snapshots to BerliOS. The target URL may change in the -# future, so use a temporary redirect (status 302). - -RedirectMatch temp /(.*-snapshot.tgz) ftp://ftp.berlios.de/pub/docutils/$1 - # Redirection from old URLs to new URLs after a site reorganization. Redirect permanent /docs/config.html http://docutils.sourceforge.net/docs/user/config.html -- 2.11.4.GIT