geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <>
Subject [jira] [Commented] (GEODE-18) Initial Code Cleanup
Date Thu, 26 Nov 2015 22:53:10 GMT


Niall Pemberton commented on GEODE-18:

 - I actually wrote a bit of crappy code to detect the Pivotal/VMWare/AS-IS licenses and replace
them, plus add licenses to those files with none, so I dont actually use RAT to do this

 - However you can add the {{-A -f}} flags to the RAT command to add license headers
   ** Note though RAT adds the license after the java package, whereas my utility did it before
(which is what the other ASF projects I worked on do)

Example RAT Command to add license headers:

java -jar /j/apache-rat-0.11/apache-rat-0.11.jar -A -f -d /git/geode/geode-develop -E /git/geode/geode-rat-excludes.txt

> Initial Code Cleanup
> --------------------
>                 Key: GEODE-18
>                 URL:
>             Project: Geode
>          Issue Type: Task
>          Components: general
>    Affects Versions: 1.0.0-incubating
>            Reporter: Niall Pemberton
>            Assignee: Dick Cavender
>             Fix For: 1.0.0-incubating
>         Attachments: 0001-Replace-Pivotal-License-Header-with-Apache-License.patch, 0002-Add-Missing-Apache-License-headers.patch,
0003-Remove-Pivotal-VMWare-AsIs-License-and-add-ASF-Licen.patch, 0004-Add-ASF-License-Header-to-scala-files.patch,
0005-Add-ASF-License-Header-to-XML-files.patch, 0006-Add-ASF-License-Header-to-DTD-XSD-files.patch,
0007-Add-ASF-License-Header-to-HTML-files.patch, 0008-Change-Swagger-ApiInfo-from-Pivotal-Gemfire-to-Apach.patch,
0009-Add-Update-ASF-License-to-java-files.patch, 0010-Add-ASF-License-to-html-xml-xsd-dtd-files.patch,
geode-rat-excludes-2015-10-19.txt, geode-rat-excludes-2015-10-24.txt, geode-rat-excludes-2015-11-22.txt,
geode-rat-report-2015-05-11.txt, geode-rat-report-2015-05-17.txt, geode-rat-report-2015-10-19.txt,
geode-rat-report-2015-10-24.txt, geode-rat-report-2015-11-17.txt, geode-rat-report-2015-11-22.txt
> Please see the Incubator guide:
>     *
> Source & Notice File policy:
>     *
> Apache RAT is a tool that can help with source file headers:
>      *

This message was sent by Atlassian JIRA

View raw message