You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2017/11/07 19:23:10 UTC

qpid-site git commit: QPID-8015: Point the site build badge at the asf-site branch

Repository: qpid-site
Updated Branches:
  refs/heads/asf-site e30de43ef -> ee983dd70


QPID-8015: Point the site build badge at the asf-site branch


Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/ee983dd7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/ee983dd7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/ee983dd7

Branch: refs/heads/asf-site
Commit: ee983dd7043c010e12c4b2ff9ab96b272024824d
Parents: e30de43
Author: Justin Ross <jr...@apache.org>
Authored: Tue Nov 7 11:22:59 2017 -0800
Committer: Justin Ross <jr...@apache.org>
Committed: Tue Nov 7 11:22:59 2017 -0800

----------------------------------------------------------------------
 content/dashboard.html   | 2 +-
 input/_transom_config.py | 4 ++--
 input/dashboard.md       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-site/blob/ee983dd7/content/dashboard.html
----------------------------------------------------------------------
diff --git a/content/dashboard.html b/content/dashboard.html
index a649ba2..04adc5a 100644
--- a/content/dashboard.html
+++ b/content/dashboard.html
@@ -199,7 +199,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/>
   <td><a href="https://github.com/apache/qpid-site/blob/asf-site/README.md">Qpid Site</a></td>
   <td>-</td>
   <td><a href="https://issues.apache.org/jira/projects/QPID">Summary</a> &#x2022; <a href="https://issues.apache.org/jira/issues/?jql=project+%3D+QPID+and+resolution+is+null+and+component+in+%28%22Website%22%29">Open issues</a> &#x2022; <a href="https://issues.apache.org/jira/issues/?jql=project+%3D+QPID+and+component+in+%28%22Website%22%29">All issues</a> &#x2022; <a href="https://issues.apache.org/jira/secure/CreateIssue!default.jspa?pid=12310520">Create issue</a></td>
-  <td><a href="https://travis-ci.org/apache/qpid-site"><img src="https://travis-ci.org/apache/qpid-site.svg?branch=master" height="20"/></a></td>
+  <td><a href="https://travis-ci.org/apache/qpid-site"><img src="https://travis-ci.org/apache/qpid-site.svg?branch=asf-site" height="20"/></a></td>
   <td><a href="https://git-wip-us.apache.org/repos/asf/qpid-site.git">Git</a> &#x2022; <a href="https://github.com/apache/qpid-site">GitHub</a></td>
 </tr>
 </tbody>

http://git-wip-us.apache.org/repos/asf/qpid-site/blob/ee983dd7/input/_transom_config.py
----------------------------------------------------------------------
diff --git a/input/_transom_config.py b/input/_transom_config.py
index c44154b..7ea9c75 100644
--- a/input/_transom_config.py
+++ b/input/_transom_config.py
@@ -119,8 +119,8 @@ def asf_jenkins_badge(job_key):
 
     return "<a href=\"{}\"><img src=\"{}\" height=\"20\"/></a>".format(job_url, image_url)
 
-def travis_ci_badge(party_key, job_key):
+def travis_ci_badge(party_key, job_key, branch="master"):
     job_url = "https://travis-ci.org/{}/{}".format(party_key, job_key)
-    image_url = "https://travis-ci.org/{}/{}.svg?branch=master".format(party_key, job_key)
+    image_url = "https://travis-ci.org/{}/{}.svg?branch={}".format(party_key, job_key, branch)
 
     return "<a href=\"{}\"><img src=\"{}\" height=\"20\"/></a>".format(job_url, image_url)

http://git-wip-us.apache.org/repos/asf/qpid-site/blob/ee983dd7/input/dashboard.md
----------------------------------------------------------------------
diff --git a/input/dashboard.md b/input/dashboard.md
index fcd7ac7..233ca52 100644
--- a/input/dashboard.md
+++ b/input/dashboard.md
@@ -41,7 +41,7 @@
 | [Qpid Proton-J]({{site_url}}/proton/index.html)                            | {{proton_j_release.brief_link}} | {{dashboard_asf_jira_links("PROTON", 12313720, ["proton-j"])}} | {{asf_jenkins_badge("Qpid-proton-j")}} | {{dashboard_asf_git_links("qpid-proton-j")}} |
 | [Qpid Proton]({{site_url}}/proton/index.html)                              | {{proton_release.brief_link}} | {{dashboard_asf_jira_links("PROTON", 12313720)}} | {{asf_jenkins_badge("Qpid-proton-c")}} {{travis_ci_badge("apache", "qpid-proton")}} | {{dashboard_asf_git_links("qpid-proton")}} |
 | [Qpid Python](https://github.com/apache/qpid-python/blob/master/README.md) | {{python_release.brief_link}} | {{dashboard_asf_jira_links("QPID", 12310520, ["Python Client", "Python Examples", "Python Test Suite"])}} | {{asf_jenkins_badge("Qpid-Python-Java-Test")}} | {{dashboard_asf_git_links("qpid-python")}} |
-| [Qpid Site](https://github.com/apache/qpid-site/blob/asf-site/README.md)   | - | {{dashboard_asf_jira_links("QPID", 12310520, ["Website"])}} | {{travis_ci_badge("apache", "qpid-site")}} | {{dashboard_asf_git_links("qpid-site")}} |
+| [Qpid Site](https://github.com/apache/qpid-site/blob/asf-site/README.md)   | - | {{dashboard_asf_jira_links("QPID", 12310520, ["Website"])}} | {{travis_ci_badge("apache", "qpid-site", "asf-site")}} | {{dashboard_asf_git_links("qpid-site")}} |
 
 </div>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org