You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by gm...@apache.org on 2010/05/29 11:11:53 UTC

svn commit: r949360 - /incubator/wookie/trunk/licenses/rat-ignore.txt

Author: gmcdonald
Date: Sat May 29 09:11:53 2010
New Revision: 949360

URL: http://svn.apache.org/viewvc?rev=949360&view=rev
Log:
more excludes

Modified:
    incubator/wookie/trunk/licenses/rat-ignore.txt

Modified: incubator/wookie/trunk/licenses/rat-ignore.txt
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/licenses/rat-ignore.txt?rev=949360&r1=949359&r2=949360&view=diff
==============================================================================
--- incubator/wookie/trunk/licenses/rat-ignore.txt (original)
+++ incubator/wookie/trunk/licenses/rat-ignore.txt Sat May 29 09:11:53 2010
@@ -1,11 +1,19 @@
 licenses/
 readm*.txt
-.settings
+.settings/
 WebContent/META-INF/MANIFEST.MF
 WebContent/shared/js/jquery/**
 project_admin/
 schemas/
-**/**license**
+shindig/readme_shindig.txt
 build/
 **/**csproj**
 **/notsupported/
+connector/CSharp/CSharp.sln
+**/*.properties
+features/camera/shared/thickbox.js
+scripts/
+util/UrlEncodedQueryString.java
+tutorials/geoLocation/legal/
+widgets/localetest/index.htm
+widgets/localetest/locales/



RAT and License headers - (was: RE: svn commit: r949360 - /incubator/wookie/trunk/licenses/rat-ignore.txt)

Posted by "Gav..." <ga...@16degrees.com.au>.
Hi All,

As you may be aware, one of the things we need to be on top of here is licence headers for
our source code. We need to do an audit of the source files in svn, add ASF License headers
to each file that needs it, and make a note of any file that does not need it (as best as
possible.) Come release time, we will be likely checked independently by other ASFers on
our compliance and accuracy of this requirement.

RAT (http://incubator.apache.org/rat) is a semi-automatic tool to greatly simplify things
and keep us on track in this regard.

We use Buildbot to build and test Wookie (it does this after every commit), doing an
'ant', 'ant compile-test', 'ant jar', 'ant publish-local' on the source code. Take a
look at http://ci.apache.org/waterfall for previous test results.

On top of this, Buildbot performs a RAT test on the source code at the same time. Results
of our RAT results are available at:

http://ci.apache.org/projects/wookie/rat-output.html

also, an summary of rat reports for all participating projects (which will be extended further)
is available at:

http://ci.apache.org/projects/rat-master-summary.html

So although we are not competing with or in comparison with any other project listed there, it
would look good on us if we manage to get ourselves a nice lime green zero next to our name.

We reduce our Unknown/Unlicensed files in two ways:

1. We put ASL License Headers in every file possible - if in doubt, put one in.

2. If the file is adhering to another license, or otherwise cannot or does not require a
   license header (such as generated files, very small code snippet files etc) then what
   we must do is add that file (or directory of files) to the 'rat excludes' file I have
   put into svn (/licences/rat-ignore.txt) so that RAT will not test on that file or files.

The rat-output.html displays the first portions of all files deemed to not have a valid
licence header and is a good way to go through narrowing down the possibilities.

I've done what I can (but still please check even those) so let's get our count down to 0
by going through the list and adding licence headers to files where needed and add
(commons wildcard matched) entries to the rat-ignore.txt file.

I mostly left all of /widgets/ alone except for a couple that were obvious to me.

So for the widgets/** - have a 'chat', have a 'natter' amongst yourselves and 'youdecide'
'wheather' or not they need licenses or excluding ;-)

Any questions, feel free to ask.

Gav...

> -----Original Message-----
> From: gmcdonald@apache.org [mailto:gmcdonald@apache.org]
> Sent: Saturday, 29 May 2010 7:12 PM
> To: wookie-dev@incubator.apache.org
> Subject: svn commit: r949360 - /incubator/wookie/trunk/licenses/rat-
> ignore.txt
> 
> Author: gmcdonald
> Date: Sat May 29 09:11:53 2010
> New Revision: 949360
> 
> URL: http://svn.apache.org/viewvc?rev=949360&view=rev
> Log:
> more excludes
> 
> Modified:
>     incubator/wookie/trunk/licenses/rat-ignore.txt
> 
> Modified: incubator/wookie/trunk/licenses/rat-ignore.txt
> URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/licenses/rat-
> ignore.txt?rev=949360&r1=949359&r2=949360&view=diff
> =======================================================================
> =======
> --- incubator/wookie/trunk/licenses/rat-ignore.txt (original)
> +++ incubator/wookie/trunk/licenses/rat-ignore.txt Sat May 29 09:11:53
> 2010
> @@ -1,11 +1,19 @@
>  licenses/
>  readm*.txt
> -.settings
> +.settings/
>  WebContent/META-INF/MANIFEST.MF
>  WebContent/shared/js/jquery/**
>  project_admin/
>  schemas/
> -**/**license**
> +shindig/readme_shindig.txt
>  build/
>  **/**csproj**
>  **/notsupported/
> +connector/CSharp/CSharp.sln
> +**/*.properties
> +features/camera/shared/thickbox.js
> +scripts/
> +util/UrlEncodedQueryString.java
> +tutorials/geoLocation/legal/
> +widgets/localetest/index.htm
> +widgets/localetest/locales/
>