Affects Version/s: None
Fix Version/s: 1.0.0
GitHub uses a library called Licensee to identify a project's license type. It shows this information in the status bar and via the API if it can unambiguously identify the license. Licensee is currently unable to recognize Apache Brooklyn's license type.
This is in part due to the fact that the LICENSE file doesn't contain the full text of the Apache license (i.e., it is missing the Appendix at the end of the license).
A simple fix might involve the following steps:
- restoring the Appendix to the end of the Apache license text in the LICENSE file
- removing all text preceding the beginning of the license text in the LICENSE file
- updating the README to include a "License" section, which would store the text that was removed from the beginning of the LICENSE file. This could read as follows:
(For repositories licensed with the Apache License, Licensee is unable to detect the correct license type unless the LICENSE file begins with the full text of the Apache license.)
For comparison purposes, here is the output that I get when I run Licensee locally on Apache Brooklyn's remote repo:
And here is the output that I get when I run Licensee on my local Apache Brooklyn clone (in which I have made the changes listed above):