blob: c022ad219cc7570bf5924f4883502d7de4d26697 (
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
{{define "overview"}}
<div class="row">
<div class="col-md-9">
{{- if .UserPreferences.Packages.Overview.ShowOutdated -}}
{{- if .Package.Outdated -}}
{{- $outdatedFound := false -}}
{{- range .Versions -}}
{{- if eq (index $.Package.Outdated 0).NewestVersion .Version -}}
{{- $outdatedFound = true -}}
{{- end -}}
{{- end -}}
{{- if not $outdatedFound -}}
<div class="alert alert-info">
<strong><span class="fa fa-fw fa-lightbulb-o"></span> Version {{ (index .Package.Outdated 0).NewestVersion }} is available upstream. Please consider updating!</strong><br>
It seems that version {{ (index .Package.Outdated 0).NewestVersion }} is available upstream, while the latest version in the Gentoo tree is {{ (index .Package.Outdated 0).GentooVersion }}.<br/>
<small><i>You think this warning is false? Read more about it <a href="https://archives.gentoo.org/gentoo-dev/message/b793f4da5a5b5e20a063ea431500a820">here</a>.</i></small>
</div>
{{- end -}}
{{- end -}}
{{- end -}}
{{template "versions" .}}
{{- if isMasked .Versions }}
<h3 class="pt-3 mb-2">Masks</h3>
<div class="card kk-mask mb-3">
<ul class="list-group list-group-flush kk-mask">
<li class="list-group-item kk-mask">
{{ if showRemovalNotice .Versions }}
<p style="color:#721c24;">
<strong><span class="fa fa-fw fa-warning"></span> This package is masked and could be removed soon!</strong><br>
The mask comment indicates that this package is scheduled for removal from our package repository.<br>
Please review the mask information below for more details.
</p>
{{end}}
<strong class="kk-mask-reason">{{replaceNewline (getMask .Versions).Reason}}</strong>
<div class="kk-mask-details">
<div class="row">
<div class="col-xs-12 col-md-3 kk-metadata-key">
Affected packages
</div>
<div class="col-xs-12 col-md-9 kk-mask-atoms overflow-hidden">
{{(getMask .Versions).Versions}}
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-3 kk-metadata-key">
Author/Date
</div>
<div class="col-xs-12 col-md-9">
{{(getMask .Versions).Author}} <{{(getMask .Versions).AuthorEmail}}> <span class="text-muted">({{(getMask .Versions).Date.Format "2006-01-02"}})</span>
</div>
</div>
</div>
</li>
</ul>
</div>
{{- else if isDeprecated .Versions }}
<h3 class="pt-3 mb-2">Deprecation Warning</h3>
<div class="card bg-warning mb-3">
<ul class="list-group list-group-flush bg-warning">
<li class="list-group-item bg-warning">
<strong class="kk-mask-reason">{{replaceNewline (getDeprecation .Versions).Reason}}</strong>
<div class="kk-mask-details">
<div class="row">
<div class="col-xs-12 col-md-3 kk-metadata-key">
Affected packages
</div>
<div class="col-xs-12 col-md-9 kk-mask-atoms overflow-hidden">
{{(getDeprecation .Versions).Versions}}
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-3 kk-metadata-key">
Author/Date
</div>
<div class="col-xs-12 col-md-9">
{{(getDeprecation .Versions).Author}} <{{(getDeprecation .Versions).AuthorEmail}}> <span class="text-muted">({{(getDeprecation .Versions).Date.Format "2006-01-02"}})</span>
</div>
</div>
</div>
</li>
</ul>
</div>
{{- end}}
{{- if not .Package.Maintainers }}
<div class="alert alert-info">
<strong><span class="fa fa-fw fa-wrench"></span> This package needs a new maintainer!</strong><br>
If you are interested in helping with the maintenance of {{.Package.Name}}, please get in touch with our
<a href="https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers" class="alert-link">Proxy Maintainers team</a>.
</div>
{{- end -}}
{{template "metadata" .}}
{{ if eq .UserPreferences.Packages.Overview.Layout "full" }}
<div class="mt-4 pt-4"></div>
{{template "changelog" .}}
{{end}}
</div>
<div class="col-md-3 pl-4 pt-4 mt-2">
{{template "resources" .}}
</div>
</div>
{{end}}
|