You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Chip Childers <ch...@sungard.com> on 2012/09/13 22:19:18 UTC

Jenkins now running RAT reports on commits

I added a jenkins job (with no email notifications for now) that will
provide a RAT report on each commit.

http://jenkins.cloudstack.org/job/verify-licensing-master/

I'm going to tune the root pom.xml file's configuration to get the
exceptions established correctly, (and resolve some remaining obvious
issues), and then drop the acceptable number of licensing issues down
to 0.  IMO, we should have no licensing problems, outside of "known
exceptions".

Any objections to be enabling email notifications once we have the
results and configuration stabilized?  I personally think that it's
critical to see when someone accidentally commits a new source file,
but omits the proper license header.

-chip

Re: Jenkins now running RAT reports on commits

Posted by Chip Childers <ch...@sungard.com>.
On Thu, Sep 13, 2012 at 4:20 PM, David Nalley <da...@gnsa.us> wrote:
> On Thu, Sep 13, 2012 at 4:19 PM, Chip Childers
> <ch...@sungard.com> wrote:
>> I added a jenkins job (with no email notifications for now) that will
>> provide a RAT report on each commit.
>>
>> http://jenkins.cloudstack.org/job/verify-licensing-master/
>>
>> I'm going to tune the root pom.xml file's configuration to get the
>> exceptions established correctly, (and resolve some remaining obvious
>> issues), and then drop the acceptable number of licensing issues down
>> to 0.  IMO, we should have no licensing problems, outside of "known
>> exceptions".
>>
>> Any objections to be enabling email notifications once we have the
>> results and configuration stabilized?  I personally think that it's
>> critical to see when someone accidentally commits a new source file,
>> but omits the proper license header.
>
> Agreed - better to catch it early and deal with it than have to audit
> all of this again.
>
> --David
>

The build is running now, and will email
cloudstack-commits@incubator.apache.org on failures (as well as the
individuals that committed the incorrectly licensed artifacts).

To test the licensing check locally, run:  mvn
--projects='org.apache.cloudstack:cloudstack'
org.apache.rat:apache-rat-plugin:0.8:check

To add an exception to the rat plugin's configuration (to skip a file
or set of files), edit the root pom.xml file's excludes list for the
plugin.

-chip

Re: Jenkins now running RAT reports on commits

Posted by David Nalley <da...@gnsa.us>.
On Thu, Sep 13, 2012 at 4:19 PM, Chip Childers
<ch...@sungard.com> wrote:
> I added a jenkins job (with no email notifications for now) that will
> provide a RAT report on each commit.
>
> http://jenkins.cloudstack.org/job/verify-licensing-master/
>
> I'm going to tune the root pom.xml file's configuration to get the
> exceptions established correctly, (and resolve some remaining obvious
> issues), and then drop the acceptable number of licensing issues down
> to 0.  IMO, we should have no licensing problems, outside of "known
> exceptions".
>
> Any objections to be enabling email notifications once we have the
> results and configuration stabilized?  I personally think that it's
> critical to see when someone accidentally commits a new source file,
> but omits the proper license header.

Agreed - better to catch it early and deal with it than have to audit
all of this again.

--David