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]
