Scroll to navigation

LINTIAN-BRUSH(1) User Commands LINTIAN-BRUSH(1)

NAME

lintian-brush - automatically fix lintian issues

SYNOPSIS

lintian-brush [-h] [--no-update-changelog] [--version] [--list-fixers] [--list-tags] [--diff] [TAGS [TAGS ...]]

DESCRIPTION

lintian-brush automatically applies a set of fixes for common lintian issues, adds the relevant changelog entries and commits the changes to the local version control system.

The tool's philosophy is to fix any issues for which it knows a correct fix, and to back off if it does not.

positional arguments:

TAGS
Lintian tag for which to apply fixer.

optional arguments:

-h, --help
show this help message and exit
--no-update-changelog
Whether to update the changelog.
--version
show program's version number and exit
--list-fixers
List available fixers.
--list-tags
List lintian tags for which fixers are available.
--fixers-dir DIRECTORY
Override the fixers directory.
--diff
After running all fixers, display the changes made as a single unified diff.
--modern
Use features that require packages that are not yet available in Debian stable.
--identity
Print the identity (name and e-mailaddress) that lintian-brush will use when committing changes, and exit.
--disable-net-access
Do not attempt to use the network to e.g. retrieve additional package metadata from hosting sites, or to check whether a homepage is also available over HTTPS.
--dry-run
Run fixers but do not actually make changes to the repository. Useful in particular in combination with --diff.
Note that this currently will create a temporary clone of the repository, which may be slow for large repositories.
--verbose
Print list of fixers that was run and print tracebacks for failed fixers.
--uncertain
Make changes with lower certain than normal. This will potentially fix more issues, but is more likely to get things wrong. If changes with lower certainty were made, lintian-brush will let you know in its output.

EXAMPLES

$ lintian-brush --list-tags
List all lintian tags for which fixers are available.
$ lintian-brush
Run all fixers in the current Debian package.

SEE ALSO

lintian-brush.conf(5) apply-multiarch-hints(1) lintian(1)

AUTHORS

Jelmer Vernooij <jelmer@debian.org>
October 2018 lintian-brush 0.1