The goal is to have the same output format as RAT. The filters are implemented as a series of regular expressions (whereas RAT filter syntax is not). It shouldn't be too difficult to translate the RAT exclude syntax to proper regular expressions.
Also, thanks for all the +1's. I'll wait until 72hrs, and then upload the code to the repo. -Hyrum On Fri, Jul 23, 2010 at 6:27 PM, Ross Gardler <[email protected]> wrote: > RAT is pretty good with respect to exceptions and reporting now. However, I'd > suggest Mouse should focus on how it is described in the proposal > "lightweight". Let's make it work without considering the strengths and > weaknesses of RAT. > > Sent from my mobile device. > > On 23 Jul 2010, at 17:57, Santiago Gala <[email protected]> wrote: > >> El vie, 23-07-2010 a las 14:27 +0200, Bertrand Delacretaz escribió: >>> On Fri, Jul 23, 2010 at 2:20 PM, Ross Gardler <[email protected]> wrote: >>>> ...At present RAT has an >>>> architecture that makes it quite extensible, but is overly complex for what >>>> it does, which is essentially a pattern match.... >>> >>> FWIW, one thing that's missing in RAT (AFAIK, might have changed since >>> I looked) is an exceptions file that lives in the analyzed project's >>> svn space. >>> >>> Something like: >>> # pattern : reason >>> .*\.foo : foo files do not need a license >>> src/main.*/foo/.*\.java : foo package comes from foo.org, not Apache headers >>> >>> This would allow a pass/fail test with RAT, with all exceptions listed in >>> svn. >>> >> >> ... and the generated report would still report on the exception "fired" >> or even, optionally, on the fact that an exception had an empty set of >> matches. Allowing for grouping in the regex and re.sub'ing \0... in the >> "reason" would also allow for cleaner reporting. >> >> Regards >> Santiago >> >> >>> -Bertrand >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
