Skip to content

Commit 8dd346a

Browse files
ajitpratap0Ajit Pratap Singh
andauthored
fix: replace LICENSE files with exact official Apache 2.0 text (#356)
pkg.go.dev license detection requires an exact match against the official Apache 2.0 template. The previous LICENSE files had minor textual deviations (e.g. 'the Licensor' vs 'Licensor', modified appendix section) that prevented detection. Both root LICENSE and vscode-extension/LICENSE now use the verbatim text from https://www.apache.org/licenses/LICENSE-2.0.txt Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local>
1 parent 9a9b54a commit 8dd346a

2 files changed

Lines changed: 36 additions & 30 deletions

File tree

LICENSE

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/
@@ -48,7 +49,7 @@
4849
"Contribution" shall mean any work of authorship, including
4950
the original version of the Work and any modifications or additions
5051
to that Work or Derivative Works thereof, that is intentionally
51-
submitted to the Licensor for inclusion in the Work by the copyright owner
52+
submitted to Licensor for inclusion in the Work by the copyright owner
5253
or by an individual or Legal Entity authorized to submit on behalf of
5354
the copyright owner. For the purposes of this definition, "submitted"
5455
means any form of electronic, verbal, or written communication sent
@@ -60,7 +61,7 @@
6061
designated in writing by the copyright owner as "Not a Contribution."
6162

6263
"Contributor" shall mean Licensor and any individual or Legal Entity
63-
on behalf of whom a Contribution has been received by the Licensor and
64+
on behalf of whom a Contribution has been received by Licensor and
6465
subsequently incorporated within the Work.
6566

6667
2. Grant of Copyright License. Subject to the terms and conditions of
@@ -106,7 +107,7 @@
106107
(d) If the Work includes a "NOTICE" text file as part of its
107108
distribution, then any Derivative Works that You distribute must
108109
include a readable copy of the attribution notices contained
109-
within such NOTICE file, excluding any notices that do not
110+
within such NOTICE file, excluding those notices that do not
110111
pertain to any part of the Derivative Works, in at least one
111112
of the following places: within a NOTICE text file distributed
112113
as part of the Derivative Works; within the Source form or
@@ -181,19 +182,21 @@
181182
boilerplate notice, with the fields enclosed by brackets "[]"
182183
replaced with your own identifying information. (Don't include
183184
the brackets!) The text should be enclosed in the appropriate
184-
comment syntax for the file format. Please also get the
185-
"NOTICE" file described in section 4d of the License.
185+
comment syntax for the file format. We also recommend that a
186+
file or class name and description of purpose be included on the
187+
same "printed page" as the copyright notice for easier
188+
identification within third-party archives.
186189

187-
Copyright [yyyy] [name of copyright owner]
190+
Copyright [yyyy] [name of copyright owner]
188191

189-
Licensed under the Apache License, Version 2.0 (the "License");
190-
you may not use this file except in compliance with the License.
191-
You may obtain a copy of the License at
192+
Licensed under the Apache License, Version 2.0 (the "License");
193+
you may not use this file except in compliance with the License.
194+
You may obtain a copy of the License at
192195

193-
http://www.apache.org/licenses/LICENSE-2.0
196+
http://www.apache.org/licenses/LICENSE-2.0
194197

195-
Unless required by applicable law or agreed to in writing, software
196-
distributed under the License is distributed on an "AS IS" BASIS,
197-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198-
See the License for the specific language governing permissions and
199-
limitations under the License.
198+
Unless required by applicable law or agreed to in writing, software
199+
distributed under the License is distributed on an "AS IS" BASIS,
200+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201+
See the License for the specific language governing permissions and
202+
limitations under the License.

vscode-extension/LICENSE

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/
@@ -48,7 +49,7 @@
4849
"Contribution" shall mean any work of authorship, including
4950
the original version of the Work and any modifications or additions
5051
to that Work or Derivative Works thereof, that is intentionally
51-
submitted to the Licensor for inclusion in the Work by the copyright owner
52+
submitted to Licensor for inclusion in the Work by the copyright owner
5253
or by an individual or Legal Entity authorized to submit on behalf of
5354
the copyright owner. For the purposes of this definition, "submitted"
5455
means any form of electronic, verbal, or written communication sent
@@ -60,7 +61,7 @@
6061
designated in writing by the copyright owner as "Not a Contribution."
6162

6263
"Contributor" shall mean Licensor and any individual or Legal Entity
63-
on behalf of whom a Contribution has been received by the Licensor and
64+
on behalf of whom a Contribution has been received by Licensor and
6465
subsequently incorporated within the Work.
6566

6667
2. Grant of Copyright License. Subject to the terms and conditions of
@@ -106,7 +107,7 @@
106107
(d) If the Work includes a "NOTICE" text file as part of its
107108
distribution, then any Derivative Works that You distribute must
108109
include a readable copy of the attribution notices contained
109-
within such NOTICE file, excluding any notices that do not
110+
within such NOTICE file, excluding those notices that do not
110111
pertain to any part of the Derivative Works, in at least one
111112
of the following places: within a NOTICE text file distributed
112113
as part of the Derivative Works; within the Source form or
@@ -181,19 +182,21 @@
181182
boilerplate notice, with the fields enclosed by brackets "[]"
182183
replaced with your own identifying information. (Don't include
183184
the brackets!) The text should be enclosed in the appropriate
184-
comment syntax for the file format. Please also get the
185-
"NOTICE" file described in section 4d of the License.
185+
comment syntax for the file format. We also recommend that a
186+
file or class name and description of purpose be included on the
187+
same "printed page" as the copyright notice for easier
188+
identification within third-party archives.
186189

187-
Copyright [yyyy] [name of copyright owner]
190+
Copyright [yyyy] [name of copyright owner]
188191

189-
Licensed under the Apache License, Version 2.0 (the "License");
190-
you may not use this file except in compliance with the License.
191-
You may obtain a copy of the License at
192+
Licensed under the Apache License, Version 2.0 (the "License");
193+
you may not use this file except in compliance with the License.
194+
You may obtain a copy of the License at
192195

193-
http://www.apache.org/licenses/LICENSE-2.0
196+
http://www.apache.org/licenses/LICENSE-2.0
194197

195-
Unless required by applicable law or agreed to in writing, software
196-
distributed under the License is distributed on an "AS IS" BASIS,
197-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198-
See the License for the specific language governing permissions and
199-
limitations under the License.
198+
Unless required by applicable law or agreed to in writing, software
199+
distributed under the License is distributed on an "AS IS" BASIS,
200+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201+
See the License for the specific language governing permissions and
202+
limitations under the License.

0 commit comments

Comments
 (0)