Skip to content

Commit c212103

Browse files
committed
Use separate dependency license metadata cache for each module
Information on the licenses of the project's dependencies are cached in the repository. This metadata is used to check for compatibility with the project licensing, using GitHub's "licensed" tool. The project contains multiple Go modules. Since these modules share many of the same dependencies, it is most efficient to use a shared license metadata cache. Unfortunately the creators of the "licensed" tool did not consider the possibility that a project might have dependencies on multiple versions of a single Go module, which resulted in the structure of the metadata cache not being able to accommodate such a situation. The only workaround is to abandon the use of a shared license metadata cache and instead have a dedicated cache for each of the modules.
1 parent 5b0e158 commit c212103

File tree

178 files changed

+12817
-14
lines changed

Some content is hidden

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

178 files changed

+12817
-14
lines changed

Diff for: .licensed.yml

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
sources:
33
go: true
44

5-
shared_cache: true
6-
cache_path: .licenses/
7-
85
apps:
96
- source_path: ./
107
- source_path: docsgen/

Diff for: .licenses/go/github.com/arduino/arduino-cli/arduino/cores.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/arduino/cores.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/arduino/cores
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/cores
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/go/github.com/arduino/arduino-cli/arduino/cores/packageindex.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/arduino/cores/packageindex.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/arduino/cores/packageindex
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/cores/packageindex
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/go/github.com/arduino/arduino-cli/arduino/resources.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/arduino/resources.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/arduino/resources
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/resources
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/arduino/serialutils.dep.yml

+699
Large diffs are not rendered by default.

Diff for: .licenses/go/github.com/arduino/arduino-cli/arduino/utils.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/arduino/utils.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/arduino/utils
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/arduino/utils
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/go/github.com/arduino/arduino-cli/cli/errorcodes.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/cli/errorcodes.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/cli/errorcodes
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/cli/errorcodes
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/go/github.com/arduino/arduino-cli/cli/feedback.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/cli/feedback.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/cli/feedback
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/cli/feedback
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/go/github.com/arduino/arduino-cli/executils.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/executils.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/executils
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/executils
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/go/github.com/arduino/arduino-cli/table.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/arduino-cli/table.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/arduino-cli/table
33
version: v0.0.0-20210603144340-aef5a54882fa
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/table
77
license: gpl-3.0-only
88
licenses:

Diff for: .licenses/go/github.com/arduino/go-paths-helper.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/arduino/go-paths-helper.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/arduino/go-paths-helper
33
version: v1.6.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/go-paths-helper
77
license: gpl-2.0-or-later
88
licenses:

Diff for: .licenses/go/github.com/cmaglie/go.rice.dep.yml renamed to .licenses/arduino-fwuploader/go/github.com/cmaglie/go.rice.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: github.com/cmaglie/go.rice
33
version: v1.0.3
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/cmaglie/go.rice
77
license: bsd-2-clause
88
licenses:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
name: golang.org/x/crypto/cast5
3+
version: v0.0.0-20200406173513-056763e48d71
4+
type: go
5+
summary: Package cast5 implements CAST5, as defined in RFC 2144.
6+
homepage: https://pkg.go.dev/golang.org/x/crypto/cast5
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: [email protected]/LICENSE
10+
text: |
11+
Copyright (c) 2009 The Go Authors. All rights reserved.
12+
13+
Redistribution and use in source and binary forms, with or without
14+
modification, are permitted provided that the following conditions are
15+
met:
16+
17+
* Redistributions of source code must retain the above copyright
18+
notice, this list of conditions and the following disclaimer.
19+
* Redistributions in binary form must reproduce the above
20+
copyright notice, this list of conditions and the following disclaimer
21+
in the documentation and/or other materials provided with the
22+
distribution.
23+
* Neither the name of Google Inc. nor the names of its
24+
contributors may be used to endorse or promote products derived from
25+
this software without specific prior written permission.
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38+
- sources: [email protected]/PATENTS
39+
text: |
40+
Additional IP Rights Grant (Patents)
41+
42+
"This implementation" means the copyrightable works distributed by
43+
Google as part of the Go project.
44+
45+
Google hereby grants to You a perpetual, worldwide, non-exclusive,
46+
no-charge, royalty-free, irrevocable (except as stated in this section)
47+
patent license to make, have made, use, offer to sell, sell, import,
48+
transfer and otherwise run, modify and propagate the contents of this
49+
implementation of Go, where such license applies only to those patent
50+
claims, both currently owned or controlled by Google and acquired in
51+
the future, licensable by Google that are necessarily infringed by this
52+
implementation of Go. This grant does not include claims that would be
53+
infringed only as a consequence of further modification of this
54+
implementation. If you or your agent or exclusive licensee institute or
55+
order or agree to the institution of patent litigation against any
56+
entity (including a cross-claim or counterclaim in a lawsuit) alleging
57+
that this implementation of Go or any code incorporated within this
58+
implementation of Go constitutes direct or contributory patent
59+
infringement, or inducement of patent infringement, then any patent
60+
rights granted to you under this License for this implementation of Go
61+
shall terminate as of the date such litigation is filed.
62+
notices: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
name: golang.org/x/crypto/openpgp
3+
version: v0.0.0-20200406173513-056763e48d71
4+
type: go
5+
summary: Package openpgp implements high level operations on OpenPGP messages.
6+
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: [email protected]/LICENSE
10+
text: |
11+
Copyright (c) 2009 The Go Authors. All rights reserved.
12+
13+
Redistribution and use in source and binary forms, with or without
14+
modification, are permitted provided that the following conditions are
15+
met:
16+
17+
* Redistributions of source code must retain the above copyright
18+
notice, this list of conditions and the following disclaimer.
19+
* Redistributions in binary form must reproduce the above
20+
copyright notice, this list of conditions and the following disclaimer
21+
in the documentation and/or other materials provided with the
22+
distribution.
23+
* Neither the name of Google Inc. nor the names of its
24+
contributors may be used to endorse or promote products derived from
25+
this software without specific prior written permission.
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38+
- sources: [email protected]/PATENTS
39+
text: |
40+
Additional IP Rights Grant (Patents)
41+
42+
"This implementation" means the copyrightable works distributed by
43+
Google as part of the Go project.
44+
45+
Google hereby grants to You a perpetual, worldwide, non-exclusive,
46+
no-charge, royalty-free, irrevocable (except as stated in this section)
47+
patent license to make, have made, use, offer to sell, sell, import,
48+
transfer and otherwise run, modify and propagate the contents of this
49+
implementation of Go, where such license applies only to those patent
50+
claims, both currently owned or controlled by Google and acquired in
51+
the future, licensable by Google that are necessarily infringed by this
52+
implementation of Go. This grant does not include claims that would be
53+
infringed only as a consequence of further modification of this
54+
implementation. If you or your agent or exclusive licensee institute or
55+
order or agree to the institution of patent litigation against any
56+
entity (including a cross-claim or counterclaim in a lawsuit) alleging
57+
that this implementation of Go or any code incorporated within this
58+
implementation of Go constitutes direct or contributory patent
59+
infringement, or inducement of patent infringement, then any patent
60+
rights granted to you under this License for this implementation of Go
61+
shall terminate as of the date such litigation is filed.
62+
notices: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
name: golang.org/x/crypto/openpgp/armor
3+
version: v0.0.0-20200406173513-056763e48d71
4+
type: go
5+
summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880.
6+
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/armor
7+
license: bsd-3-clause
8+
licenses:
9+
- sources: [email protected]/LICENSE
10+
text: |
11+
Copyright (c) 2009 The Go Authors. All rights reserved.
12+
13+
Redistribution and use in source and binary forms, with or without
14+
modification, are permitted provided that the following conditions are
15+
met:
16+
17+
* Redistributions of source code must retain the above copyright
18+
notice, this list of conditions and the following disclaimer.
19+
* Redistributions in binary form must reproduce the above
20+
copyright notice, this list of conditions and the following disclaimer
21+
in the documentation and/or other materials provided with the
22+
distribution.
23+
* Neither the name of Google Inc. nor the names of its
24+
contributors may be used to endorse or promote products derived from
25+
this software without specific prior written permission.
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38+
- sources: [email protected]/PATENTS
39+
text: |
40+
Additional IP Rights Grant (Patents)
41+
42+
"This implementation" means the copyrightable works distributed by
43+
Google as part of the Go project.
44+
45+
Google hereby grants to You a perpetual, worldwide, non-exclusive,
46+
no-charge, royalty-free, irrevocable (except as stated in this section)
47+
patent license to make, have made, use, offer to sell, sell, import,
48+
transfer and otherwise run, modify and propagate the contents of this
49+
implementation of Go, where such license applies only to those patent
50+
claims, both currently owned or controlled by Google and acquired in
51+
the future, licensable by Google that are necessarily infringed by this
52+
implementation of Go. This grant does not include claims that would be
53+
infringed only as a consequence of further modification of this
54+
implementation. If you or your agent or exclusive licensee institute or
55+
order or agree to the institution of patent litigation against any
56+
entity (including a cross-claim or counterclaim in a lawsuit) alleging
57+
that this implementation of Go or any code incorporated within this
58+
implementation of Go constitutes direct or contributory patent
59+
infringement, or inducement of patent infringement, then any patent
60+
rights granted to you under this License for this implementation of Go
61+
shall terminate as of the date such litigation is filed.
62+
notices: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
name: golang.org/x/crypto/openpgp/elgamal
3+
version: v0.0.0-20200406173513-056763e48d71
4+
type: go
5+
summary: Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified
6+
in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms,"
7+
IEEE Transactions on Information Theory, v.
8+
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/elgamal
9+
license: bsd-3-clause
10+
licenses:
11+
- sources: [email protected]/LICENSE
12+
text: |
13+
Copyright (c) 2009 The Go Authors. All rights reserved.
14+
15+
Redistribution and use in source and binary forms, with or without
16+
modification, are permitted provided that the following conditions are
17+
met:
18+
19+
* Redistributions of source code must retain the above copyright
20+
notice, this list of conditions and the following disclaimer.
21+
* Redistributions in binary form must reproduce the above
22+
copyright notice, this list of conditions and the following disclaimer
23+
in the documentation and/or other materials provided with the
24+
distribution.
25+
* Neither the name of Google Inc. nor the names of its
26+
contributors may be used to endorse or promote products derived from
27+
this software without specific prior written permission.
28+
29+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
33+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40+
- sources: [email protected]/PATENTS
41+
text: |
42+
Additional IP Rights Grant (Patents)
43+
44+
"This implementation" means the copyrightable works distributed by
45+
Google as part of the Go project.
46+
47+
Google hereby grants to You a perpetual, worldwide, non-exclusive,
48+
no-charge, royalty-free, irrevocable (except as stated in this section)
49+
patent license to make, have made, use, offer to sell, sell, import,
50+
transfer and otherwise run, modify and propagate the contents of this
51+
implementation of Go, where such license applies only to those patent
52+
claims, both currently owned or controlled by Google and acquired in
53+
the future, licensable by Google that are necessarily infringed by this
54+
implementation of Go. This grant does not include claims that would be
55+
infringed only as a consequence of further modification of this
56+
implementation. If you or your agent or exclusive licensee institute or
57+
order or agree to the institution of patent litigation against any
58+
entity (including a cross-claim or counterclaim in a lawsuit) alleging
59+
that this implementation of Go or any code incorporated within this
60+
implementation of Go constitutes direct or contributory patent
61+
infringement, or inducement of patent infringement, then any patent
62+
rights granted to you under this License for this implementation of Go
63+
shall terminate as of the date such litigation is filed.
64+
notices: []

0 commit comments

Comments
 (0)