Views: Also rendering dependencies for non-binary packages
This commit is contained in:
parent
64cf4fc350
commit
48ba9b7bfe
1 changed files with 12 additions and 9 deletions
21
lib/views.ml
21
lib/views.ml
|
@ -356,17 +356,20 @@ let job_build
|
||||||
latest next previous
|
latest next previous
|
||||||
=
|
=
|
||||||
let delta = Ptime.diff finish start in
|
let delta = Ptime.diff finish start in
|
||||||
let analysis_section = if not @@ contains_debug_bin artifacts then [] else [
|
let analysis_section = [
|
||||||
h3 [txt "Analysis"];
|
[ h3 [txt "Analysis"] ];
|
||||||
p [
|
if not @@ contains_debug_bin artifacts then [] else [
|
||||||
let src = Fmt.str "/job/%s/build/%a/viztreemap" name Uuidm.pp uuid in
|
p [
|
||||||
let style = "width: 50em; height: 54.0em" in (*treemap tries to be square*)
|
let src = Fmt.str "/job/%s/build/%a/viztreemap" name Uuidm.pp uuid in
|
||||||
iframe ~a:[ a_src src; a_title "Binary dissection"; a_style style ] [] ];
|
let style = "width: 50em; height: 54.0em" in (*treemap tries to be square*)
|
||||||
p [
|
iframe ~a:[ a_src src; a_title "Binary dissection"; a_style style ] []
|
||||||
|
]
|
||||||
|
];
|
||||||
|
[ p [
|
||||||
let src = Fmt.str "/job/%s/build/%a/vizdependencies" name Uuidm.pp uuid in
|
let src = Fmt.str "/job/%s/build/%a/vizdependencies" name Uuidm.pp uuid in
|
||||||
let style = "width: 50em; height: 54.0em" in
|
let style = "width: 50em; height: 54.0em" in
|
||||||
iframe ~a:[ a_src src; a_title "Opam dependencies"; a_style style ] [] ];
|
iframe ~a:[ a_src src; a_title "Opam dependencies"; a_style style ] [] ]];
|
||||||
]
|
] |> List.flatten
|
||||||
in
|
in
|
||||||
let body =
|
let body =
|
||||||
h1 [txtf "Job %s" name] ::
|
h1 [txtf "Job %s" name] ::
|
||||||
|
|
Loading…
Reference in a new issue