rodjek/puppet-lint — pull request #52 by vStone (2012-01-08 13:18:36+00:00)
Title: Feature/unified problems

Hi rodjek,

I have performed some pretty big changes on the source tree. Hope you like my efforts. Don't be shy to give pointers on what should be improved before pulling or why it's denied :)

You should probably check the commit log for most information, I've been pretty verbose in there. In some cases, I also added some documentation to the code. Mostly developer-wise on the 'core' stuff I have changed.

A quick overview of everything that has changed:
* The concept of storing errors and warnings in 2 places has been overthrown. We only have one problem array to manage.
* Plugins now provide feedback by using the notify function. I added rdocs here to provide some developer intel.
* Users can now use log-format as an option. The --help is pretty clear on possible placeholders.

Some additional notes:
* I started with updated the tests and have added some helper functions for that. See sources. I added some docs. Also see the commit message of vStone/puppet-lint@07d18fba316f40df8125ca8499d9acd713eab358
* A breakdown of how the problem (or message file) gets updated
- A plugin uses notify and specifies _kind_, _message_ and _linenumber_
- CheckPlugin adds _check_
- PuppetLint adds _path_, _filename_, _fullpath_ and _KIND_