Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
7c1bf5fe
Verified
Commit
7c1bf5fe
authored
Aug 18, 2022
by
Baptiste Beauplat
Browse files
Merge branch 'fix/lintian-mask' into live
Signed-off-by:
Baptiste Beauplat
<
lyknode@debian.org
>
parents
c8c37234
ab170cd4
Pipeline
#412785
failed with stage
in 11 minutes and 47 seconds
Changes
11
Pipelines
1
Show whitespace changes
Inline
Side-by-side
debexpo/plugins/lintian.py
View file @
7c1bf5fe
...
...
@@ -101,6 +101,12 @@ class PluginLintian(BasePlugin):
override_comments
.
append
(
tag
[
3
:].
strip
())
continue
# Skip mask severity
if
tag
.
startswith
(
"M: "
):
# Drop associated N:
override_comments
.
pop
()
continue
severity
,
package
,
rest
=
tag
.
split
(
': '
,
2
)
lintian_severities
.
add
(
severity
)
lintian_tag_data
=
rest
.
split
()
...
...
tests/functional/importer/plugins/test_lintian.py
View file @
7c1bf5fe
...
...
@@ -87,3 +87,12 @@ class TestPluginLintian(TestImporterController):
self
.
assertEqual
(
str
(
e
.
exception
),
'lintian took too much time to run'
)
def
test_lintian_mask
(
self
):
outcome
=
'Package has lintian informational tags'
self
.
import_source_package
(
'lintian-mask'
)
self
.
assert_importer_succeeded
()
self
.
assert_plugin_result_count
(
'hello'
,
'lintian'
,
1
)
self
.
assert_plugin_result
(
'hello'
,
'lintian'
,
outcome
)
self
.
assert_plugin_severity
(
'hello'
,
'lintian'
,
PluginSeverity
.
info
)
tests/functional/importer/sources/lintian-mask/Makefile
0 → 120000
View file @
7c1bf5fe
../hello/Makefile
\ No newline at end of file
tests/functional/importer/sources/lintian-mask/configure
0 → 100644
View file @
7c1bf5fe
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
tests/functional/importer/sources/lintian-mask/configure.in
0 → 100644
View file @
7c1bf5fe
tests/functional/importer/sources/lintian-mask/debian/changelog
0 → 120000
View file @
7c1bf5fe
../../hello/debian/changelog
\ No newline at end of file
tests/functional/importer/sources/lintian-mask/debian/compat
0 → 120000
View file @
7c1bf5fe
../../hello/debian/compat
\ No newline at end of file
tests/functional/importer/sources/lintian-mask/debian/control
0 → 120000
View file @
7c1bf5fe
../../hello/debian/control
\ No newline at end of file
tests/functional/importer/sources/lintian-mask/debian/copyright
0 → 120000
View file @
7c1bf5fe
../../hello/debian/copyright
\ No newline at end of file
tests/functional/importer/sources/lintian-mask/debian/rules
0 → 120000
View file @
7c1bf5fe
../../hello/debian/rules
\ No newline at end of file
tests/functional/importer/sources/lintian-mask/debian/source
0 → 120000
View file @
7c1bf5fe
../../hello/debian/source
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment