[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:47:03 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=e63f865

The following commit has been merged in the master branch:
commit e63f865b975f7c7e26b9db4d785aae5a1de91ccc
Author: Robin Mills <robin at clanmills.com>
Date:   Sat Sep 24 16:03:47 2016 +0000

    #1230 Buildserver maintenance.
---
 contrib/buildserver/categorize.sh |  7 +++--
 contrib/buildserver/dailyBuild.sh | 64 ++++++++++++++++-----------------------
 2 files changed, 31 insertions(+), 40 deletions(-)

diff --git a/contrib/buildserver/categorize.sh b/contrib/buildserver/categorize.sh
index 60ab9ff..7a56560 100755
--- a/contrib/buildserver/categorize.sh
+++ b/contrib/buildserver/categorize.sh
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+##
+# This script is rather slow and takes about 10 minutes
+# One day I'll rewrite it in Python and it will run in seconds
+
 if [ "$#" != "1" ]; then
     echo "syntax: $0 directory"
     exit 1
@@ -82,7 +86,7 @@ done
 # echo platform: ${platforms[*]}
 # echo svn:      ${svns[*]}
 # echo date:     ${dates[*]}
-# echo files:     ${files[*]}
+# echo files:    ${files[*]}
 
 
 echo ---------- Platform: ${platforms[*]} -----------
@@ -147,6 +151,5 @@ for date in ${dates[*]}; do
     done
 done
 
-
 # That's all Folks!
 ##
diff --git a/contrib/buildserver/dailyBuild.sh b/contrib/buildserver/dailyBuild.sh
index ca83fb8..f96d0bd 100755
--- a/contrib/buildserver/dailyBuild.sh
+++ b/contrib/buildserver/dailyBuild.sh
@@ -1,45 +1,33 @@
 #!/bin/bash
 
-dow=$(date  '+%w') # 0..6   day of the week
-dom=$(date  '+%d') # 1..31  day of the month
-
-a=$(/usr/local/bin/svn info .. | grep '^Last Changed Rev' | cut -f 2 -d':' | tr -d ' ')
-b=$(/usr/local/bin/svn update . | grep ^At       | cut '-d ' -f 3 | cut -d. -f 1 | tr -d ' ')
-
-
-if [ "$a"xx != "$b"yy -o "$dow" == 1 -o "$dom" == 1 ]; then # build if changed or monday or 1st of month 
-  b=$(/usr/local/bin/svn info .   | grep ^Revision | cut '-d:' -f 2                | tr -d ' ')
-  echo ==================================
-  echo 'updated from svn:' $a 'to svn:' $b
-  echo ==================================
-  ssh rmills at rmillsmm                                            'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ; contrib/buildserver/dailyCMake.sh'
-  ssh rmills at rmillsmm-kubuntu                                    'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ; contrib/buildserver/dailyCMake.sh'
-  ssh rmills at rmillsmm-w7                                         'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ; contrib/buildserver/dailyCMake.sh'
-  ssh rmills at rmillsmm-w7 'export PLATFORM=msvc                   ;cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ; contrib/buildserver/dailyCMake.sh'
-  ssh rmills at rmillsmm-w7 'export PLATFORM=mingw;export win32=true;cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ; contrib/buildserver/dailyCMake.sh'
-
-  ##
-  # test the delivery
-  date=$(date '+%Y-%m-%d+%H-%M-%S')
-  svn=$(/usr/local/bin/svn info .. | grep '^Last Changed Rev' | cut -f 2 -d':' | tr -d ' ')
-  (  
-    ssh rmills at rmillsmm                                            'cd ~/gnu/exiv2/buildserver ; contrib/buildserver/dailyTest.sh'
-    ssh rmills at rmillsmm-kubuntu                                    'cd ~/gnu/exiv2/buildserver ; contrib/buildserver/dailyTest.sh'
-    ssh rmills at rmillsmm-w7                                         'cd ~/gnu/exiv2/buildserver ; contrib/buildserver/dailyTest.sh'
-    ssh rmills at rmillsmm-w7 'export PLATFORM=msvc;                   cd ~/gnu/exiv2/buildserver ; contrib/buildserver/dailyTest.sh'
-    ssh rmills at rmillsmm-w7 'export PLATFORM=mingw;export win32=true;cd ~/gnu/exiv2/buildserver ; contrib/buildserver/dailyTest.sh'
-  ) | tr -d $'
' | tee "/mmHD/Users/Shared/Jenkins/Home/userContent/builds/Daily/test-svn-${svn}-date-${date}.txt" 
-  ##
-  # categorize the builds
-  ssh rmills at rmillsmm         '~/gnu/exiv2/buildserver/contrib/buildserver/categorize.sh /mmHD/Users/Shared/Jenkins/Home/userContent/builds'
+##
+# This script is called by Jenkins to perform dailyBuild.
+# The script should be run in the directory ~/gnu/exiv2/buildserver
+#
+# The script operates in 3 stages:
+# 1 executes dailyCMake.sh to perform the build and test on the build nodes
+# 2 executes dailyTest.sh to test that the build bundles are good
+# 3 rebuilds all the links in the userContent/builds for "Category" access to the builds
+
+ssh rmills at rmillsmm         'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ;                               contrib/buildserver/dailyCMake.sh'
+ssh rmills at rmillsmm-kubuntu 'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ;                               contrib/buildserver/dailyCMake.sh'
+ssh rmills at rmillsmm-w7      'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ;                               contrib/buildserver/dailyCMake.sh'
+ssh rmills at rmillsmm-w7      'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ; env PLATFORM=msvc             contrib/buildserver/dailyCMake.sh'
+ssh rmills at rmillsmm-w7      'cd ~/gnu/exiv2/buildserver ; /usr/local/bin/svn update . ; rm -rf build ; env PLATFORM=mingw win32=true contrib/buildserver/dailyCMake.sh'
 
-else 
+##
+# test the delivery
+date=$(date '+%Y-%m-%d+%H-%M-%S')
+svn=$(/usr/local/bin/svn info . | grep '^Last Changed Rev' | cut -f 2 -d':' | tr -d ' ')
+ssh rmills at rmillsmm          'cd ~/gnu/exiv2/buildserver ;                               contrib/buildserver/dailyTest.sh' | tr -d $'
' | tee --append "/mmHD/Users/Shared/Jenkins/Home/userContent/builds/Daily/test-svn-${svn}-date-${date}.txt" 
+ssh rmills at rmillsmm-kubuntu  'cd ~/gnu/exiv2/buildserver ;                               contrib/buildserver/dailyTest.sh' | tr -d $'
' | tee --append "/mmHD/Users/Shared/Jenkins/Home/userContent/builds/Daily/test-svn-${svn}-date-${date}.txt" 
+ssh rmills at rmillsmm-w7       'cd ~/gnu/exiv2/buildserver ;                               contrib/buildserver/dailyTest.sh' | tr -d $'
' | tee --append "/mmHD/Users/Shared/Jenkins/Home/userContent/builds/Daily/test-svn-${svn}-date-${date}.txt" 
+ssh rmills at rmillsmm-w7       'cd ~/gnu/exiv2/buildserver ; env PLATFORM=msvc             contrib/buildserver/dailyTest.sh' | tr -d $'
' | tee --append "/mmHD/Users/Shared/Jenkins/Home/userContent/builds/Daily/test-svn-${svn}-date-${date}.txt" 
+ssh rmills at rmillsmm-w7       'cd ~/gnu/exiv2/buildserver ; env PLATFORM=mingw win32=true contrib/buildserver/dailyTest.sh' | tr -d $'
' | tee --append "/mmHD/Users/Shared/Jenkins/Home/userContent/builds/Daily/test-svn-${svn}-date-${date}.txt" 
 
-  echo ==================================
-  echo 'no build needed svn = ' $a
-  echo ==================================
-  
-fi
+##
+# categorize the builds
+ssh rmills at rmillsmm         'cd ~/gnu/exiv2/buildserver ; contrib/buildserver/categorize.sh /mmHD/Users/Shared/Jenkins/Home/userContent/builds'
 
 # That's all Folks!
 ##

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list