[Opensrf-commits] [GIT] OpenSRF branch master updated. a537043af9e607e8cd7976e2464dc773f64e897a

Evergreen Git git at git.evergreen-ils.org
Sun May 15 17:39:49 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSRF".

The branch, master has been updated
       via  a537043af9e607e8cd7976e2464dc773f64e897a (commit)
      from  3a439d12874170d4b947e498694e8b9d2ec6d01c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a537043af9e607e8cd7976e2464dc773f64e897a
Author: Dan Scott <dan at coffeecode.net>
Date:   Sun May 15 17:38:46 2011 -0400

    Remove 'branches' reference in Buildbot branches test
    
    We can just check for the branch directly now that we are
    in git. Some things really are simpler with git!
    
    Signed-off-by: Dan Scott <dan at coffeecode.net>

diff --git a/examples/buildbot.cfg b/examples/buildbot.cfg
index 571b70c..f62e334 100644
--- a/examples/buildbot.cfg
+++ b/examples/buildbot.cfg
@@ -159,7 +159,7 @@ osrf_factory.addStep(shell.PerlModuleTest(workdir="build/src/perl"))
 
 # run the Python unit tests (available after rel_1_6)
 def has_python_unit_test(step):
-    return step.build.getProperty('branch') != 'branches/rel_1_6'
+    return step.build.getProperty('branch') != 'rel_1_6'
 
 osrf_factory.addStep(python_twisted.Trial(
     doStepIf=has_python_unit_test,
@@ -216,9 +216,9 @@ class PerlModuleTestMFHDMadness(shell.PerlModuleTest):
 
 def has_perl_unit_tests(step):
     'Only run Perl tests if there are tests'
-    if (step.build.getProperty('branch') == 'branches/rel_1_6_1'):
+    if (step.build.getProperty('branch') == 'rel_1_6_1'):
         return False
-    elif (step.build.getProperty('branch') == 'branches/rel_2_0'):
+    elif (step.build.getProperty('branch') == 'rel_2_0'):
         return False
     return True
 

-----------------------------------------------------------------------

Summary of changes:
 examples/buildbot.cfg |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
OpenSRF


More information about the opensrf-commits mailing list