mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
yocto_console_vew: Add link to wiki log
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7ea2415383
commit
394e6929d8
|
@ -316,6 +316,12 @@ class Console extends Controller
|
||||||
change.caption = @branchmapping[build.buildid]
|
change.caption = @branchmapping[build.buildid]
|
||||||
change.revlink = "http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=" + rev
|
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"
|
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?
|
if build.properties?.reason?
|
||||||
change.reason = build.properties.reason[0]
|
change.reason = build.properties.reason[0]
|
||||||
else
|
else
|
||||||
|
|
|
@ -4,6 +4,8 @@ div.yoctochangedetails(style="width:100%;")
|
||||||
| {{ change.caption }}
|
| {{ change.caption }}
|
||||||
a(ng-if="change.errorlink", ng-href="{{change.errorlink}}")
|
a(ng-if="change.errorlink", ng-href="{{change.errorlink}}")
|
||||||
| {{ "Errors" }}
|
| {{ "Errors" }}
|
||||||
|
a(ng-if="change.loglink", ng-href="{{change.loglink}}")
|
||||||
|
| {{ "WikiLog" }}
|
||||||
span(ng-if="!change.revlink", uib-tooltip="{{change.comments}}")
|
span(ng-if="!change.revlink", uib-tooltip="{{change.comments}}")
|
||||||
| {{ change.caption }}
|
| {{ change.caption }}
|
||||||
span(ng-if="!compact" uib-tooltip="{{change.when_timestamp | dateformat:'LLL'}}")
|
span(ng-if="!compact" uib-tooltip="{{change.when_timestamp | dateformat:'LLL'}}")
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user