Run of lintian-fixes for cucumber

Try this locally (using the lintian-brush package):

debcheckout cucumber
cd cucumber
lintian-brush
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Processing: cucumber
Total 2732 (delta 1341), reused 2672 (delta 1302)

Fixer 'ancient-python-version-field' made no changes. (took: 0.05s)
Fixer 'build-depends-on-build-essential' made no changes. (took: 0.16s)
Fixer 'build-depends-on-obsolete-package' made no changes. (took: 0.17s)
Fixer 'control-file-with-CRLF-EOLs' made no changes. (took: 0.04s)
Fixer 'copyright-has-crs' made no changes. (took: 0.04s)
Fixer 'debhelper-but-no-misc-depends' made no changes. (took: 0.16s)
Fixer 'debian-changelog-file-contains-obsolete-user-emacs-settings' made no changes. (took: 0.04s)
Fixer 'debian-control-has-empty-field' made no changes. (took: 0.17s)
Fixer 'debian-control-has-obsolete-dbg-package' made no changes. (took: 0.16s)
Fixer 'debian-watch-file-is-missing' made no changes. (took: 0.08s)
Fixer 'debian-pycompat-is-obsolete' made no changes. (took: 0.04s)
Fixer 'debian-pyversions-is-obsolete' made no changes. (took: 0.06s)
Fixer 'debian-rules-should-not-use-pwd' made no changes. (took: 0.05s)
Fixer 'debian-source-options-has-custom-compression-settings' made no changes. (took: 0.07s)
Fixer 'debian-tests-control-autodep8-is-obsolete' made no changes. (took: 0.07s)
Fixer 'debian-upstream-obsolete-path' made no changes. (took: 0.04s)
Fixer 'debian-watch-uses-insecure-uri' made no changes. (took: 0.05s)
Fixer 'dep5-file-paragraph-references-header-paragraph' made no changes. (took: 0.17s)
Fixer 'dh-quilt-addon-but-quilt-source-format' made no changes. (took: 0.05s)
Fixer 'dm-upload-allowed-is-obsolete' made no changes. (took: 0.04s)
Fixer 'empty-debian-source-options' made no changes. (took: 0.07s)
Fixer 'empty-debian-patches-series' made no changes. (took: 0.07s)
Fixer 'field-name-typo-in-dep5-copyright' made no changes. (took: 0.16s)
Fixer 'file-contains-trailing-whitespace' made no changes. (took: 0.05s)
Fixer 'global-files-wildcard-not-first-paragraph-in-dep5-copyright' made no changes. (took: 0.16s)
Fixer 'homepage-field-uses-insecure-uri' failed to run.
Script /home/janitor/debian-janitor/lintian-brush/fixers/homepage-field-uses-insecure-uri.py failed with exit code: 1
Traceback (most recent call last):
  File "/home/janitor/debian-janitor/lintian-brush/fixers/homepage-field-uses-insecure-uri.py", line 46, in <module>
    update_control(source_package_cb=fix_homepage_header)
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/control.py", line 73, in update_control
    update_control_file(BytesIO(original_contents), outf, **kwargs)
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/control.py", line 99, in update_control_file
    source_package_cb(paragraph)
  File "/home/janitor/debian-janitor/lintian-brush/fixers/homepage-field-uses-insecure-uri.py", line 43, in fix_homepage_header
    control["Homepage"] = fix_homepage(homepage)
  File "/home/janitor/debian-janitor/lintian-brush/fixers/homepage-field-uses-insecure-uri.py", line 31, in fix_homepage
    http_contents = urllib.request.urlopen(http_url).read()
  File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.7/urllib/request.py", line 563, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 755, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Fixer 'insecure-copyright-format-uri' made no changes. (took: 0.05s)
Fixer 'invalid-short-name-in-dep5-copyright' made no changes. (took: 0.17s)
Fixer 'maintainer-script-without-set-e' made no changes. (took: 0.07s)
Fixer 'malformed-dm-upload-allowed' made no changes. (took: 0.04s)
Fixer 'missing-debian-source-format' made no changes. (took: 0.10s)
Fixer 'missing-vcs-browser-field' made no changes. (took: 0.17s)
Fixer 'old-fsf-address-in-copyright-file' made no changes. (took: 0.04s)
Fixer 'obsolete-field-in-dep5-copyright' made no changes. (took: 0.17s)
Fixer 'orphaned-package-should-not-have-uploaders' made no changes. (took: 0.16s)
Fixer 'out-of-date-copyright-format-uri' made no changes. (took: 0.04s)
Fixer 'out-of-date-standards-version' made no changes. (took: 0.17s)
Fixer 'package-needs-versioned-debhelper-build-depends' made no changes. (took: 0.17s)
Fixer 'package-uses-deprecated-source-override-location' made no changes. (took: 0.04s)
Fixer 'package-uses-deprecated-debhelper-compat-version' made no changes. (took: 0.16s)
Fixer 'patch-file-present-but-not-mentioned-in-series' made no changes. (took: 0.05s)
Fixer 'possible-missing-colon-in-closes' made no changes. (took: 0.04s)
Fixer 'priority-extra-is-replaced-by-priority-optional' made no changes. (took: 0.17s)
Fixer 'public-upstream-key-not-minimal' made no changes. (took: 0.06s)
Fixer 'quilt-series-without-trailing-newline' made no changes. (took: 0.04s)
Fixer 'renamed-tag' made no changes. (took: 0.16s)
Fixer 'systemd-service-file-pidfile-refers-to-var-run' made no changes. (took: 0.17s)
Fixer 'transitional-package-should-be-oldlibs-optional' made no changes. (took: 0.17s)
Fixer 'unnecessary-team-upload' made no changes. (took: 0.16s)
Fixer 'unnecessary-testsuite-autopkgtest-field' made no changes. (took: 0.05s)
Fixer 'unversioned-copyright-format-uri' made no changes. (took: 0.04s)
Fixer 'upstream-metadata-file-is-missing' made changes. (took 7.44s)
Fixer 'useless-autoreconf-build-depends' made no changes. (took: 0.16s)
Fixer 'vcs-field-uses-insecure-uri' made no changes. (took: 0.08s)
Fixer 'vcs-field-uses-not-recommended-uri-format' made no changes. (took: 0.07s)
Fixer 'wrong-debian-qa-group-name' made no changes. (took: 0.05s)
Fixer 'xc-package-type-in-debian-control' made no changes. (took: 0.05s)
Fixer 'xs-testsuite-field-in-debian-control' made no changes. (took: 0.05s)
Fixer 'xs-vcs-field-in-debian-control' made no changes. (took: 0.04s)
some fixers failed to run: {'homepage-field-uses-insecure-uri'}
Elapsed time: 0:00:22.363800
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/janitor/debian-janitor/janitor/worker.py", line 517, in <module>
    sys.exit(main())
  File "/home/janitor/debian-janitor/janitor/worker.py", line 484, in main
    tgz_repo=args.tgz_repo)
  File "/home/janitor/debian-janitor/janitor/worker.py", line 374, in process_package
    ws.local_tree, provide_context, metadata['subworker'])
  File "/home/janitor/debian-janitor/janitor/worker.py", line 156, in make_changes
    metadata['failed'] = {name: e.errors for (name, e) in failed.items()}
AttributeError: 'list' object has no attribute 'items'

Full worker log