Return-Path: Delivered-To: apmail-incubator-rat-dev-archive@locus.apache.org Received: (qmail 73543 invoked from network); 29 Apr 2008 21:25:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 21:25:15 -0000 Received: (qmail 6005 invoked by uid 500); 29 Apr 2008 21:25:17 -0000 Delivered-To: apmail-incubator-rat-dev-archive@incubator.apache.org Received: (qmail 5979 invoked by uid 500); 29 Apr 2008 21:25:17 -0000 Mailing-List: contact rat-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: rat-dev@incubator.apache.org Delivered-To: mailing list rat-dev@incubator.apache.org Received: (qmail 5968 invoked by uid 99); 29 Apr 2008 21:25:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 14:25:17 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [163.1.2.167] (HELO relay6.mail.ox.ac.uk) (163.1.2.167) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 21:24:23 +0000 Received: from smtp2.mail.ox.ac.uk ([163.1.2.205]) by relay6.mail.ox.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1JqxJc-0000hq-Lp for rat-dev@incubator.apache.org; Tue, 29 Apr 2008 22:24:44 +0100 Received: from host81-156-175-12.range81-156.btcentralplus.com ([81.156.175.12] helo=[192.168.1.69]) by smtp2.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JqxJc-00049E-7z for rat-dev@incubator.apache.org; Tue, 29 Apr 2008 22:24:44 +0100 Message-ID: <48179291.7040909@apache.org> Date: Tue, 29 Apr 2008 22:26:41 +0100 From: Ross Gardler User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: rat-dev@incubator.apache.org Subject: Re: Adding licences automatically? References: <48110F0B.3050200@apache.org> <5a75db780804241611x2431f3bendc913c5cb81493b6@mail.gmail.com> <1209416172.6123.13.camel@localhost> In-Reply-To: <1209416172.6123.13.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Oxford-Username: oucs0040 X-Virus-Checked: Checked by ClamAV on apache.org Robert Burrell Donkin wrote: > On Thu, 2008-04-24 at 16:11 -0700, Luciano Resende wrote: >> You should consider that some files that currently does not have a ASF >> header are that way because they use a different license and are >> indeed correct. > > perhaps that's the point: use RAT to detect those with different > licenses Yes, the initial idea would be to do a reporting run, this would indicate the number of files under a non-Apache licence. Those that are OK would need to be added to an exclude list. Then do a re-licence run in which those not in the exclude list are re-licenced. >> On Thu, Apr 24, 2008 at 3:51 PM, Ross Gardler wrote: >>> Is it within the scope of RAT to optionally add licence headers >>> automatically to documents that don't yet have them? >>> >>> If so, I may implement such a feature at some point in the near future >>> using the relicensing scripts, available here in the ASF, as a starting >>> point. > > possibly: but feel free to start here OK, well I have about 2000 files that need relicensing and a little "play time", so rather than just run the scripts against the code I'll have a bash at bringing the functionality into RAT as described above. Ross