-
Notifications
You must be signed in to change notification settings - Fork 51
Description
The current LICENSE.txt matches the "text version" of the license https://www.apache.org/licenses/LICENSE-2.0.txt which includes some text that's not actually in the apache license. Namely:
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
I originally committed the entire file to my repo, as I assume others have. I found at least one other instance of it with the placeholders included accidentally https://github.com/salesforce/CodeGen/blob/4ded15eea09163f2ec2e677d20226330a8d682ed/LICENSE.txt.
I filed an issue with that repo: salesforce/CodeGen#95. Please validate that my understanding is correct, that the section at the bottom is not needed (as it is intended for a single file distribution). If so, I suggest updating the contents of LICENSE.txt
to match what we hope to see in licenses (by removing the appendix).