Commit d8abb06c authored by Chris Lamb's avatar Chris Lamb 💬 Committed by Ansgar

Link source in NEW package page to the tracker.debian.org.

parent 05dec511
Pipeline #19200 passed with stage
in 5 minutes and 30 seconds
......@@ -444,7 +444,12 @@ def output_deb_info(suite, filename, packagename, session=None):
if packagename not in package_relations:
package_relations[packagename] = {}
for key in control_keys:
if key == 'Pre-Depends':
if key == 'Source':
field_value = escape_if_needed(control.find(key))
if use_html:
field_value = '<a href="http://tracker.debian.org/pkg/{0}" rel="nofollow">{0}</a>'.format(
field_value)
elif key == 'Pre-Depends':
field_value = create_depends_string(suite, predepends, session)
package_relations[packagename][key] = field_value
elif key == 'Depends':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment