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

Jelmer Vernooij jelmer at samba.org
Sat Nov 13 07:58:57 MST 2010


The branch, master has been updated
       via  c24daf3 Remove obsolete tree, more history horizon.
      from  758927a Fix cache.

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


- Log -----------------------------------------------------------------
commit c24daf3ceeb90ad62f7fc4d0f28a2638b6fa5734
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sat Nov 13 15:58:51 2010 +0100

    Remove obsolete tree, more history horizon.

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

Summary of changes:
 buildfarm/history.py |    4 +---
 web/build.py         |    6 +++---
 web/trees.conf       |    5 -----
 3 files changed, 4 insertions(+), 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildfarm/history.py b/buildfarm/history.py
index 94bf756..d8532e2 100644
--- a/buildfarm/history.py
+++ b/buildfarm/history.py
@@ -33,7 +33,7 @@ class Branch(object):
         """Determine all authors that have contributed to this project.
         """
         ret = set()
-        for rev in self.log(limit):
+        for rev in self.log(limit=limit):
             ret.add(rev.author)
         return ret
 
@@ -95,8 +95,6 @@ class GitBranch(Branch):
             except KeyError:
                 return
             from_rev = commit.id
-        else:
-            from_rev = commit.id
         done = set()
         pending_commits = [from_rev]
         while pending_commits != []:
diff --git a/web/build.py b/web/build.py
index a00582b..38949af 100755
--- a/web/build.py
+++ b/web/build.py
@@ -10,7 +10,7 @@
 # Copyright (C) Andrew Bartlett <abartlet at samba.org>   2001
 # Copyright (C) Vance Lankhaar  <vance at samba.org>      2002-2005
 # Copyright (C) Martin Pool <mbp at samba.org>            2001
-# Copyright (C) Jelmer Vernooij <jelmer at samba.org>     2007
+# Copyright (C) Jelmer Vernooij <jelmer at samba.org>     2007-2009
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
@@ -508,7 +508,7 @@ class ViewBuildPage(BuildFarmPage):
         if rev:
             assert re.match("^[0-9a-fA-F]*$", rev)
 
-        f = build.read_log(limit=HISTORY_HORIZON)
+        f = build.read_log()
         try:
             log = f.read()
         finally:
@@ -895,7 +895,7 @@ class RecentCheckinsPage(BuildFarmPage):
 
         branch = t.get_branch()
 
-        for entry in branch.log():
+        for entry in branch.log(limit=HISTORY_HORIZON):
             if author in ("ALL", "", entry.author):
                 yield "".join(history_row_html(myself, entry, t))
         yield "\n"
diff --git a/web/trees.conf b/web/trees.conf
index de50306..1a72568 100644
--- a/web/trees.conf
+++ b/web/trees.conf
@@ -13,11 +13,6 @@ scm = git
 repo = ppp
 branch = master
 
-[build_farm]
-scm = git
-repo = build-farm
-branch = trunk
-
 [samba-web]
 scm = git
 repo = samba-web


-- 
build.samba.org


More information about the samba-cvs mailing list