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

.licensed.yml

Lines changed: 0 additions & 3 deletions
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/

.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

Lines changed: 1 addition & 1 deletion
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:

.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

Lines changed: 1 addition & 1 deletion
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:

.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

Lines changed: 1 addition & 1 deletion
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:

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

Lines changed: 699 additions & 0 deletions
Large diffs are not rendered by default.

.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

Lines changed: 1 addition & 1 deletion
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:

.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

Lines changed: 1 addition & 1 deletion
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:

.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

Lines changed: 1 addition & 1 deletion
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:

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

Lines changed: 1 addition & 1 deletion
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:

0 commit comments

Comments
 (0)