|
From: <ma...@us...> - 2013-02-16 15:45:47
|
Revision: 1478
http://openautomation.svn.sourceforge.net/openautomation/?rev=1478&view=rev
Author: mayerch
Date: 2013-02-16 15:45:40 +0000 (Sat, 16 Feb 2013)
Log Message:
-----------
Prepare infrastructure for a new release.
NOTE: This also required to move the well known directory "visu" to the new name "src" (The content is unmodified to the last revision!)
Modified Paths:
--------------
CometVisu/trunk/INSTALL
CometVisu/trunk/Makefile
Added Paths:
-----------
CometVisu/_support/
CometVisu/_support/_readme.txt
CometVisu/_support/make_release.sh
CometVisu/trunk/src/
Removed Paths:
-------------
CometVisu/trunk/visu/
Added: CometVisu/_support/_readme.txt
===================================================================
--- CometVisu/_support/_readme.txt (rev 0)
+++ CometVisu/_support/_readme.txt 2013-02-16 15:45:40 UTC (rev 1478)
@@ -0,0 +1,7 @@
+This directory contains little scripts that help to create e.g. a new
+release of the CometVisu.
+
+The are not needed to run the CometVisu and also don't belong to a
+release of the CometVisu.
+
+Licence is GPLv3 for the full directory, copyright by Christian Mayer.
Added: CometVisu/_support/make_release.sh
===================================================================
--- CometVisu/_support/make_release.sh (rev 0)
+++ CometVisu/_support/make_release.sh 2013-02-16 15:45:40 UTC (rev 1478)
@@ -0,0 +1,56 @@
+#!/bin/bash
+
+VERSION="$1"
+USER="$2"
+PASS="$3"
+
+if [[ -z $PASS ]]; then
+ echo "Call script with the new version name as parameter like
+ $0 \"1.2.3\" \"MySVNUserName\" \"MySVNPass\" [-dry]"
+ exit
+fi
+
+RELEASE_DIR="release_$VERSION"
+SVN_CMD="svn"
+
+if [ x"$4" = "x-dry" ]; then
+ echo "Dry run!"
+ SVN_CMD="echo svn"
+fi
+
+echo "Creating Release: '$VERSION' in '$RELEASE_DIR'"
+
+# Make sure we start at the location of this script
+# NOTE: the script assumes to live at .../CometVisu/_support
+cd "$( dirname "${BASH_SOURCE[0]}" )"
+
+$SVN_CMD copy --username $USER --password $PASS -m "Creating release branch $VERSION" \
+ "https://openautomation.svn.sourceforge.net/svnroot/openautomation/CometVisu/trunk" \
+ "https://openautomation.svn.sourceforge.net/svnroot/openautomation/CometVisu/branches/$RELEASE_DIR"
+
+# NOTE: the script assumes that the branches live at .../CometVisu/branches
+cd ../branches
+
+if [ x"$4" = "x-dry" ]; then
+ # dry run? Then fake copy in /tmp/branches
+ if [ -e /tmp/branches ]; then
+ echo "/tmp/branches does already exist - deleting it..."
+ rm -rf /tmp/branches
+ fi
+ mkdir /tmp/branches
+ cp -r ../trunk /tmp/branches/$RELEASE_DIR
+ cd /tmp/branches
+fi
+
+$SVN_CMD up
+echo $VERSION > $RELEASE_DIR/VERSION
+sed -i "s/Version: SVN/Version: $VERSION/" $RELEASE_DIR/visu/visu_config.xml
+sed -i "s/Version: SVN/Version: $VERSION/" $RELEASE_DIR/visu/visu_config_demo.xml
+sed -i "s/comet_16x16_000000.png/comet_16x16_ff8000.png/" $RELEASE_DIR/visu/index.html
+cd $RELEASE_DIR
+make
+cd ..
+$SVN_CMD ci -m "New release: $VERSION"
+
+tar -cj --exclude-vcs -f CometVisu_$VERSION.tar.bz2 $RELEASE_DIR
+
Property changes on: CometVisu/_support/make_release.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: CometVisu/trunk/INSTALL
===================================================================
--- CometVisu/trunk/INSTALL 2013-02-16 13:55:26 UTC (rev 1477)
+++ CometVisu/trunk/INSTALL 2013-02-16 15:45:40 UTC (rev 1478)
@@ -1,3 +1,9 @@
The installation of the CometVisu is very simple. You only need
-to copy the directroy "visu" on your web server and edit the
+to copy the directroy "release" on your web server and edit the
file "visu_config.xml" to match your local requirements.
+
+Or if you want to see the unmodified (and thus unminimized) sources
+and run those (e.g. debugging) you can copy the directroy "src"
+onto you web server.
+But then you should try the development version out of the SVN
+repository anyway.
\ No newline at end of file
Modified: CometVisu/trunk/Makefile
===================================================================
--- CometVisu/trunk/Makefile 2013-02-16 13:55:26 UTC (rev 1477)
+++ CometVisu/trunk/Makefile 2013-02-16 15:45:40 UTC (rev 1478)
@@ -33,7 +33,7 @@
docs:
${YUIDOCPATH}/bin/yuidoc.py visu/lib visu/designs -p docs/parser -o docs -t build/template\
- -v ${VERSION} -C "The CometVisu developers (please consult the AUTHORS file)" --showprivate -m ${PROJECT}\
+ -v ${VERSION} -C "The CometVisu developers (please consult the <a href=\"../AUTHORS\">AUTHORS</a> file)" --showprivate -m ${PROJECT}\
-u "http://cometvisu.org/"
lint:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|