Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some file types by definition are excluded since they don't have licenses at all. They may not need a license: "A file without any degree of creativity in either its literal elements or its structure is not protected by copyright law; therefore, such a file does not require a license header." – https://www.apache.org/legal/src-headers.html Other files "may make sense to have no license header". Three examples are: "short informational text files", "test data for which the addition of a source header would cause the tests to fail", and "'snippet' files that are combined as form a larger file where the larger file would have duplicate licensing headers".

When identifying the problematic areas for the relicensing process in incubator-netbeans, the following types of files are relevant, some/many of which could be seen to not having "any degree of creativity" or "may make sense to have no license header" via the above definitiondefinitions:

File TypeStatistics*StatusIssues
.form

find . -type f -name "*.form" | grep -v '\.git' | wc -l

Result: 1242

1019 have an adjacent Java source file with a license header

223 don't have an adjacent Java source file (form module tests)

Consensus appears to be that all .form files need to manually have licenses added, in incubator-netbeans, while Matisse needs to be able to generate licenses for .form files going forward.
Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyLEGAL-327
.png/.gif/other image files

find . -type f -name "*.png" | grep -v '\.git' | wc -l

Result: 2273

find . -type f -name "*.gif" | grep -v '\.git' | wc -l

Result: 1094

find . -type f -name "*.jpg" | grep -v '\.git' | wc -l

Result: 26

find . -type f -name "*.ico" | grep -v '\.git' | wc -l

Result: 3

  
manifest files

find . -type f -name "*.form" | grep -v '\.git' | wc -l

Result: 772

Does this have any degree of creativity? 
list files

find . -type f -name "*.list" | grep -v '\.git' | wc -l

Result: 42

Does this have any degree of creativity? 
sig files

find . -type f -name "*.sig" | grep -v '\.git' | wc -l

Result: 108

Does this have any degree of creativity? 
txt files

find . -type f -name "*.txt" | grep -v '\.git' | wc -l

Result: 930

 May make sense to have no license header? 
binaries-list files

find . -type f -name "binaries-list" | grep -v '\.git' | wc -l

Result: 121

Does this have any degree of creativity? 
README files

find . -type f -name "README*" | grep -v '\.git' | wc -l

Result: 22

 May make sense to have no license header? 
file files

find . -type f -name "*.file" | grep -v '\.git' | wc -l

Result: 1

 May make sense to have no license header? 
jsp files

find . -type f -name "*.jsp" | grep -v '\.git' | wc -l

Result: 7

  
xsl files

find . -type f -name "*.xsl" | grep -v '\.git' | wc -l

Result: 49

  
sh filesfind . -type f -name "*.sh" | grep -v '\.git' | wc -l

Result: 80

  
css filesfind . -type f -name "*.css | grep -v '\.git' | wc -l

Result: 33

  
pass (golden) files

find . -type f -name "*.pass" | grep -v '\.git' | wc -l

Result: 2644

Does this have any degree of creativity? 
    

...