labs-labs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santiago Gala <santiago.g...@gmail.com>
Subject Re: New lab: mouse
Date Fri, 23 Jul 2010 16:57:29 GMT
El vie, 23-07-2010 a las 14:27 +0200, Bertrand Delacretaz escribió:
> On Fri, Jul 23, 2010 at 2:20 PM, Ross Gardler <rgardler@apache.org> 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: labs-unsubscribe@labs.apache.org
> For additional commands, e-mail: labs-help@labs.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@labs.apache.org
For additional commands, e-mail: labs-help@labs.apache.org


Mime
View raw message