aboutsummaryrefslogtreecommitdiffstats
path: root/yocto_console_view/src/module
diff options
context:
space:
mode:
Diffstat (limited to 'yocto_console_view/src/module')
-rw-r--r--yocto_console_view/src/module/main.module.coffee6
-rw-r--r--yocto_console_view/src/module/yoctochangedetails.tpl.jade2
2 files changed, 8 insertions, 0 deletions
diff --git a/yocto_console_view/src/module/main.module.coffee b/yocto_console_view/src/module/main.module.coffee
index 41ea234..7c76c3a 100644
--- a/yocto_console_view/src/module/main.module.coffee
+++ b/yocto_console_view/src/module/main.module.coffee
@@ -316,6 +316,12 @@ class Console extends Controller
change.caption = @branchmapping[build.buildid]
change.revlink = "http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=" + rev
change.errorlink = "http://errors.yoctoproject.org/Errors/Latest/?filter=" + rev + "&type=commit&limit=150"
+ bid = build.buildid
+ if buildset? and buildset.parent_buildid?
+ bid = buildset.parent_buildid
+ if (change.bid? and bid > change.bid) or !change.bid?
+ change.bid = bid
+ change.loglink = "https://wiki.yoctoproject.org/wiki/BuildLog#" + bid
if build.properties?.reason?
change.reason = build.properties.reason[0]
else
diff --git a/yocto_console_view/src/module/yoctochangedetails.tpl.jade b/yocto_console_view/src/module/yoctochangedetails.tpl.jade
index f4e45d8..52befd7 100644
--- a/yocto_console_view/src/module/yoctochangedetails.tpl.jade
+++ b/yocto_console_view/src/module/yoctochangedetails.tpl.jade
@@ -4,6 +4,8 @@ div.yoctochangedetails(style="width:100%;")
| {{ change.caption }}  
a(ng-if="change.errorlink", ng-href="{{change.errorlink}}")
| {{ "Errors" }}  
+ a(ng-if="change.loglink", ng-href="{{change.loglink}}")
+ | {{ "WikiLog" }}  
span(ng-if="!change.revlink", uib-tooltip="{{change.comments}}")
| {{ change.caption }}  
span(ng-if="!compact" uib-tooltip="{{change.when_timestamp | dateformat:'LLL'}}")