Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Escape package name in "Schedule a new build" links
· f5acd9ed
Chris Lamb
authored
Aug 26, 2018
eg. getfem++
f5acd9ed
Merge branch 'escape-reschedule-urls' of salsa.debian.org:lamby/jenkins.debian.net
· 0d754ea1
Mattia Rizzolo
authored
Aug 26, 2018
MR:
!11
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
0d754ea1
Show whitespace changes
Inline
Side-by-side
bin/reproducible_html_packages.py
View file @
0d754ea1
...
...
@@ -12,6 +12,7 @@
import
os
import
errno
import
urllib
import
pystache
import
apt_pkg
apt_pkg
.
init_system
()
...
...
@@ -256,6 +257,7 @@ def gen_suitearch_section(package, current_suite, current_arch):
dbd_page_uri
=
dbd_links
.
get
(
'
dbd_page_uri
'
,
''
)
suites
.
append
({
'
package
'
:
package
.
name
,
'
package_quote_plus
'
:
urllib
.
parse
.
quote_plus
(
package
.
name
),
'
status
'
:
status
.
value
.
name
,
'
version
'
:
version
,
'
build_date
'
:
build_date
,
...
...
mustache-templates/reproducible/package_suitearch_section.mustache
View file @
0d754ea1
...
...
@@ -17,7 +17,7 @@
<a
href=
"
{{
package_uri
}}
"
target=
"_parent"
title=
"
{{
spokenstatus
}}
:
{{
version
}}
on
{{
build_date
}}
"
>
{{
version
}}
</a>
in
<a
href=
"/debian/
{{
suite
}}
/
{{
arch
}}
/"
title=
"Go to: summary of all tests for
{{
arch
}}
/
{{
suite
}}
"
target=
"_parent"
>
{{
suite
}}
</a>
<a
href=
"/cgi-bin/schedule?suite=
{{
suite
}}
&architecture=
{{
arch
}}
&pkg=
{{
package
}}
"
target=
"_parent"
title=
"Schedule a new build"
>
♻
</a>
<a
href=
"/cgi-bin/schedule?suite=
{{
suite
}}
&architecture=
{{
arch
}}
&pkg=
{{
package
_quote_plus
}}
"
target=
"_parent"
title=
"Schedule a new build"
>
♻
</a>
{{/
current_suitearch
}}
{{#
current_suitearch
}}
{{
version
}}
in
<a
href=
"/debian/
{{
suite
}}
/
{{
arch
}}
/"
title=
"Go to: summary of all tests for
{{
arch
}}
/
{{
suite
}}
"
target=
"_parent"
>
{{
suite
}}
</a>
...
...