forked from google/go-licenses
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgo-licenses.yaml
80 lines (79 loc) · 2.53 KB
/
go-licenses.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
module:
go:
module: github.com/google/go-licenses/v2
path: .
binary:
path: dist/linux/go-licenses
csv:
path: license_info.csv
notices:
path: third_party/NOTICES
overrides:
- name: github.com/google/go-licenses/v2
# This is not available remotely **yet**, so skip it.
skip: true
excludePaths:
# Skip built binaries that take a long time to analyze.
- go-licenses
- deps/testdata
# Skip license testdata.
- licenses/testdata
- name: github.com/sergi/go-diff
version: v1.1.0
license:
path: LICENSE
spdxId: MIT / Apache-2.0
- name: github.com/spf13/cobra
excludePaths:
# The cobra/cmd folder contains CLI commands to generate boilerplate code.
# They have templates for different types of licenses, not actual licenses.
- cobra/cmd
- name: github.com/google/licenseclassifier/v2
version: v2.0.0-alpha.1.0.20210325184830-bb04aff29e72
license:
path: LICENSE
spdxId: Apache-2.0
lineStart: 2 # an experiment to verify startLine feature, ignores the first empty line in the file.
lineEnd: 202
excludePaths:
- licenses # License samples as classification DB.
- scenarios # Test data for license detection.
- name: golang.org/x/net
excludePaths:
- html/testdata
- name: github.com/PuerkitoBio/goquery
excludePaths:
- doc.go # File to generate documentation, it has duplicate license info as root license.
- name: github.com/google/licenseclassifier
version: v0.0.0-20210108172934-df6aa8a2788b
license:
path: LICENSE
spdxId: Apache-2.0
subModules:
- path: stringclassifier
license:
path: LICENSE
spdxId: Apache-2.0
- name: gopkg.in/yaml.v2
version: v2.4.0
license:
path: LICENSE
spdxId: Apache-2.0 / MIT
- name: github.com/davecgh/go-spew
version: v1.1.1
license: # We detected many ISC headers, only include the root license file.
path: LICENSE
spdxId: ISC