Commit c212103
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- .licenses
- arduino-fwuploader/go
- github.com
- arduino
- arduino-cli
- arduino
- cores
- cli
- cmaglie
- go.rice
- codeclysm/extract
- creack
- daaku
- fatih
- golang/protobuf
- ptypes
- h2non
- filetype
- matchers
- juju
- mattn
- pkg
- pmylund
- rifflock
- sirupsen
- spf13
- go.bug.st
- downloader
- serial
- golang.org/x
- crypto
- openpgp
- sys
- internal
- text
- google.golang.org
- genproto/googleapis/rpc
- grpc
- protobuf
- encoding
- internal
- encoding
- reflect
- runtime
- types/known
- docsgen/go
- github.com
- arduino
- arduino-cli
- arduino
- cores
- cli
- cmaglie
- go.rice
- codeclysm/extract
- cpuguy83/go-md2man/v2
- creack
- daaku
- fatih
- golang/protobuf
- ptypes
- h2non
- filetype
- matchers
- juju
- mattn
- pkg
- pmylund
- rifflock
- russross/blackfriday
- shurcooL
- sirupsen
- spf13
- cobra
- go.bug.st
- downloader
- serial
- golang.org/x
- crypto
- openpgp
- sys
- internal
- text
- google.golang.org
- genproto/googleapis/rpc
- grpc
- protobuf
- encoding
- internal
- encoding
- reflect
- runtime
- types/known
- gopkg.in
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| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 699 additions & 0 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments