Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
4ee8cc1d
Commit
4ee8cc1d
authored
Aug 30, 2015
by
Holger Levsen
Browse files
reproducible: include build_date in tooltip
parent
24d53e80
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_html_packages.py
View file @
4ee8cc1d
...
...
@@ -180,6 +180,7 @@ def gen_suites_links(package, current_suite, current_arch):
if
not
status
:
# The package is not available in that suite/arch
continue
version
=
package
.
get_tested_version
(
s
,
a
)
build_date
=
package
.
get_build_date
(
s
,
a
)
li_classes
=
[
'suite'
]
if
s
==
current_suite
and
a
==
current_arch
:
li_classes
.
append
(
'active'
)
...
...
@@ -193,8 +194,8 @@ def gen_suites_links(package, current_suite, current_arch):
icon
=
prefix
+
'<img src="/static/{icon}" alt="{status}" title="{status}"/>'
+
suffix
html
+=
icon
.
format
(
icon
=
join_status_icon
(
status
)[
1
],
status
=
status
)
html
+=
(
tab
*
2
+
' <a href="{}/{}/{}/{}.html" target="_parent"'
+
\
' title="{}: {}">{}</a>: {}
\n
'
).
format
(
RB_PKG_URI
,
s
,
a
,
package
.
name
,
status
,
version
,
s
,
version
)
' title="{}:
{} on
{}">{}</a>: {}
\n
'
).
format
(
RB_PKG_URI
,
s
,
a
,
package
.
name
,
status
,
version
,
build_date
,
s
,
version
)
html
+=
'</li>
\n
'
html
+=
tab
+
'</ul></li>'
html
+=
'</ul>
\n
'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment