Skip to content

Commit be382f7

Browse files
committed
chore: add licenses check
1 parent 2122fa8 commit be382f7

File tree

1,316 files changed

+250111
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,316 files changed

+250111
-3
lines changed

.licensed.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
sources:
2+
go: true
3+
4+
cache_path: .licenses
5+
6+
apps:
7+
- source_path: ./cmd/arduino-app-cli
8+
9+
10+
reviewed:
11+
go:
12+
# TODO: remove it after releasing this https://github.com/arduino/go-win32-utils/pull/10
13+
- github.com/arduino/go-win32-utils
14+
# multiple licenses all of which are compatible
15+
- github.com/apparentlymart/go-textseg/v15/textseg
16+
- sigs.k8s.io/yaml
17+
18+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies/GPL-3.0/.licensed.yml
19+
allowed:
20+
# The following are based on: https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses
21+
- gpl-1.0-or-later
22+
- gpl-1.0+ # Deprecated ID for `gpl-1.0-or-later`
23+
- gpl-2.0-or-later
24+
- gpl-2.0+ # Deprecated ID for `gpl-2.0-or-later`
25+
- gpl-3.0-only
26+
- gpl-3.0 # Deprecated ID for `gpl-3.0-only`
27+
- gpl-3.0-or-later
28+
- gpl-3.0+ # Deprecated ID for `gpl-3.0-or-later`
29+
- lgpl-2.0-or-later
30+
- lgpl-2.0+ # Deprecated ID for `lgpl-2.0-or-later`
31+
- lgpl-2.1-only
32+
- lgpl-2.1 # Deprecated ID for `lgpl-2.1-only`
33+
- lgpl-2.1-or-later
34+
- lgpl-2.1+ # Deprecated ID for `lgpl-2.1-or-later`
35+
- lgpl-3.0-only
36+
- lgpl-3.0 # Deprecated ID for `lgpl-3.0-only`
37+
- lgpl-3.0-or-later
38+
- lgpl-3.0+ # Deprecated ID for `lgpl-3.0-or-later`
39+
- fsfap
40+
- apache-2.0
41+
- artistic-2.0
42+
- clartistic
43+
- sleepycat
44+
- bsl-1.0
45+
- bsd-3-clause
46+
- cecill-2.0
47+
- bsd-3-clause-clear
48+
# "Cryptix General License" - no SPDX ID (https://github.com/spdx/license-list-XML/issues/456)
49+
- ecos-2.0
50+
- ecl-2.0
51+
- efl-2.0
52+
- eudatagrid
53+
- mit
54+
- bsd-2-clause # Subsumed by `bsd-2-clause-views`
55+
- bsd-2-clause-netbsd # Deprecated ID for `bsd-2-clause`
56+
- bsd-2-clause-views # This is the version linked from https://www.gnu.org/licenses/license-list.html#FreeBSD
57+
- bsd-2-clause-freebsd # Deprecated ID for `bsd-2-clause-views`
58+
- ftl
59+
- hpnd
60+
- imatix
61+
- imlib2
62+
- ijg
63+
# "Informal license" - this is a general class of license
64+
- intel
65+
- isc
66+
- mpl-2.0
67+
- ncsa
68+
# "License of Netscape JavaScript" - no SPDX ID
69+
- oldap-2.7
70+
# "License of Perl 5 and below" - possibly `Artistic-1.0-Perl` ?
71+
- cc0-1.0
72+
- cc-pddc
73+
- psf-2.0
74+
- ruby
75+
- sgi-b-2.0
76+
- smlnj
77+
- standardml-nj # Deprecated ID for `smlnj`
78+
- unicode-dfs-2015
79+
- upl-1.0
80+
- unlicense
81+
- vim
82+
- w3c
83+
- wtfpl
84+
- lgpl-2.0-or-later with wxwindows-exception-3.1
85+
- wxwindows # Deprecated ID for `lgpl-2.0-or-later with wxwindows-exception-3.1`
86+
- x11
87+
- xfree86-1.1
88+
- zlib
89+
- zpl-2.0
90+
- zpl-2.1
91+
# The following are based on individual license text
92+
- eupl-1.2
93+
- liliq-r-1.1
94+
- liliq-rplus-1.1

.licenses/arduino-app-cli/NOTICE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
THIRD PARTY NOTICES
2+
3+
*****
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: dario.cat/mergo
3+
version: v1.0.2
4+
type: go
5+
summary: A helper to merge structs and maps in Golang.
6+
homepage: https://pkg.go.dev/dario.cat/mergo
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: LICENSE
10+
text: |
11+
Copyright (c) 2013 Dario Castañé. All rights reserved.
12+
Copyright (c) 2012 The Go Authors. All rights reserved.
13+
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions are
16+
met:
17+
18+
* Redistributions of source code must retain the above copyright
19+
notice, this list of conditions and the following disclaimer.
20+
* Redistributions in binary form must reproduce the above
21+
copyright notice, this list of conditions and the following disclaimer
22+
in the documentation and/or other materials provided with the
23+
distribution.
24+
* Neither the name of Google Inc. nor the names of its
25+
contributors may be used to endorse or promote products derived from
26+
this software without specific prior written permission.
27+
28+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39+
- sources: README.md
40+
text: |-
41+
[BSD 3-Clause](http://opensource.org/licenses/BSD-3-Clause) license, as [Go language](http://golang.org/LICENSE).
42+
43+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fimdario%2Fmergo.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fimdario%2Fmergo?ref=badge_large)
44+
notices: []
Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
---
2+
name: fortio.org/safecast
3+
version: v1.2.0
4+
type: go
5+
summary: Package safecast allows you to safely cast between numeric types in Go and
6+
return errors (or panic when using the Must* variants) when the cast would result
7+
in a loss of precision, range or sign.
8+
homepage: https://pkg.go.dev/fortio.org/safecast
9+
license: apache-2.0
10+
licenses:
11+
- sources: LICENSE
12+
text: |2
13+
Apache License
14+
Version 2.0, January 2004
15+
http://www.apache.org/licenses/
16+
17+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
18+
19+
1. Definitions.
20+
21+
"License" shall mean the terms and conditions for use, reproduction,
22+
and distribution as defined by Sections 1 through 9 of this document.
23+
24+
"Licensor" shall mean the copyright owner or entity authorized by
25+
the copyright owner that is granting the License.
26+
27+
"Legal Entity" shall mean the union of the acting entity and all
28+
other entities that control, are controlled by, or are under common
29+
control with that entity. For the purposes of this definition,
30+
"control" means (i) the power, direct or indirect, to cause the
31+
direction or management of such entity, whether by contract or
32+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
33+
outstanding shares, or (iii) beneficial ownership of such entity.
34+
35+
"You" (or "Your") shall mean an individual or Legal Entity
36+
exercising permissions granted by this License.
37+
38+
"Source" form shall mean the preferred form for making modifications,
39+
including but not limited to software source code, documentation
40+
source, and configuration files.
41+
42+
"Object" form shall mean any form resulting from mechanical
43+
transformation or translation of a Source form, including but
44+
not limited to compiled object code, generated documentation,
45+
and conversions to other media types.
46+
47+
"Work" shall mean the work of authorship, whether in Source or
48+
Object form, made available under the License, as indicated by a
49+
copyright notice that is included in or attached to the work
50+
(an example is provided in the Appendix below).
51+
52+
"Derivative Works" shall mean any work, whether in Source or Object
53+
form, that is based on (or derived from) the Work and for which the
54+
editorial revisions, annotations, elaborations, or other modifications
55+
represent, as a whole, an original work of authorship. For the purposes
56+
of this License, Derivative Works shall not include works that remain
57+
separable from, or merely link (or bind by name) to the interfaces of,
58+
the Work and Derivative Works thereof.
59+
60+
"Contribution" shall mean any work of authorship, including
61+
the original version of the Work and any modifications or additions
62+
to that Work or Derivative Works thereof, that is intentionally
63+
submitted to Licensor for inclusion in the Work by the copyright owner
64+
or by an individual or Legal Entity authorized to submit on behalf of
65+
the copyright owner. For the purposes of this definition, "submitted"
66+
means any form of electronic, verbal, or written communication sent
67+
to the Licensor or its representatives, including but not limited to
68+
communication on electronic mailing lists, source code control systems,
69+
and issue tracking systems that are managed by, or on behalf of, the
70+
Licensor for the purpose of discussing and improving the Work, but
71+
excluding communication that is conspicuously marked or otherwise
72+
designated in writing by the copyright owner as "Not a Contribution."
73+
74+
"Contributor" shall mean Licensor and any individual or Legal Entity
75+
on behalf of whom a Contribution has been received by Licensor and
76+
subsequently incorporated within the Work.
77+
78+
2. Grant of Copyright License. Subject to the terms and conditions of
79+
this License, each Contributor hereby grants to You a perpetual,
80+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
81+
copyright license to reproduce, prepare Derivative Works of,
82+
publicly display, publicly perform, sublicense, and distribute the
83+
Work and such Derivative Works in Source or Object form.
84+
85+
3. Grant of Patent License. Subject to the terms and conditions of
86+
this License, each Contributor hereby grants to You a perpetual,
87+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
88+
(except as stated in this section) patent license to make, have made,
89+
use, offer to sell, sell, import, and otherwise transfer the Work,
90+
where such license applies only to those patent claims licensable
91+
by such Contributor that are necessarily infringed by their
92+
Contribution(s) alone or by combination of their Contribution(s)
93+
with the Work to which such Contribution(s) was submitted. If You
94+
institute patent litigation against any entity (including a
95+
cross-claim or counterclaim in a lawsuit) alleging that the Work
96+
or a Contribution incorporated within the Work constitutes direct
97+
or contributory patent infringement, then any patent licenses
98+
granted to You under this License for that Work shall terminate
99+
as of the date such litigation is filed.
100+
101+
4. Redistribution. You may reproduce and distribute copies of the
102+
Work or Derivative Works thereof in any medium, with or without
103+
modifications, and in Source or Object form, provided that You
104+
meet the following conditions:
105+
106+
(a) You must give any other recipients of the Work or
107+
Derivative Works a copy of this License; and
108+
109+
(b) You must cause any modified files to carry prominent notices
110+
stating that You changed the files; and
111+
112+
(c) You must retain, in the Source form of any Derivative Works
113+
that You distribute, all copyright, patent, trademark, and
114+
attribution notices from the Source form of the Work,
115+
excluding those notices that do not pertain to any part of
116+
the Derivative Works; and
117+
118+
(d) If the Work includes a "NOTICE" text file as part of its
119+
distribution, then any Derivative Works that You distribute must
120+
include a readable copy of the attribution notices contained
121+
within such NOTICE file, excluding those notices that do not
122+
pertain to any part of the Derivative Works, in at least one
123+
of the following places: within a NOTICE text file distributed
124+
as part of the Derivative Works; within the Source form or
125+
documentation, if provided along with the Derivative Works; or,
126+
within a display generated by the Derivative Works, if and
127+
wherever such third-party notices normally appear. The contents
128+
of the NOTICE file are for informational purposes only and
129+
do not modify the License. You may add Your own attribution
130+
notices within Derivative Works that You distribute, alongside
131+
or as an addendum to the NOTICE text from the Work, provided
132+
that such additional attribution notices cannot be construed
133+
as modifying the License.
134+
135+
You may add Your own copyright statement to Your modifications and
136+
may provide additional or different license terms and conditions
137+
for use, reproduction, or distribution of Your modifications, or
138+
for any such Derivative Works as a whole, provided Your use,
139+
reproduction, and distribution of the Work otherwise complies with
140+
the conditions stated in this License.
141+
142+
5. Submission of Contributions. Unless You explicitly state otherwise,
143+
any Contribution intentionally submitted for inclusion in the Work
144+
by You to the Licensor shall be under the terms and conditions of
145+
this License, without any additional terms or conditions.
146+
Notwithstanding the above, nothing herein shall supersede or modify
147+
the terms of any separate license agreement you may have executed
148+
with Licensor regarding such Contributions.
149+
150+
6. Trademarks. This License does not grant permission to use the trade
151+
names, trademarks, service marks, or product names of the Licensor,
152+
except as required for reasonable and customary use in describing the
153+
origin of the Work and reproducing the content of the NOTICE file.
154+
155+
7. Disclaimer of Warranty. Unless required by applicable law or
156+
agreed to in writing, Licensor provides the Work (and each
157+
Contributor provides its Contributions) on an "AS IS" BASIS,
158+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
159+
implied, including, without limitation, any warranties or conditions
160+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
161+
PARTICULAR PURPOSE. You are solely responsible for determining the
162+
appropriateness of using or redistributing the Work and assume any
163+
risks associated with Your exercise of permissions under this License.
164+
165+
8. Limitation of Liability. In no event and under no legal theory,
166+
whether in tort (including negligence), contract, or otherwise,
167+
unless required by applicable law (such as deliberate and grossly
168+
negligent acts) or agreed to in writing, shall any Contributor be
169+
liable to You for damages, including any direct, indirect, special,
170+
incidental, or consequential damages of any character arising as a
171+
result of this License or out of the use or inability to use the
172+
Work (including but not limited to damages for loss of goodwill,
173+
work stoppage, computer failure or malfunction, or any and all
174+
other commercial damages or losses), even if such Contributor
175+
has been advised of the possibility of such damages.
176+
177+
9. Accepting Warranty or Additional Liability. While redistributing
178+
the Work or Derivative Works thereof, You may choose to offer,
179+
and charge a fee for, acceptance of support, warranty, indemnity,
180+
or other liability obligations and/or rights consistent with this
181+
License. However, in accepting such obligations, You may act only
182+
on Your own behalf and on Your sole responsibility, not on behalf
183+
of any other Contributor, and only if You agree to indemnify,
184+
defend, and hold each Contributor harmless for any liability
185+
incurred by, or claims asserted against, such Contributor by reason
186+
of your accepting any such warranty or additional liability.
187+
188+
END OF TERMS AND CONDITIONS
189+
190+
APPENDIX: How to apply the Apache License to your work.
191+
192+
To apply the Apache License to your work, attach the following
193+
boilerplate notice, with the fields enclosed by brackets "[]"
194+
replaced with your own identifying information. (Don't include
195+
the brackets!) The text should be enclosed in the appropriate
196+
comment syntax for the file format. We also recommend that a
197+
file or class name and description of purpose be included on the
198+
same "printed page" as the copyright notice for easier
199+
identification within third-party archives.
200+
201+
Copyright [yyyy] [name of copyright owner]
202+
203+
Licensed under the Apache License, Version 2.0 (the "License");
204+
you may not use this file except in compliance with the License.
205+
You may obtain a copy of the License at
206+
207+
http://www.apache.org/licenses/LICENSE-2.0
208+
209+
Unless required by applicable law or agreed to in writing, software
210+
distributed under the License is distributed on an "AS IS" BASIS,
211+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
212+
See the License for the specific language governing permissions and
213+
limitations under the License.
214+
notices: []
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: github.com/AlecAivazis/survey/v2
3+
version: v2.3.7
4+
type: go
5+
summary:
6+
homepage: https://pkg.go.dev/github.com/AlecAivazis/survey/v2
7+
license: mit
8+
licenses:
9+
- sources: LICENSE
10+
text: |
11+
MIT License
12+
13+
Copyright (c) 2018 Alec Aivazis
14+
15+
Permission is hereby granted, free of charge, to any person obtaining a copy
16+
of this software and associated documentation files (the "Software"), to deal
17+
in the Software without restriction, including without limitation the rights
18+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19+
copies of the Software, and to permit persons to whom the Software is
20+
furnished to do so, subject to the following conditions:
21+
22+
The above copyright notice and this permission notice shall be included in all
23+
copies or substantial portions of the Software.
24+
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31+
SOFTWARE.
32+
notices: []

0 commit comments

Comments
 (0)