You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2014/06/07 07:40:42 UTC

svn commit: r911673 - in /websites/staging/isis/trunk: cgi-bin/ content/ content/contributors/resources/verify-isis-release.sh content/contributors/verifying-releases-script.html

Author: buildbot
Date: Sat Jun  7 05:40:42 2014
New Revision: 911673

Log:
Staging update by buildbot for isis

Added:
    websites/staging/isis/trunk/content/contributors/resources/verify-isis-release.sh
Modified:
    websites/staging/isis/trunk/cgi-bin/   (props changed)
    websites/staging/isis/trunk/content/   (props changed)
    websites/staging/isis/trunk/content/contributors/verifying-releases-script.html

Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jun  7 05:40:42 2014
@@ -1 +1 @@
-1600812
+1601063

Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jun  7 05:40:42 2014
@@ -1 +1 @@
-1600812
+1601063

Added: websites/staging/isis/trunk/content/contributors/resources/verify-isis-release.sh
==============================================================================
--- websites/staging/isis/trunk/content/contributors/resources/verify-isis-release.sh (added)
+++ websites/staging/isis/trunk/content/contributors/resources/verify-isis-release.sh Sat Jun  7 05:40:42 2014
@@ -0,0 +1,52 @@
+#!/bin/bash
+# Instructions:
+# -Create an empty directory
+# -Put a .txt file in it containing a list of all the urls of the zip files
+# -Run this script
+# TODO: enhance this script so it will stop when something is broken
+_download(){
+    for fil in `cat *.txt`
+    do
+        echo 'Downloading '$fil
+        curl -O $fil
+        curl -O $fil.asc
+    done
+}
+_verify(){
+    for zip in *.zip
+    do 
+        echo 'Verifying '$zip   
+        gpg --verify $zip.asc $zip 
+    done
+}
+_unpack(){
+    echo 'Unpacking '
+    unzip -q '*.zip'
+}
+_build(){
+    echo 'Removing Isis from local repo '$module
+    rm -rf ~/.m2/repository/org/apache/isis
+    COUNTER=0
+    for module in ./*/
+    do
+        COUNTER=$[COUNTER+1]
+        if [ $COUNTER -eq 1 ]
+        then
+            cd $module
+            echo 'Building Core '$module
+            mvn clean install -o
+            cd ..
+        else
+            cd $module
+            echo 'Building Module '$module
+            mvn clean install
+            cd ..
+        fi
+    done
+}
+# The work starts here 
+_download
+_verify
+_unpack
+_build
+

Modified: websites/staging/isis/trunk/content/contributors/verifying-releases-script.html
==============================================================================
--- websites/staging/isis/trunk/content/contributors/verifying-releases-script.html (original)
+++ websites/staging/isis/trunk/content/contributors/verifying-releases-script.html Sat Jun  7 05:40:42 2014
@@ -410,7 +410,7 @@ $ cd ~/verify-isis-release
 
 <h2>Copy the script to your local machine</h2>
 
-<p>The script could be enhanced in many ways, feel free to do so! Copy the script to a .sh file, for eaxmple <code>verify-isis-release.sh</code></p>
+<p>The script could be enhanced in many ways, feel free to do so! Copy (or <a href="resources/verify-isis-release.sh">download</a> the <code>verify-isis-release.sh</code> script below:</p>
 
 <pre><code>#!/bin/bash
 # Instructions: