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

Jelmer Vernooij jelmer at samba.org
Sat Nov 13 08:56:15 MST 2010


The branch, master has been updated
       via  731e40e Fix commit handling from specific author.
      from  398247a Improve regressed_since.

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


- Log -----------------------------------------------------------------
commit 731e40ea6b3f434d9d171d733ed24c390e59be4d
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sat Nov 13 16:54:55 2010 +0100

    Fix commit handling from specific author.

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

Summary of changes:
 web/build.py |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/web/build.py b/web/build.py
index 686ce8c..be6b830 100755
--- a/web/build.py
+++ b/web/build.py
@@ -878,11 +878,13 @@ class RecentCheckinsPage(BuildFarmPage):
     def render(self, myself, tree, author=None):
         t = self.buildfarm.trees[tree]
         interesting = list()
-        authors = set(["ALL"])
+        authors = {"ALL": "ALL"}
         branch = t.get_branch()
+        re_author = re.compile("^(.*) <(.*)>$")
         for entry in branch.log(limit=HISTORY_HORIZON):
-            authors.add(entry.author)
-            if author in ("ALL", "", entry.author):
+            m = re_author.match(entry.author)
+            authors[m.group(2)] = m.group(1)
+            if author in ("ALL", "", m.group(2)):
                 interesting.append(entry)
 
         yield "<h2>Recent checkins for %s (%s branch %s)</h2>\n" % (
@@ -890,8 +892,8 @@ class RecentCheckinsPage(BuildFarmPage):
         yield "<form method='GET'>"
         yield "Select Author: "
         yield "<select name='author'>"
-        for name in sorted(authors):
-            yield "<option>%s</option>" % name
+        for email in sorted(authors):
+            yield "<option value='%s'>%s</option>" % (email, authors[email])
         yield "</select>"
         yield "<input type='submit' name='sub_function' value='Refresh'/>"
         yield "<input type='hidden' name='tree' value='%s'/>" % tree


-- 
build.samba.org


More information about the samba-cvs mailing list