From a chat with @Volans
We already run linter, and there are artifcats from it's output but it's not shown in the console output so might be overlooked/missed.
- https://gerrit.wikimedia.org/r/338752 debian-glue: only lintian against *.changes
Another useful output is: debc ${package_name}.changes to see the compiled dependencies, and all the files and directories installed by the package. See also: https://www.debian.org/doc/manuals/maint-guide/checkit.en.html
- https://gerrit.wikimedia.org/r/338760 debian-glue: add debc to dump packages content
- Regarding debc seems that they have already a script scripts/jdg-debc upstream that we could use. Done by 8a243939c57c17a205f1e32b999dd84b62e7c1b2
Another couple of enhancement that could be done for lintian, looking at the source code at https://github.com/mika/jenkins-debian-glue/blob/16f0ba5565435e12cb211c686bd5a49cb073252e/scripts/lintian-junit-report are:
- pass the '-w', '--warnings' option to show also lintian warnings
- pass the lintian -I option to show also the info messages, seems that could be done with --lintian-opt=-I
- it might make sense to tee the output of lintian to the console either as is or without the --info option that shows the reasoning behind each error/warning/info line, reducing its size.
The automatic generated changelog version actually creates spurious linter errors in lintian-binary.txt