Ansgar Burchardt pushed to branch link-source-in-new-package-page-to-the-tracker-debian-org- at Debian FTP Team / dak
Commits:
-
4b7907d4
by Chris Lamb at 2018-09-07T09:21:55Z
-
2572895a
by Ansgar Burchardt at 2018-09-07T10:48:20Z
-
f2c7b3f2
by Chris Lamb at 2018-09-17T10:03:03Z
-
05dec511
by Ansgar Burchardt at 2018-09-17T10:42:56Z
-
d8abb06c
by Chris Lamb at 2018-09-17T13:19:06Z
2 changed files:
Changes:
... | ... | @@ -35,7 +35,6 @@ lintian: |
35 | 35 |
- license-problem-non-free-RFC
|
36 | 36 |
- source-contains-prebuilt-ms-help-file
|
37 | 37 |
- source-contains-prebuilt-silverlight-object
|
38 |
- - copyright-contains-dh_make-todo-boilerplate
|
|
39 | 38 |
- pkg-config-multi-arch-wrong-dir
|
40 | 39 |
- file-name-is-not-valid-UTF-8
|
41 | 40 |
- pkg-config-bad-directive
|
... | ... | @@ -444,7 +444,12 @@ def output_deb_info(suite, filename, packagename, session=None): |
444 | 444 |
if packagename not in package_relations:
|
445 | 445 |
package_relations[packagename] = {}
|
446 | 446 |
for key in control_keys:
|
447 |
- if key == 'Pre-Depends':
|
|
447 |
+ if key == 'Source':
|
|
448 |
+ field_value = escape_if_needed(control.find(key))
|
|
449 |
+ if use_html:
|
|
450 |
+ field_value = '<a href="" rel="nofollow">{0}</a>'.format(
|
|
451 |
+ field_value)
|
|
452 |
+ elif key == 'Pre-Depends':
|
|
448 | 453 |
field_value = create_depends_string(suite, predepends, session)
|
449 | 454 |
package_relations[packagename][key] = field_value
|
450 | 455 |
elif key == 'Depends':
|
... | ... | @@ -459,7 +464,7 @@ def output_deb_info(suite, filename, packagename, session=None): |
459 | 464 |
field_value = arch
|
460 | 465 |
elif key == 'Maintainer':
|
461 | 466 |
field_value = maintainer
|
462 |
- elif key == 'Homepage':
|
|
467 |
+ elif key in ('Homepage', 'Vcs-Browser'):
|
|
463 | 468 |
field_value = escape_if_needed(control.find(key))
|
464 | 469 |
if use_html:
|
465 | 470 |
field_value = '<a href=""si" style="color: #d14;">%s" rel="nofollow">%s</a>' % \
|