-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Package: tracker.debian.org
Severity: normal
tag
Dear Maintainer,
Whenever a package is marked for autoremoval, the tracker has a message
generated as the following (from
'distro_tracker/vendor/debian/templates/debian/autoremoval-action-item.h
tml'
in
repo)
```
<span>Version {{ item.extra_data.version }} of {{
item.package.name }} is marked for autoremoval from testing on {{
item.extra_data.removal_date }}. </span>
{% if bugs %}
<span>It is affected by {{ bugs|safe }}. </span>
{% endif %}
{% if bugs_dependencies %}
<span>It depends (transitively) on {{ buggy_dependencies|safe }},
affected by {{ bugs_dependencies|safe }}. </span>
{% endif %}
</span>You should try to prevent the removal by fixing these RC
bugs.</span>
```
However, the link to the buggy_dependecies
(generated by {{ buggy_dependencies|safe }}) has an additional '/pkg/'
in the
URL, which makes the redirection incorrect.
I believe the attached patch fixes the issue. But, since I am not
familiar with
the codebase and this patch is created from a very quick glance over
the code,
it may be incorrect. But, the fix is quite easy as per my understaning.
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.2.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=ml_IN, LC_CTYPE=ml_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
- --
Regards
Balasankar C
http://balasankarc.in
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCgAGBQJWjm0QAAoJEJbtq5sua3Fx4MkH/2YTycxUYggmDrei5OHtKzhw
S0b6YicmQm8tbF6CEeO5+DE6v/vOqzCP8/vRX4nqqlgpfdYT+ClOh/JXddAZqi3A
CzZDeZCVXLapfr+eEG1QflHu/3Iq8wpughcaMGAMuDIzoPhPqSpWQ0DOUHpx8Djr
dern7N01+skOvQ73y537jBdiudCPz5eMUQBs0jaBqEbMyGtCaUv5kJYDHUhNTZ38
h05AQe1ude2VcVwTkIyC5atEmKxTAMfKem7DFcDBAKO4J2DsfXqjMNhjJoiVIGuB
JDnm61QT8gKIdzBTmTBwJC11j1pJHind8I/1nD2JABCjj4FNdH5H2q0X2N7ERDY=
=jSpi
-----END PGP SIGNATURE-----
diff --git a/distro_tracker/vendor/debian/tracker_tasks.py b/distro_tracker/vendor/debian/tracker_tasks.py
index e45623d..eaabe4f 100644
--- a/distro_tracker/vendor/debian/tracker_tasks.py
+++ b/distro_tracker/vendor/debian/tracker_tasks.py
@@ -2374,7 +2374,7 @@ class UpdateAutoRemovalsStatsTask(BaseTask):
'bugs_dependencies': ', '.join(
link.format(bug, bug) for bug in bugs_dependencies),
'buggy_dependencies': ' and '.join(
- ['<a href="/pkg/{}">{}</a>'.format(
+ ['<a href="{}">{}</a>'.format(
reverse(
'dtracker-package-page',
kwargs={'package_name': p}),
Attachment:
0x2E6B7171.asc
Description: application/pgp-keys