[Pkg-debile-commits] [debile-web] 02/03: job.html: add link to firewoes.

Clément Schreiner clemux-guest at moszumanska.debian.org
Fri Jun 27 16:05:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

clemux-guest pushed a commit to branch firewoes_integration
in repository debile-web.

commit bfcbdb62c937b7ea52e77a985293fa406e76d553
Author: Clément Schreiner <clement at mux.me>
Date:   Fri Jun 27 17:59:04 2014 +0200

    job.html: add link to firewoes.
---
 debileweb/blueprints/frontend.py | 2 ++
 templates/job.html               | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debileweb/blueprints/frontend.py b/debileweb/blueprints/frontend.py
index 78401b0..7e62bb5 100644
--- a/debileweb/blueprints/frontend.py
+++ b/debileweb/blueprints/frontend.py
@@ -682,6 +682,8 @@ def job(job_id, group_name="", package_name="", package_version="", version=""):
                 resultinfo['dud_name'] = None
                 resultinfo['log_name'] = None
                 resultinfo['firehose_name'] = None
+                # FIXME: ask firewoes to build the url
+                resultinfo['firewoes_url'] = '/firewoes/search/?analysis_id=%s' % result.firehose_id
                 resultinfo['files'] = []
                 for fname in os.listdir(result.path):
                     if fname.endswith(".dud"):
diff --git a/templates/job.html b/templates/job.html
index aff54cb..bb5bcbc 100644
--- a/templates/job.html
+++ b/templates/job.html
@@ -142,7 +142,7 @@
         </div>
         <div class='desc_line'>
             <div class='desc_key'>Firehose Report</div>
-            <div class='desc_value'><a href='{{info.result.url}}/{{info.firehose_name}}'>{{info.firehose_name}}</a></div>
+            <div class='desc_value'><a href='{{info.result.url}}/{{info.firehose_name}}'>{{info.firehose_name}}</a> (<a href="{{info.firewoes_url}}">View in firewoes</a>)</div>
         </div>
         {% if info.files %}
             <div class='desc_line'>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-web.git



More information about the Pkg-debile-commits mailing list