aboutsummaryrefslogtreecommitdiff
blob: f8dff96b0852dd5e269c281f6d22e23d26add209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{{define "qa-report"}}
    <div class="row">
        <div class="col-md-9">

                <h3>Pkgcheck Warnings</h3>
                <ul class="timeline">
                    <li>
                        <span class="text-muted">All Versions</span>
                        <ul class="list-group">
                            {{- if .Package.PkgCheckResults -}}
                                {{- range $.Package.PkgCheckResults -}}
                                    {{- if $.UserPreferences.ContainsPkgcheckClass .Class -}}
                                        {{- if not .Version -}}
                                            <li class="list-group-item">
                                                <strong>{{ .Class }}</strong><br/>
                                                <span class="kk-version kk-cell-sep-right text-muted">{{ .Message }}</span>
                                            </li>
                                        {{- end -}}
                                    {{- end -}}
                                {{- end -}}
                            {{- end -}}
                        </ul>
                    </li>

                    {{range $index, $element := .Package.Versions}}
                        <li>
                            <span class="text-muted">{{.Version}}</span>
                            <ul class="list-group">

                                {{ if .PkgCheckResults }}
                                    {{ range .PkgCheckResults }}
                                        {{if $.UserPreferences.ContainsPkgcheckClass .Class}}
                                            <li class="list-group-item">
                                                <strong>{{ .Class }}</strong><br/>
                                                <span class="kk-version kk-cell-sep-right text-muted">
                                                {{ .Message }}
                                                </span>
                                            </li>
                                        {{end}}
                                    {{end}}
                                {{end}}
                            </ul>
                        </li>
                    {{end}}
                </ul>
        </div>
        <div class="col-md-3 pt-5">
            <h4 class="">
                <a class="collapseLink" style="color:#000000;" data-toggle="collapse" href="#collapseDescription" role="button" aria-expanded="false" aria-controls="collapseDescription">
                    Description
                </a>
            </h4>
            <div class="collapse show" id="collapseDescription">
            <span class="text-muted">
                Pkgcheck is used regularly to generate QA reports. Pkgcheck is a pkgcore-based QA utility for ebuild repos.
            </span>
            </div>
            <h4 class="mt-4">
                <a class="collapseLink" style="color:#000000;" data-toggle="collapse" href="#collapseExternalResources" role="button" aria-expanded="false" aria-controls="collapseExternalResources">
                    External Resources
                </a>
            </h4>
            <div class="collapse show" id="collapseExternalResources">
            <ul>
                <li>
                    <a href="https://qa-reports.gentoo.org/output/gentoo-ci/output.html;pkg={{.Package.Category}}:{{.Package.Name}}" target="_blank">
                        CI Report
                    </a>
                </li>
                <li>
                    <a href="https://qa-reports.gentoo.org/output/gentoo-ci/output.verbose.html;pkg={{.Package.Category}}:{{.Package.Name}}" target="_blank">
                        CI Report (verbose)
                    </a>
                </li>
            </ul>
            </div>
        </div>
    </div>
{{end}}