[SCM] build.samba.org - branch master updated

Jelmer Vernooij jelmer at samba.org
Sun Nov 21 13:11:16 MST 2010


The branch, master has been updated
       via  9ef383c Group tree builds by host/compiler
      from  6df5ccd Fix default values.

http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9ef383c2f1a704bb74b70c4dc53984b442c24347
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Nov 21 21:10:15 2010 +0100

    Group tree builds by host/compiler

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

Summary of changes:
 buildfarm/sqldb.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildfarm/sqldb.py b/buildfarm/sqldb.py
index 807d50f..67eb4d1 100644
--- a/buildfarm/sqldb.py
+++ b/buildfarm/sqldb.py
@@ -269,7 +269,8 @@ class StormCachingBuildFarm(BuildFarm):
 
     def get_tree_builds(self, tree):
         result = self._get_store().find(StormBuild, StormBuild.tree == tree)
-        return result.order_by(Desc(StormBuild.upload_time))
+        return result.group_by(StormBuild.host, StormBuild.compiler).order_by(
+            Desc(StormBuild.upload_time))
 
     def get_last_builds(self):
         result = self._get_store().find(StormBuild)


-- 
build.samba.org


More information about the samba-cvs mailing list