edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale LaBossiere (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (EDGENT-284) Check all source files have license headers
Date Mon, 14 Nov 2016 16:02:58 GMT

     [ https://issues.apache.org/jira/browse/EDGENT-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dale LaBossiere updated EDGENT-284:
-----------------------------------
    Description: 
Apache RAT will check this - https://creadur.apache.org/rat/

$ cd <edgent-root>
$ java -jar ~/Downloads/apache-rat-0.12/apache-rat-0.12.jar . >rat.output


  was:
Apache RAT 
TODO check into existing tools for this.
In the mean time, these steps should be a sensible substitute:

cd edgent

find . -name '*.java' >all.java.txt
grep -l "Licensed to the Apache" `cat all.java.txt` > lic.java.txt
diff {all,lic}.java.txt

find . -name '*.sh' >all.sh.txt
grep -l "Licensed to the Apache" `cat all.sh.txt` > lic.sh.txt
diff {all,lic}.sh.txt

find . -name '*.cmd' >all.cmd.txt
grep -l "Licensed to the Apache" `cat all.cmd.txt` > lic.cmd.txt
diff {all,lic}.cmd.txt



> Check all source files have license headers
> -------------------------------------------
>
>                 Key: EDGENT-284
>                 URL: https://issues.apache.org/jira/browse/EDGENT-284
>             Project: Edgent
>          Issue Type: Sub-task
>            Reporter: Dale LaBossiere
>            Assignee: Dale LaBossiere
>
> Apache RAT will check this - https://creadur.apache.org/rat/
> $ cd <edgent-root>
> $ java -jar ~/Downloads/apache-rat-0.12/apache-rat-0.12.jar . >rat.output



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message