Skip to content
Permalink
Browse files

Add increasing verbosity command lists for some checks that support that

  • Loading branch information...
pabs3 committed Jul 6, 2019
1 parent fd90980 commit ab5d270f9c877f03aa0ff9c1df8d0a3a6d0f7d3d
Showing with 33 additions and 6 deletions.
  1. +1 −0 data/appstream.ini
  2. +13 −3 data/c.ini
  3. +6 −1 data/cil.ini
  4. +10 −2 data/debian.ini
  5. +3 −0 data/desktop.ini
@@ -1,6 +1,7 @@
[appstreamcli-validate]
debian = appstream
files = *.metainfo.xml *.appdata.xml
command = appstreamcli validate {files}
command = appstreamcli validate --pedantic {files}

[appstream-util-validate]
@@ -18,7 +18,9 @@ files =
*.tpp
*.txx
types = text/x-c text/x-c++
command = cppcheck -j{njobs} --quiet -f {cwd}
command = cppcheck -j{njobs} --quiet {cwd}
command = cppcheck -j{njobs} --quiet --enable=all {cwd}
command = cppcheck -j{njobs} --quiet --enable=all --force {cwd}

[deheader]
flags = manual
@@ -51,7 +53,12 @@ files =
*.cc *.c++
*.pcc
*.hpp
command = flawfinder -Q -c {cwd}
command = flawfinder -Q -c --minlevel 5 {cwd}
command = flawfinder -Q -c --minlevel 4 {cwd}
command = flawfinder -Q -c --minlevel 3 {cwd}
command = flawfinder -Q -c --minlevel 2 {cwd}
command = flawfinder -Q -c --minlevel 1 {cwd}
command = flawfinder -Q -c --minlevel 0 {cwd}
flags = fixme fixme-silent

[pmccabe]
@@ -152,7 +159,10 @@ command = pscan {files}
debian = splint
files = *.c
types = text/x-c
command = splint -I{cwd} +posixlib -preproc -strict -warnposix +quiet {files}
command = splint -I{cwd} -weak +quiet {files}
command = splint -I{cwd} -standard +quiet {files}
command = splint -I{cwd} -checks +quiet {files}
command = splint -I{cwd} -strict +quiet {files}

# TODO: adlint
# TODO: coccinelle
@@ -4,4 +4,9 @@ comment = Needs an option to disable warnings about non-CIL *.dll files
debian = gendarme
files = *.dll
types = application/x-dosexec
command = gendarme --quiet {files}
command = gendarme --quiet --severity critical --confidence total {files}
command = gendarme --quiet --severity high+ --confidence high+ {files}
command = gendarme --quiet --severity medium+ --confidence medium+ {files}
command = gendarme --quiet --severity low+ --confidence low+ {files}
command = gendarme --quiet --severity audit+ --confidence low+ {files}
command = gendarme --quiet --severity all --confidence all {files}
@@ -37,14 +37,22 @@ flags = network perl-inc-cwd-bug
flags = package perl-inc-cwd-bug
debian = lintian
files = ./debian/changelog
command = lintian --info --display-info --display-experimental --pedantic --show-overrides --color auto
command = lintian --info --show-overrides --color auto --ftp-master-rejects
command = lintian --info --show-overrides --color auto --default-display-level
command = lintian --info --show-overrides --color auto --display-info
command = lintian --info --show-overrides --color auto --display-info --display-experimental
command = lintian --info --show-overrides --color auto --display-info --display-experimental --pedantic

[lintian-curdir]
flags = package perl-inc-cwd-bug
debian = lintian
files = *.changes *.deb *.dsc
types = application/vnd.debian.binary-package
command = lintian --info --display-info --display-experimental --pedantic --show-overrides --color auto {files}
command = lintian --info --show-overrides --color auto --ftp-master-rejects {files}
command = lintian --info --show-overrides --color auto --default-display-level {files}
command = lintian --info --show-overrides --color auto --display-info {files}
command = lintian --info --show-overrides --color auto --display-info --display-experimental {files}
command = lintian --info --show-overrides --color auto --display-info --display-experimental --pedantic {files}

[lintian4python]
flags = debian-suggests package python perl-inc-cwd-bug
@@ -1,4 +1,7 @@
[desktop-file-validate]
debian = desktop-file-utils
files = *.desktop
command = desktop-file-validate --no-hints --no-warn-deprecated {file}
command = desktop-file-validate --no-hints {file}
command = desktop-file-validate {file}
command = desktop-file-validate --warn-kde {file}

0 comments on commit ab5d270

Please sign in to comment.
You can’t perform that action at this time.