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 Fri, 21 Oct 2016 19:10: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: 
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
>
> 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



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

Mime
View raw message