[PD-cvs] scripts/auto-build auto-build-common, NONE, 1.1 pd-devel-auto-builder.sh, 1.3, 1.4 pd-extended-auto-builder.sh, 1.9, 1.10 pd-main-auto-builder.sh, 1.8, 1.9 prep-auto-build-upload, 1.6, 1.7 pure-data-cvs-rsync, 1.2, 1.3 pure-data-cvs-rsync-checkout, 1.8, 1.9 run-automated-builder, 1.11, 1.12

Hans-Christoph Steiner eighthave at users.sourceforge.net
Wed Oct 18 17:42:14 CEST 2006


Update of /cvsroot/pure-data/scripts/auto-build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28103

Modified Files:
	pd-devel-auto-builder.sh pd-extended-auto-builder.sh 
	pd-main-auto-builder.sh prep-auto-build-upload 
	pure-data-cvs-rsync pure-data-cvs-rsync-checkout 
	run-automated-builder 
Added Files:
	auto-build-common 
Log Message:
switched to a common file for common variables; downcased hostname and uname

Index: prep-auto-build-upload
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/prep-auto-build-upload,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** prep-auto-build-upload	22 Aug 2006 18:12:58 -0000	1.6
--- prep-auto-build-upload	18 Oct 2006 15:42:12 -0000	1.7
***************
*** 1,10 ****
  #!/bin/sh
- 
  # prepare a directory per date for the auto-builders to upload to
  
! HOSTNAME=`hostname`
! SYSTEM=`uname -s`
! DATE=`date +%Y-%m-%d`
! TIME=`date +%H.%M.%S`
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
--- 1,10 ----
  #!/bin/sh
  # prepare a directory per date for the auto-builders to upload to
  
! # the source dir where this script is
! SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
! . $SCRIPT_DIR/auto-build-common
! 
! # the name of this script
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt

Index: pure-data-cvs-rsync
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pure-data-cvs-rsync,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pure-data-cvs-rsync	8 Aug 2006 00:07:20 -0000	1.2
--- pure-data-cvs-rsync	18 Oct 2006 15:42:12 -0000	1.3
***************
*** 1,8 ****
  #!/bin/sh
  
! SYSTEM=`uname -s`
! DATE=`date +%Y-%m-%d`
! TIME=`date +%H.%M.%S`
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
  
--- 1,12 ----
  #!/bin/sh
+ # rsync the CVS source files from SourceForge to make a local copy
  
! # the source dir where this script is
! SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
! . $SCRIPT_DIR/auto-build-common
! 
! # the name of this script
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
+ 
  LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
  

Index: run-automated-builder
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/run-automated-builder,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** run-automated-builder	25 Sep 2006 15:39:05 -0000	1.11
--- run-automated-builder	18 Oct 2006 15:42:12 -0000	1.12
***************
*** 1,11 ****
  #!/bin/sh
  
! HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]\)\..*|\1|'`
! SYSTEM=`uname -s`
! DATE=`date +%Y-%m-%d`
! TIME=`date +%H.%M.%S`
! SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  
! RECIPIENT=pd-cvs at iem.at
  
  run_build_script ()
--- 1,10 ----
  #!/bin/sh
  
! # the source dir where this script is
! SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
! . $SCRIPT_DIR/auto-build-common
  
! # the name of this script
! SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  
  run_build_script ()

Index: pd-main-auto-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pd-main-auto-builder.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** pd-main-auto-builder.sh	3 Oct 2006 14:08:44 -0000	1.8
--- pd-main-auto-builder.sh	18 Oct 2006 15:42:12 -0000	1.9
***************
*** 1,8 ****
  #!/bin/sh
  
! HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'`
! SYSTEM=`uname -s`
! DATE=`date +%Y-%m-%d`
! TIME=`date +%H.%M.%S`
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  
--- 1,9 ----
  #!/bin/sh
  
! # the source dir where this script is
! SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
! . $SCRIPT_DIR/auto-build-common
! 
! # the name of this script
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  

Index: pure-data-cvs-rsync-checkout
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pure-data-cvs-rsync-checkout,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** pure-data-cvs-rsync-checkout	8 Aug 2006 14:44:31 -0000	1.8
--- pure-data-cvs-rsync-checkout	18 Oct 2006 15:42:12 -0000	1.9
***************
*** 1,7 ****
  #!/bin/sh
  
! SYSTEM=`uname -s`
! DATE=`date +%Y-%m-%d`
! TIME=`date +%H.%M.%S`
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
--- 1,10 ----
  #!/bin/sh
+ # update from the local CVS repository
  
! # the source dir where this script is
! SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
! . $SCRIPT_DIR/auto-build-common
! 
! # the name of this script
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt

Index: pd-extended-auto-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pd-extended-auto-builder.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** pd-extended-auto-builder.sh	17 Oct 2006 04:40:25 -0000	1.9
--- pd-extended-auto-builder.sh	18 Oct 2006 15:42:12 -0000	1.10
***************
*** 1,12 ****
  #!/bin/sh
- 
  # this script is the first attempt to have an automated updater and builder
  
! HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'`
! SYSTEM=`uname -s`
! DATE=`date +%Y-%m-%d`
! TIME=`date +%H.%M.%S`
! SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  
  
  BUILD_DIR=.
--- 1,11 ----
  #!/bin/sh
  # this script is the first attempt to have an automated updater and builder
  
! # the source dir where this script is
! SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
! . $SCRIPT_DIR/auto-build-common
  
+ # the name of this script
+ SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  
  BUILD_DIR=.

--- NEW FILE: auto-build-common ---
# these are common variables for the auto-build scripts

HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]\)\..*|\1|' | sed 'y|ABCDEFGHIJKLMNOPQRSTUVWXYZ|abcdefghijklmnopqrstuvwxyz|'`
SYSTEM=`uname -s | sed 'y|ABCDEFGHIJKLMNOPQRSTUVWXYZ|abcdefghijklmnopqrstuvwxyz|'`
DATE=`date +%Y-%m-%d`
TIME=`date +%H.%M.%S`

# recipient of any emails set from the scripts
RECIPIENT=pd-cvs at iem.at


Index: pd-devel-auto-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pd-devel-auto-builder.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pd-devel-auto-builder.sh	29 Sep 2006 04:37:08 -0000	1.3
--- pd-devel-auto-builder.sh	18 Oct 2006 15:42:12 -0000	1.4
***************
*** 1,8 ****
  #!/bin/sh
  
! HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'`
! SYSTEM=`uname -s`
! DATE=`date +%Y-%m-%d`
! TIME=`date +%H.%M.%S`
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  
--- 1,9 ----
  #!/bin/sh
  
! # the source dir where this script is
! SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
! . $SCRIPT_DIR/auto-build-common
! 
! # the name of this script
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  





More information about the Pd-cvs mailing list