Commit Graph

13 Commits

Author SHA1 Message Date
Ville Skyttä e031f11f29 Drop no longer needed Python < 2.3 workarounds.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1469 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:43:30 +03:00
Ville Skyttä 298164c051 Add badness scoring support (#70, vast majority of work by dmueller at suse.de).
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1426 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:43:29 +03:00
Ville Skyttä 9df4a04fb8 Count number of printed (== non-filtered) messages per category.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1421 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:43:29 +03:00
Ville Skyttä cbe66c4572 Use textwrap.fill() to pretty print all info messages, not just a few special cases.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1412 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:43:29 +03:00
Ville Skyttä 592289e8ba Add direct specfile checking, error line numbers (#60, alcapcom at gmail.com).
Also modify error output format for editor parseability (mostly useful for
specfile checks), and include package architectures in output.

NOTE: locally installed filters should be reviewed against the new output
format and ported to it if needed.


git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1349 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:43:28 +03:00
Michael Scherer 4599222baf - start of testing infrastructure
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1224 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:43:25 +03:00
Ville Skyttä c79d60297b Add indentation settings for vi* and *Emacs, use -tt, untabify.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1110 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:43:22 +03:00
Ville Skyttä b17ba933d4 Fix indentation, untabify, trim trailing whitespace.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1049 9bc8b190-ac0f-0410-8968-dc7d1f502856
2015-07-09 16:42:46 +03:00
Frédéric Lepied 19339ed97d don't print the description if the error/warning is filtered.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@479 9bc8b190-ac0f-0410-8968-dc7d1f502856
2001-07-15 16:52:55 +00:00
Frédéric Lepied 35bc162ae8 print description only if they aren't empty.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@448 9bc8b190-ac0f-0410-8968-dc7d1f502856
2001-06-20 11:36:00 +00:00
Frédéric Lepied f1a3ace2e3 added functions to print/store details of warnings/errors.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@416 9bc8b190-ac0f-0410-8968-dc7d1f502856
2001-05-25 22:17:48 +00:00
Frédéric Lepied e045489aca * test a string against the filters.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@80 9bc8b190-ac0f-0410-8968-dc7d1f502856
1999-11-15 18:33:35 +00:00
Frédéric Lepied 13139796be * first version.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@53 9bc8b190-ac0f-0410-8968-dc7d1f502856
1999-10-23 18:27:11 +00:00