Build: Adds a license check task in the makefile (#106285)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
@@ -838,6 +838,7 @@ embed.go @grafana/grafana-as-code
|
|||||||
/.github/workflows/run-e2e-suite.yml @grafana/grafana-developer-enablement-squad
|
/.github/workflows/run-e2e-suite.yml @grafana/grafana-developer-enablement-squad
|
||||||
/.github/workflows/skye-add-to-project.yml @grafana/grafana-frontend-platform
|
/.github/workflows/skye-add-to-project.yml @grafana/grafana-frontend-platform
|
||||||
/.github/zizmor.yml @grafana/grafana-developer-enablement-squad
|
/.github/zizmor.yml @grafana/grafana-developer-enablement-squad
|
||||||
|
/.github/license_finder.yaml @bergquist
|
||||||
|
|
||||||
# Generated files not requiring owner approval
|
# Generated files not requiring owner approval
|
||||||
/packages/grafana-data/src/types/featureToggles.gen.ts @grafanabot
|
/packages/grafana-data/src/types/featureToggles.gen.ts @grafanabot
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
- - :permit
|
||||||
|
- MIT
|
||||||
|
- :who: Carl Bergquist
|
||||||
|
:why: Compatible license
|
||||||
|
:versions: []
|
||||||
|
:when: 2021-03-25 11:11:50.696368005 Z
|
||||||
|
- - :permit
|
||||||
|
- Apache 2.0
|
||||||
|
- :who: Carl Bergquist
|
||||||
|
:why: Compatible license
|
||||||
|
:versions: []
|
||||||
|
:when: 2021-03-25 11:12:09.344787957 Z
|
||||||
|
- - :permit
|
||||||
|
- New BSD
|
||||||
|
- :who: Carl Bergquist
|
||||||
|
:why: Compatible license
|
||||||
|
:versions: []
|
||||||
|
:when: 2021-03-25 11:12:09.344787957 Z
|
||||||
|
- - :permit
|
||||||
|
- Simplified BSD
|
||||||
|
- :who: Carl Bergquist
|
||||||
|
:why: Compatible license
|
||||||
|
:versions: []
|
||||||
|
:when: 2021-03-25 11:12:09.344787957 Z
|
||||||
|
- - :permit
|
||||||
|
- Mozilla Public License 2.0
|
||||||
|
- :who: Carl Bergquist
|
||||||
|
:why: Compatible license
|
||||||
|
:versions: []
|
||||||
|
:when: 2021-03-25 11:12:09.344787957 Z
|
||||||
|
- - :permit
|
||||||
|
- ISC
|
||||||
|
- :who: Carl Bergquist
|
||||||
|
:why: Compatible license
|
||||||
|
:versions: []
|
||||||
|
:when: 2021-03-25 11:12:09.344787957
|
||||||
+49
File diff suppressed because one or more lines are too long
+5
-9
@@ -7,7 +7,7 @@ enableTelemetry: false
|
|||||||
nodeLinker: node-modules
|
nodeLinker: node-modules
|
||||||
|
|
||||||
packageExtensions:
|
packageExtensions:
|
||||||
'croact-css-styled@1.1.9':
|
croact-css-styled@1.1.9:
|
||||||
dependencies:
|
dependencies:
|
||||||
croact: 1.0.4
|
croact: 1.0.4
|
||||||
doctrine@3.0.0:
|
doctrine@3.0.0:
|
||||||
@@ -20,13 +20,9 @@ packageExtensions:
|
|||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
|
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
|
||||||
spec: 'https://mskelton.dev/yarn-outdated/v2'
|
spec: "https://mskelton.dev/yarn-outdated/v2"
|
||||||
|
- checksum: 374f735053958b77583ef7b70e56a59540d1d9c681f04b8ab7a600f4325301d2e1fb67c51d34ba75bbbc4e71f8c003fbc52b1f22d7daa30dca655f1a1bf205a1
|
||||||
|
path: .yarn/plugins/@yarnpkg/plugin-licenses.cjs
|
||||||
|
spec: "https://raw.githubusercontent.com/mhassan1/yarn-plugin-licenses/v0.15.0/bundles/@yarnpkg/plugin-licenses.js"
|
||||||
|
|
||||||
yarnPath: .yarn/releases/yarn-4.6.0.cjs
|
yarnPath: .yarn/releases/yarn-4.6.0.cjs
|
||||||
# Uncomment the following lines if you want to use Verdaccio local npm registry. Read more at packages/README.md
|
|
||||||
#npmScopes:
|
|
||||||
# grafana:
|
|
||||||
# npmRegistryServer: http://localhost:4873
|
|
||||||
#
|
|
||||||
#unsafeHttpWhitelist:
|
|
||||||
# - 'localhost'
|
|
||||||
|
|||||||
@@ -514,3 +514,9 @@ check-tparse:
|
|||||||
.PHONY: help
|
.PHONY: help
|
||||||
help: ## Display this help.
|
help: ## Display this help.
|
||||||
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
|
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
|
||||||
|
|
||||||
|
# check licenses of used dependencies (can be run using build image using
|
||||||
|
# container/check-licenses target)
|
||||||
|
check-licenses:
|
||||||
|
license_finder --decisions-file .github/license_finder.yaml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user