Skip to content

Commit d96cdc2

Browse files
committed
autogen: update license overview
1 parent 21e0a1a commit d96cdc2

File tree

3 files changed

+12
-223
lines changed

3 files changed

+12
-223
lines changed

.bin/license-engine.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ALLOWED_LICENSES=(
2424
'BSD-3-Clause'
2525
'(BSD-3-Clause OR GPL-2.0)'
2626
'BSD-3-Clause OR MIT'
27+
'(BSD-3-Clause AND Apache-2.0)'
2728
'CC0-1.0'
2829
'CC-BY-3.0'
2930
'CC-BY-4.0'
@@ -73,6 +74,12 @@ APPROVED_MODULES=(
7374
'github.com/jmespath/go-jmespath' # Apache-2.0 https://github.com/jmespath/go-jmespath/blob/master/LICENSE
7475
'github.com/ory/keto/proto/ory/keto/opl/v1alpha1' # Apache-2.0 - submodule of keto
7576
'github.com/ory/keto/proto/ory/keto/relation_tuples/v1alpha2' # Apache-2.0 - submodule of keto
77+
'@ory-corp/.*' # Ory IP
78+
'github.com/apache/arrow/.*' # Apache-2.0 https://github.com/apache/arrow/blob/main/LICENSE.txt
79+
'github.com/ory-corp/webhook-target' # Ory IP
80+
'@ory/keto-grpc-client.*' # Apache-2.0 - submodule of keto
81+
'golden-fleece@1.0.9' # MIT: https://github.com/Rich-Harris/golden-fleece/blob/master/LICENSE
82+
'github.com/gogo/googleapis/.*' # Apache-2.0 https://github.com/gogo/googleapis/blob/master/LICENSE
7683
)
7784

7885
# These lines in the output should be ignored (plain text, no regex).

.bin/list-licenses

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ bin_dir="$(cd "$(dirname "$0")" && pwd)"
66
# list Node licenses
77
if [ -f package.json ]; then
88
if jq -e '.dependencies and (.dependencies | keys | length > 0)' package.json >/dev/null; then
9-
npm install >/dev/null 2>&1
10-
npm exec --yes license-checker -- --production --csv --excludePrivatePackages --customPath "${bin_dir}"/license-template-node.json | grep -v '^$'
11-
{ echo; } 2>/dev/null
9+
npx --yes license-checker --production --csv --excludePrivatePackages --customPath "${bin_dir}"/license-template-node.json | grep -v '^$'
10+
echo
1211
else
1312
echo "No dependencies found in package.json" >&2
14-
{ echo; } 2>/dev/null
13+
echo
1514
fi
1615
fi
1716

@@ -26,15 +25,14 @@ if [ -f go.mod ]; then
2625
sort -u |
2726
awk -F/ '{ if ($1 == "github.com" && NF >= 3) { print $1"/"$2"/"$3 } else { print } }' |
2827
sort -u
29-
{ echo; } 2>/dev/null
3028
)
3129
if [ -z "$go_modules" ]; then
3230
echo "No Go modules found" >&2
3331
else
3432
# Workaround until https://github.com/google/go-licenses/issues/307 is fixed
3533
# .bin/go-licenses report "$module_name" --template .bin/license-template-go.tpl 2>/dev/null
3634
#
37-
echo "$go_modules" | xargs -I {} sh -c '.bin/go-licenses report --template .bin/license-template-go.tpl {}' 2>/dev/null | grep -v '^$'
38-
{ echo; } 2>/dev/null
35+
echo "$go_modules" | xargs -I {} sh -c '.bin/go-licenses report --template .bin/license-template-go.tpl {}' | grep -v '^$'
36+
echo
3937
fi
4038
fi

.reports/dep-licenses.csv

Lines changed: 0 additions & 216 deletions
Original file line numberDiff line numberDiff line change
@@ -1,219 +1,3 @@
11
"module name","licenses"
2-
"@babel/code-frame@7.16.0","MIT"
3-
"@babel/generator@7.13.9","MIT"
4-
"@babel/helper-annotate-as-pure@7.16.0","MIT"
5-
"@babel/helper-function-name@7.16.0","MIT"
6-
"@babel/helper-get-function-arity@7.16.0","MIT"
7-
"@babel/helper-module-imports@7.16.0","MIT"
8-
"@babel/helper-split-export-declaration@7.16.0","MIT"
9-
"@babel/helper-validator-identifier@7.15.7","MIT"
10-
"@babel/highlight@7.16.0","MIT"
11-
"@babel/parser@7.14.6","MIT"
12-
"@babel/parser@7.16.2","MIT"
13-
"@babel/template@7.16.0","MIT"
14-
"@babel/traverse@7.13.0","MIT"
15-
"@babel/types@7.13.0","MIT"
16-
"@babel/types@7.16.0","MIT"
17-
"@csstools/convert-colors@1.4.0","CC0-1.0"
18-
"@csstools/sass-import-resolve@1.0.0","CC0-1.0"
19-
"@emotion/is-prop-valid@0.8.8","MIT"
20-
"@emotion/memoize@0.7.4","MIT"
21-
"@emotion/stylis@0.8.5","MIT"
22-
"@emotion/unitless@0.7.5","MIT"
23-
"@next/env@12.1.6","MIT"
24-
"@next/env@13.2.4","MIT"
25-
"@next/swc-linux-x64-gnu@12.1.6","MIT"
26-
"@next/swc-linux-x64-gnu@13.2.4","MIT"
27-
"@next/swc-linux-x64-musl@12.1.6","MIT"
28-
"@next/swc-linux-x64-musl@13.2.4","MIT"
29-
"@ory/client@0.0.0-next.f88d10559361","Unlicense"
30-
"@ory/client@0.2.0-alpha.60","Apache-2.0"
312
"@ory/integration-react@0.0.1","Apache*"
32-
"@ory/integrations@0.2.8","Apache-2.0"
33-
"@ory/themes@0.0.101","Apache*"
34-
"@swc/helpers@0.4.14","MIT"
35-
"@types/tldjs@2.3.1","MIT"
36-
"ajv@6.12.6","MIT"
37-
"ansi-regex@2.1.1","MIT"
38-
"ansi-styles@2.2.1","MIT"
39-
"ansi-styles@3.2.1","MIT"
40-
"asn1@0.2.6","MIT"
41-
"assert-plus@1.0.0","MIT"
42-
"asynckit@0.4.0","MIT"
43-
"autoprefixer@9.8.8","MIT"
44-
"aws-sign2@0.7.0","Apache-2.0"
45-
"aws4@1.11.0","MIT"
46-
"axios@0.21.4","MIT"
47-
"axios@0.26.1","MIT"
48-
"babel-plugin-styled-components@1.13.3","MIT"
49-
"babel-plugin-syntax-jsx@6.18.0","MIT"
50-
"balanced-match@1.0.2","MIT"
51-
"bcrypt-pbkdf@1.0.2","BSD-3-Clause"
52-
"binaryextensions@4.18.0","MIT"
53-
"browserslist@4.17.6","MIT"
54-
"camelize@1.0.0","MIT"
55-
"caniuse-lite@1.0.30001468","CC-BY-4.0"
56-
"caseless@0.12.0","Apache-2.0"
57-
"chalk@1.1.3","MIT"
58-
"chalk@2.4.2","MIT"
59-
"classnames@2.3.1","MIT"
60-
"client-only@0.0.1","MIT"
61-
"clsx@1.1.1","MIT"
62-
"color-convert@1.9.3","MIT"
63-
"color-name@1.1.3","MIT"
64-
"combined-stream@1.0.8","MIT"
65-
"cookie@0.4.1","MIT"
66-
"core-util-is@1.0.2","MIT"
67-
"css-blank-pseudo@0.1.4","CC0-1.0"
68-
"css-color-keywords@1.0.0","ISC"
69-
"css-has-pseudo@0.10.0","CC0-1.0"
70-
"css-prefers-color-scheme@3.1.1","CC0-1.0"
71-
"css-to-react-native@3.0.0","MIT"
72-
"cssdb@4.4.0","CC0-1.0"
73-
"cssesc@2.0.0","MIT"
74-
"cssesc@3.0.0","MIT"
75-
"dashdash@1.14.1","MIT"
76-
"debug@4.3.2","MIT"
77-
"delayed-stream@1.0.0","MIT"
78-
"ecc-jsbn@0.1.2","MIT"
79-
"electron-to-chromium@1.3.892","ISC"
80-
"escalade@3.1.1","MIT"
81-
"escape-string-regexp@1.0.5","MIT"
82-
"extend@3.0.2","MIT"
83-
"extsprintf@1.3.0","MIT"
84-
"fast-deep-equal@3.1.3","MIT"
85-
"fast-json-stable-stringify@2.1.0","MIT"
86-
"flatten@1.0.3","MIT"
87-
"follow-redirects@1.14.9","MIT"
88-
"forever-agent@0.6.1","Apache-2.0"
89-
"form-data@2.3.3","MIT"
90-
"getpass@0.1.7","MIT"
91-
"globals@11.12.0","MIT"
92-
"har-schema@2.0.0","ISC"
93-
"har-validator@5.1.5","MIT"
94-
"has-ansi@2.0.0","MIT"
95-
"has-flag@1.0.0","MIT"
96-
"has-flag@3.0.0","MIT"
97-
"hoist-non-react-statics@3.3.2","BSD-3-Clause"
98-
"http-signature@1.2.0","MIT"
99-
"indexes-of@1.0.1","MIT"
100-
"is-typedarray@1.0.0","MIT"
101-
"isstream@0.1.2","MIT"
102-
"istextorbinary@6.0.0","MIT"
103-
"js-base64@2.6.4","BSD-3-Clause"
104-
"js-tokens@4.0.0","MIT"
105-
"jsbn@0.1.1","MIT"
106-
"jsesc@2.5.2","MIT"
107-
"json-schema-traverse@0.4.1","MIT"
108-
"json-schema@0.4.0","(AFL-2.1 OR BSD-3-Clause)"
109-
"json-stringify-safe@5.0.1","ISC"
110-
"jsprim@1.4.2","MIT"
111-
"lodash@4.17.21","MIT"
112-
"loose-envify@1.4.0","MIT"
113-
"mime-db@1.51.0","MIT"
114-
"mime-types@2.1.34","MIT"
115-
"ms@2.1.2","MIT"
116-
"nanoid@3.3.4","MIT"
117-
"next@12.1.6","MIT"
118-
"next@13.2.4","MIT"
119-
"node-releases@2.0.1","MIT"
120-
"normalize-range@0.1.2","MIT"
121-
"normalize.css@8.0.1","MIT"
122-
"num2fraction@1.2.2","MIT"
123-
"oauth-sign@0.9.0","Apache-2.0"
124-
"object-assign@4.1.1","MIT"
125-
"ory-prettier-styles@1.3.0","Apache*"
126-
"performance-now@2.1.0","MIT"
127-
"picocolors@0.2.1","ISC"
128-
"picocolors@1.0.0","ISC"
129-
"postcss-advanced-variables@3.0.1","CC0-1.0"
130-
"postcss-atroot@0.1.3","MIT"
131-
"postcss-attribute-case-insensitive@4.0.2","MIT"
132-
"postcss-color-functional-notation@2.0.1","CC0-1.0"
133-
"postcss-color-gray@5.0.0","ISC"
134-
"postcss-color-hex-alpha@5.0.3","MIT"
135-
"postcss-color-mod-function@3.0.3","CC0-1.0"
136-
"postcss-color-rebeccapurple@4.0.1","MIT"
137-
"postcss-custom-media@7.0.8","MIT"
138-
"postcss-custom-properties@8.0.11","MIT"
139-
"postcss-custom-selectors@5.1.2","MIT"
140-
"postcss-dir-pseudo-class@5.0.0","CC0-1.0"
141-
"postcss-double-position-gradients@1.0.0","CC0-1.0"
142-
"postcss-env-function@2.0.2","CC0-1.0"
143-
"postcss-extend-rule@2.0.0","CC0-1.0"
144-
"postcss-focus-visible@4.0.0","CC0-1.0"
145-
"postcss-focus-within@3.0.0","CC0-1.0"
146-
"postcss-font-variant@4.0.1","MIT"
147-
"postcss-gap-properties@2.0.0","CC0-1.0"
148-
"postcss-image-set-function@3.0.1","CC0-1.0"
149-
"postcss-initial@3.0.4","MIT"
150-
"postcss-lab-function@2.0.1","CC0-1.0"
151-
"postcss-logical@3.0.0","CC0-1.0"
152-
"postcss-media-minmax@4.0.0","MIT"
153-
"postcss-nested@4.2.3","MIT"
154-
"postcss-nesting@5.0.0","CC0-1.0"
155-
"postcss-nesting@7.0.1","CC0-1.0"
156-
"postcss-overflow-shorthand@2.0.0","CC0-1.0"
157-
"postcss-page-break@2.0.0","MIT"
158-
"postcss-place@4.0.1","CC0-1.0"
159-
"postcss-preset-env@6.7.0","CC0-1.0"
160-
"postcss-property-lookup@2.0.0","MIT"
161-
"postcss-pseudo-class-any-link@6.0.0","CC0-1.0"
162-
"postcss-replace-overflow-wrap@3.0.0","MIT"
163-
"postcss-selector-matches@4.0.0","MIT"
164-
"postcss-selector-not@4.0.1","MIT"
165-
"postcss-selector-parser@5.0.0","MIT"
166-
"postcss-selector-parser@6.0.6","MIT"
167-
"postcss-value-parser@4.1.0","MIT"
168-
"postcss-values-parser@2.0.1","MIT"
169-
"postcss@5.2.18","MIT"
170-
"postcss@6.0.23","MIT"
171-
"postcss@7.0.39","MIT"
172-
"postcss@8.4.14","MIT"
173-
"postcss@8.4.5","MIT"
174-
"precss@4.0.0","CC0-1.0"
175-
"prettier@2.4.1","MIT"
176-
"psl@1.8.0","MIT"
177-
"punycode@1.4.1","MIT"
178-
"punycode@2.1.1","MIT"
179-
"qs@6.5.3","BSD-3-Clause"
180-
"react-dom@17.0.2","MIT"
181-
"react-dom@18.2.0","MIT"
182-
"react-is@16.13.1","MIT"
183-
"react-is@17.0.2","MIT"
184-
"react-toastify@8.1.0","MIT"
185-
"react@17.0.2","MIT"
186-
"react@18.2.0","MIT"
187-
"request@2.88.2","Apache-2.0"
188-
"safe-buffer@5.1.2","MIT"
189-
"safer-buffer@2.1.2","MIT"
190-
"scheduler@0.20.2","MIT"
191-
"scheduler@0.23.0","MIT"
192-
"set-cookie-parser@2.4.8","MIT"
193-
"shallowequal@1.1.0","MIT"
194-
"source-map-js@1.0.2","BSD-3-Clause"
195-
"source-map@0.5.7","BSD-3-Clause"
196-
"source-map@0.6.1","BSD-3-Clause"
197-
"sshpk@1.16.1","MIT"
198-
"strip-ansi@3.0.1","MIT"
199-
"styled-components@5.3.3","MIT"
200-
"styled-jsx@5.0.2","MIT"
201-
"styled-jsx@5.1.1","MIT"
202-
"supports-color@2.0.0","MIT"
203-
"supports-color@3.2.3","MIT"
204-
"supports-color@5.5.0","MIT"
205-
"tcomb@3.2.29","MIT"
206-
"textextensions@5.14.0","MIT"
207-
"tldjs@2.3.1","MIT"
208-
"to-fast-properties@2.0.0","MIT"
209-
"tough-cookie@2.5.0","BSD-3-Clause"
210-
"tslib@2.5.0","0BSD"
211-
"tunnel-agent@0.6.0","Apache-2.0"
212-
"tweetnacl@0.14.5","Unlicense"
213-
"typescript@4.4.4","Apache-2.0"
214-
"uniq@1.0.1","MIT"
215-
"uri-js@4.4.1","BSD-2-Clause"
216-
"util-deprecate@1.0.2","MIT"
217-
"uuid@3.4.0","MIT"
218-
"verror@1.10.0","MIT"
2193

0 commit comments

Comments
 (0)