[csw-devel] SF.net SVN: opencsw:[354] buildfarm/bin

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Mar 11 11:10:31 CET 2011


Revision: 354
          http://opencsw.svn.sourceforge.net/opencsw/?rev=354&view=rev
Author:   dmichelsen
Date:     2011-03-11 10:10:30 +0000 (Fri, 11 Mar 2011)

Log Message:
-----------
Adding a wrapper script for opencsw-future updates.

Modified Paths:
--------------
    buildfarm/bin/generate-unstable

Added Paths:
-----------
    buildfarm/bin/opencsw-future-update

Modified: buildfarm/bin/generate-unstable
===================================================================
--- buildfarm/bin/generate-unstable	2011-03-02 13:16:35 UTC (rev 353)
+++ buildfarm/bin/generate-unstable	2011-03-11 10:10:30 UTC (rev 354)
@@ -9,6 +9,7 @@
 
 set -u
 set -e
+set -x
 
 /home/web/bin/gar/bin/pkgdb \
     gen-cat --catalog-release unstable \
@@ -19,7 +20,19 @@
   pushd "${arch}"
   for osrel in 5.9 5.10 5.11; do
     pushd "${osrel}"
-      bldcat .
+      # bldcat prints a lot of output
+      if ! bldcat --fast . >/dev/null
+      then
+        echo "bldcat failed in $(pwd)."
+        false
+      fi
+      ## chkcat cannot be used like this, because it returns non-zero even if
+      ## there are no errors.
+      # if ! chkcat -e catalog
+      # then
+      #   echo "chkcat returned an error in $(pwd)."
+      #   false
+      # fi
     popd
   done
   popd

Added: buildfarm/bin/opencsw-future-update
===================================================================
--- buildfarm/bin/opencsw-future-update	                        (rev 0)
+++ buildfarm/bin/opencsw-future-update	2011-03-11 10:10:30 UTC (rev 354)
@@ -0,0 +1,19 @@
+#!/opt/csw/bin/bash
+
+# A wrapper around a list of scripts.
+
+set -x
+set -e
+set -u
+
+declare -r BASE_DIR=$(dirname $0)
+
+${BASE_DIR}/sync-mirror
+${BASE_DIR}/sync-checkpkg
+${BASE_DIR}/sync-opencsw-future
+${BASE_DIR}/generate-unstable
+${BASE_DIR}/make-snapshot-README
+${BASE_DIR}/push-opencsw-future
+${BASE_DIR}/send-catalog-update-notifications
+
+echo "$0 completed successfully"


Property changes on: buildfarm/bin/opencsw-future-update
___________________________________________________________________
Added: svn:executable
   + *


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list