Skip to content

Commit ebc850f

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 abandone the use of a shared license metadata cache and instead have a dedicated cache for each of the modules. license metadata cache for each module The project contains multiple Go modules. The compatibility of the dependencies
1 parent 04847f5 commit ebc850f

File tree

829 files changed

+96567
-4
lines changed

Some content is hidden

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

829 files changed

+96567
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build artifacts
2-
arduino-lint
2+
/arduino-lint
33
arduino-lint.exe
44
__pycache__/
55

.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/

0 commit comments

Comments
 (0)