Index: third_party/buildbot_8_4p1/README.chromium |
=================================================================== |
--- third_party/buildbot_8_4p1/README.chromium (revision 169314) |
+++ third_party/buildbot_8_4p1/README.chromium (working copy) |
@@ -2727,3 +2727,31 @@ |
</tr> |
{% endfor %} |
+Be able to differentiate change sources by project. |
M-A Ruel
2012/11/27 15:03:05
Please add the commit hash upstream
|
+ |
+Index: buildbot/status/web/templates/change_macros.html |
+=================================================================== |
+--- buildbot/status/web/templates/change_macros.html (revision 167249) |
++++ buildbot/status/web/templates/change_macros.html (working copy) |
+@@ -67,6 +67,6 @@ |
+ {% endif %} |
+ {%- endmacro %} |
+ |
+-{% macro box_contents(who, url, pageTitle, revision) -%} |
++{% macro box_contents(who, url, pageTitle, revision, project) -%} |
+ <a href="{{ url }}" title="{{ pageTitle|e }}">{{ who|user }}</a><br>r{{ revision }} |
+ {%- endmacro %} |
+Index: buildbot/status/web/changes.py |
+=================================================================== |
+--- buildbot/status/web/changes.py (revision 167249) |
++++ buildbot/status/web/changes.py (working copy) |
+@@ -64,7 +64,8 @@ |
+ text = template.module.box_contents(url=url, |
+ who=self.original.getShortAuthor(), |
+ pageTitle=self.original.comments, |
+- revision=self.original.revision) |
++ revision=self.original.revision, |
++ project=self.original.project) |
+ return Box([text], class_="Change") |
+ components.registerAdapter(ChangeBox, Change, IBox) |
+ |