Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50540 - trunk/tools/release
From: bdawes_at_[hidden]
Date: 2009-01-10 18:08:26


Author: bemandawes
Date: 2009-01-10 18:08:25 EST (Sat, 10 Jan 2009)
New Revision: 50540
URL: http://svn.boost.org/trac/boost/changeset/50540

Log:
Daily snapshot: download pre-built docs via ftp, copy into directory structure
Added:
   trunk/tools/release/snapshot_download_docs.bat (contents, props changed)
Text files modified:
   trunk/tools/release/snapshot.bat | 7 +++++--
   trunk/tools/release/snapshot_posix.bat | 8 ++++----
   trunk/tools/release/snapshot_windows.bat | 10 ++++++----
   3 files changed, 15 insertions(+), 10 deletions(-)

Modified: trunk/tools/release/snapshot.bat
==============================================================================
--- trunk/tools/release/snapshot.bat (original)
+++ trunk/tools/release/snapshot.bat 2009-01-10 18:08:25 EST (Sat, 10 Jan 2009)
@@ -1,4 +1,5 @@
-rem Run POSIX and Windows snapshots
+@echo off
+rem Run POSIX and Windows snapshots and inspection
 
 rem Copyright 2008 Beman Dawes
 
@@ -9,9 +10,11 @@
 
 echo Using %BOOST_TRUNK% as boost trunk
 time /t
+call %BOOST_TRUNK%\tools\release\snapshot_download_docs.bat
+time /t
 call %BOOST_TRUNK%\tools\release\snapshot_posix.bat
 time /t
 call %BOOST_TRUNK%\tools\release\snapshot_windows.bat
 time /t
-call %BOOST_TRUNK%\tools/release\snapshot_inspection.bat
+call %BOOST_TRUNK%\tools\release\snapshot_inspection.bat
 time /t

Added: trunk/tools/release/snapshot_download_docs.bat
==============================================================================
--- (empty file)
+++ trunk/tools/release/snapshot_download_docs.bat 2009-01-10 18:08:25 EST (Sat, 10 Jan 2009)
@@ -0,0 +1,28 @@
+@echo off
+rem Download and unpack boost-docs.7z
+
+rem Copyright 2008 Beman Dawes
+
+rem Distributed under the Boost Software License, Version 1.0.
+rem See http://www.boost.org/LICENSE_1_0.txt
+
+echo Deleting old files and directories ...
+del boost-docs.7z 2>nul
+rmdir /s /q docs_temp 2>nul
+mkdir docs_temp
+
+echo Creating ftp script ...
+rem user.txt must be a single line: user userid password
+rem where "userid" and "password" are replace with the appropriate values
+copy user.txt download_docs.ftp
+echo binary >>download_docs.ftp
+echo get boost-docs.7z >>download_docs.ftp
+echo bye >>download_docs.ftp
+
+echo Running ftp script ...
+ftp -d -n -i -s:download_docs.ftp boost.cowic.de
+
+echo Unpacking 7z file ...
+7z x -y -odocs_temp boost-docs.7z
+
+echo Download and unpack boost-docs.7z complete!
\ No newline at end of file

Modified: trunk/tools/release/snapshot_posix.bat
==============================================================================
--- trunk/tools/release/snapshot_posix.bat (original)
+++ trunk/tools/release/snapshot_posix.bat 2009-01-10 18:08:25 EST (Sat, 10 Jan 2009)
@@ -18,10 +18,10 @@
 svn co --depth=files http://svn.boost.org/svn/boost/branches/release svn_info
 svn export --non-interactive --native-eol LF http://svn.boost.org/svn/boost/branches/release posix
 
-rem echo "Building docs..."
-rem pushd posix/doc
-rem TODO
-rem popd
+echo "Building docs..."
+pushd posix\doc
+xcopy /s /y ..\..\docs_temp\html html
+popd
 
 echo Setting SNAPSHOT_DATE
 strftime "%%Y-%%m-%%d" >date.txt

Modified: trunk/tools/release/snapshot_windows.bat
==============================================================================
--- trunk/tools/release/snapshot_windows.bat (original)
+++ trunk/tools/release/snapshot_windows.bat 2009-01-10 18:08:25 EST (Sat, 10 Jan 2009)
@@ -18,10 +18,10 @@
 svn co --depth=files http://svn.boost.org/svn/boost/branches/release svn_info
 svn export --non-interactive --native-eol CRLF http://svn.boost.org/svn/boost/branches/release windows
 
-rem echo "Building docs..."
-rem pushd windows/doc
-rem TODO
-rem popd
+echo "Building docs..."
+pushd windows\doc
+xcopy /s /y ..\..\docs_temp\html html
+popd
 
 echo Setting SNAPSHOT_DATE
 strftime "%%Y-%%m-%%d" >date.txt
@@ -45,6 +45,8 @@
 echo reliable on Beman's Windows XP 64-bit system.
 
 echo Creating ftp script 1 ...
+rem user.txt must be a single line: user userid password
+rem where "userid" and "password" are replace with the appropriate values
 copy user.txt windows.ftp
 echo dir >>windows.ftp
 echo binary >>windows.ftp


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk