license_finder 5.5.0 → 5.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/README.md +19 -6
- data/ci/pipelines/release.yml.erb +29 -29
- data/lib/license_finder/package_managers/go_modules.rb +1 -1
- data/lib/license_finder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4af037ef43db025c82894743a0b9ce22488a1bb4f5a5a0af52188008e751ff3
|
4
|
+
data.tar.gz: cb67cee7e28256e9694d00413216a845d8997bb33097c1896f7f496301aa532e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ed6ff7bbf1e867f25f528115305b55b6d474cf8e17ab2a59a8597abf9d297133749186d964c994b88dc1cb58e754fa217d6dcef3005a426397848ae23eb209
|
7
|
+
data.tar.gz: d922b41dab3503478dbbb209e46765b6bc3a09d229ff5ffad2f26286c447a2ca01b2a83f69de209d07aa3a5610c69a27c57eff97267d09a0d581ab2f11280c48
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1
|
+
# [5.5.1] / 2018-10-16
|
2
|
+
|
3
|
+
### Added
|
4
|
+
* Documentation for asterisks being added to license names [#158960018] - [154b727](https://github.com/pivotal-legacy/LicenseFinder/commit/154b7273b1c18e64afa48799b50588251f99e982)
|
5
|
+
* Document the prepare option on the command line - [c283a38](https://github.com/pivotal-legacy/LicenseFinder/commit/c283a38d9e8b9feefc5afe32f1df55b357a33333)
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
* Go modules are forced to be enabled on go mod package managers - [cf9123d](https://github.com/pivotal-legacy/LicenseFinder/commit/cf9123d654b98cdef872d3b21631e69960abe365)
|
9
|
+
|
10
|
+
# [5.5.0] / 2018-10-11
|
11
|
+
|
12
|
+
### Added
|
13
|
+
* Go Module support - [8a20210](https://github.com/pivotal-legacy/LicenseFinder/commit/8a202109e942316434978befd33854aa985dd872)
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
* Lowering gemspec ruby requirement to support jruby 9.1.x - [279bd25](https://github.com/pivotal-legacy/LicenseFinder/commit/279bd25bbebbd3851dcc0062c3c47f7c7063dad8)
|
17
|
+
* Bumps rubocop to 0.59.2 - [291d335](https://github.com/pivotal-legacy/LicenseFinder/commit/291d3358921dbb47bc612b77656353da07e71a2b)
|
18
|
+
|
19
|
+
### Fixed
|
20
|
+
* 'dlf' with no-args should get a login shell - [2b019fb](https://github.com/pivotal-legacy/LicenseFinder/commit/2b019fb1126ec2fcb9cafa092cad6d27b875e5f9) - Kim Dykeman
|
21
|
+
* Do not include godep dependencies with common paths - [23e951f](https://github.com/pivotal-legacy/LicenseFinder/commit/23e951fae56a43abde52ecefa73e8a5ff73bb688)
|
22
|
+
* Remove uneeded bundle install in dlf [#160758436] - [f44c73f](https://github.com/pivotal-legacy/LicenseFinder/commit/f44c73f6c06838a29ff9a75932e08fb1445557ca)
|
23
|
+
|
24
|
+
* dlf gemfile directory issues [#160758436 finish] - [2db3972](https://github.com/pivotal-legacy/LicenseFinder/commit/2db397261654bca89771e85984b4ae6819274e55)
|
25
|
+
Revert "* dlf gemfile directory issues [#160758436 finish]" - [6b17ddc](https://github.com/pivotal-legacy/LicenseFinder/commit/6b17ddc4202518ffd167c8d38a2045a36eb00144)
|
26
|
+
|
1
27
|
# [5.4.1] / 2018-09-18
|
2
28
|
|
3
29
|
### Fixed
|
@@ -625,3 +651,5 @@ Bugfixes:
|
|
625
651
|
[5.3.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.2.3...v5.3.0
|
626
652
|
[5.4.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.3.0...v5.4.0
|
627
653
|
[5.4.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.4.0...v5.4.1
|
654
|
+
[5.5.0]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.4.1...v5.5.0
|
655
|
+
[5.5.1]: https://github.com/pivotal-legacy/LicenseFinder/compare/v5.5.0...v5.5.1
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Build status
|
|
7
7
|
* Ruby 2.4.4 [![Ruby 2.4.4 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-2.4.4/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
|
8
8
|
* Ruby 2.5.1 [![Ruby 2.5.1 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-2.5.1/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
|
9
9
|
* JRuby 9.1.17.0 [![JRuby 9.1.17.0 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-jruby-9.1.17.0/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
|
10
|
-
* JRuby 9.2.
|
10
|
+
* JRuby 9.2.0.0 [![JRuby 9.2.0.0 build status](https://norsk.cf-app.com/api/v1/teams/main/pipelines/LicenseFinder/jobs/ruby-jruby-9.2.0.0/badge)](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
|
11
11
|
|
12
12
|
|
13
13
|
LicenseFinder works with your package managers to find dependencies,
|
@@ -117,6 +117,13 @@ dependencies, and where and how each license was discovered. This can
|
|
117
117
|
be useful when you need to track down an unexpected package or
|
118
118
|
license.
|
119
119
|
|
120
|
+
If you do not want to manually run an individual package manager's prepare
|
121
|
+
command (ex: `bundle install`, `npm install`, etc) to ensure your project
|
122
|
+
is fully prepared to be scanned, use the `--prepare` or `-p` option which will run
|
123
|
+
each active package manager's prepare command for you. If you would like to continue
|
124
|
+
running `license_finder` even if there is an issue with a prepare step, use the
|
125
|
+
`--prepare-no-fail` option which prepares but carries on despite any potential failures.
|
126
|
+
|
120
127
|
Run `license_finder help` to see other available commands, and
|
121
128
|
`license_finder help [COMMAND]` for detailed help on a specific
|
122
129
|
command.
|
@@ -163,11 +170,11 @@ languages, as long as that language has a package definition in the project dire
|
|
163
170
|
* `build.gradle` (for `gradle`)
|
164
171
|
* `settings.gradle` that specifies `rootProject.buildFileName` (for `gradle`)
|
165
172
|
* `bower.json` (for `bower`)
|
166
|
-
* `Podfile` (for
|
167
|
-
* `Cartfile` (for
|
173
|
+
* `Podfile` (for `pod`)
|
174
|
+
* `Cartfile` (for `carthage`)
|
168
175
|
* `rebar.config` (for `rebar`)
|
169
176
|
* `mix.exs` (for `mix`)
|
170
|
-
* `packages/` directory (for `
|
177
|
+
* `packages/` directory (for `nuget`)
|
171
178
|
* `vendor/manifest` or `*/vendor/manifest` file (for `gvt`)
|
172
179
|
* `glide.lock` file (for `glide`)
|
173
180
|
* `vendor/vendor.json` file (for `govendor`)
|
@@ -282,6 +289,12 @@ all of your project's dependencies and includes information about which need to
|
|
282
289
|
be approved. The project name at the top of the report can be set with
|
283
290
|
`license_finder project_name add`.
|
284
291
|
|
292
|
+
### Note:
|
293
|
+
When using the yarn package manager, when a node_module's package.json doesn't
|
294
|
+
explicitly declare a license, yarn indicates that it has inferred the license based
|
295
|
+
on some keywords in other files by appending an asterisk to the license name. If you
|
296
|
+
see a * at the end of the license name, this is intended.
|
297
|
+
|
285
298
|
See [CONTRIBUTING.md](https://github.com/pivotal-legacy/LicenseFinder/blob/master/CONTRIBUTING.md#adding-reports)
|
286
299
|
for advice about adding and customizing reports.
|
287
300
|
|
@@ -430,7 +443,7 @@ licenseConfigurations := Set("compile", "provided")
|
|
430
443
|
|
431
444
|
## Requirements
|
432
445
|
|
433
|
-
`license_finder` requires ruby >= 1.9, or jruby.
|
446
|
+
`license_finder` requires ruby >= 1.9.3, or jruby.
|
434
447
|
|
435
448
|
|
436
449
|
## Upgrading
|
@@ -466,7 +479,7 @@ And save a `LICENSE` file which contains your license text in your repo.
|
|
466
479
|
* Yarn
|
467
480
|
* A module that is incompatible with the platform on which
|
468
481
|
license_finder is run will always be reported to have a license type
|
469
|
-
of "unknown". (#456)
|
482
|
+
of "unknown". ([#456](https://github.com/pivotal-legacy/LicenseFinder/issues/456))
|
470
483
|
|
471
484
|
## Support
|
472
485
|
|
@@ -11,7 +11,7 @@ resource_types:
|
|
11
11
|
<% end %>
|
12
12
|
|
13
13
|
resources:
|
14
|
-
- name: git
|
14
|
+
- name: lf-git
|
15
15
|
type: git
|
16
16
|
source:
|
17
17
|
uri: git@github.com:pivotal-legacy/LicenseFinder.git
|
@@ -43,7 +43,7 @@ resources:
|
|
43
43
|
username: ((LicenseFinderDocker.username))
|
44
44
|
password: ((LicenseFinderDocker.password))
|
45
45
|
|
46
|
-
- name:
|
46
|
+
- name: lf-release
|
47
47
|
type: github-release
|
48
48
|
source:
|
49
49
|
owner: pivotal
|
@@ -61,53 +61,53 @@ jobs:
|
|
61
61
|
|
62
62
|
- name: patch-version
|
63
63
|
plan:
|
64
|
-
- get: git
|
64
|
+
- get: lf-git
|
65
65
|
passed: [<%= ruby_versions.map{ |version| "ruby-#{version}"}.join(', ') %>]
|
66
66
|
- get: dockerhub
|
67
67
|
params:
|
68
68
|
save: true
|
69
69
|
- task: bump-version
|
70
|
+
image: dockerhub
|
70
71
|
params:
|
71
|
-
image: docker-image
|
72
72
|
GIT_USERNAME: ((GithubApiUser))
|
73
73
|
GIT_EMAIL: ((GithubApiEmail))
|
74
|
-
file: git
|
75
|
-
- put: git
|
74
|
+
file: lf-git/ci/tasks/bump-patch-version.yml
|
75
|
+
- put: lf-git
|
76
76
|
params:
|
77
|
-
repository: git-
|
77
|
+
repository: lf-git-changed
|
78
78
|
|
79
79
|
- name: release
|
80
80
|
plan:
|
81
|
-
- get: git
|
81
|
+
- get: lf-git
|
82
82
|
trigger: true
|
83
83
|
passed: [ patch-version ]
|
84
84
|
- get: dockerhub
|
85
85
|
params:
|
86
86
|
save: true
|
87
|
-
- get:
|
87
|
+
- get: lf-release
|
88
88
|
- task: update-changelog
|
89
|
-
image:
|
89
|
+
image: dockerhub
|
90
90
|
params:
|
91
91
|
GIT_USERNAME: ((GithubApiUser))
|
92
92
|
GIT_EMAIL: ((GithubApiEmail))
|
93
|
-
file: git
|
93
|
+
file: lf-git/ci/tasks/update-changelog.yml
|
94
94
|
- put: dockerhub
|
95
95
|
params:
|
96
|
-
build: git
|
96
|
+
build: lf-git
|
97
97
|
tag: version/version.txt
|
98
98
|
tag_as_latest: true
|
99
|
-
- put: git
|
99
|
+
- put: lf-git
|
100
100
|
params:
|
101
|
-
repository: git-
|
101
|
+
repository: lf-git-changed
|
102
102
|
- task: build-and-push-gem
|
103
|
-
image:
|
103
|
+
image: dockerhub
|
104
104
|
params:
|
105
105
|
GIT_USERNAME: ((GithubApiUser))
|
106
106
|
GIT_EMAIL: ((GithubApiEmail))
|
107
107
|
GIT_PRIVATE_KEY: ((CfOslBot.private_key))
|
108
108
|
GEM_API_KEY: ((LicenseFinderGemApiKey))
|
109
|
-
file: git
|
110
|
-
- put:
|
109
|
+
file: lf-git/ci/tasks/build-and-push-gem.yml
|
110
|
+
- put: lf-release
|
111
111
|
params:
|
112
112
|
name: version/tag.txt
|
113
113
|
tag: version/tag.txt
|
@@ -115,35 +115,35 @@ jobs:
|
|
115
115
|
|
116
116
|
- name: manual-release
|
117
117
|
plan:
|
118
|
-
- get: git
|
118
|
+
- get: lf-git
|
119
119
|
passed: [<%= ruby_versions.map{ |version| "ruby-#{version}"}.join(', ') %>]
|
120
120
|
- get: dockerhub
|
121
121
|
params:
|
122
122
|
save: true
|
123
|
-
- get:
|
123
|
+
- get: lf-release
|
124
124
|
- task: update-changelog
|
125
|
-
image:
|
125
|
+
image: dockerhub
|
126
126
|
params:
|
127
127
|
GIT_USERNAME: ((GithubApiUser))
|
128
128
|
GIT_EMAIL: ((GithubApiEmail))
|
129
|
-
file: git
|
129
|
+
file: lf-git/ci/tasks/update-changelog.yml
|
130
130
|
- put: dockerhub
|
131
131
|
params:
|
132
|
-
build: git
|
132
|
+
build: lf-git
|
133
133
|
tag_file: version/version.txt
|
134
134
|
tag_as_latest: true
|
135
135
|
- task: build-and-push-gem
|
136
|
-
image:
|
136
|
+
image: dockerhub
|
137
137
|
params:
|
138
138
|
GIT_USERNAME: ((GithubApiUser))
|
139
139
|
GIT_EMAIL: ((GithubApiEmail))
|
140
140
|
GIT_PRIVATE_KEY: ((CfOslBot.private_key))
|
141
141
|
GEM_API_KEY: ((LicenseFinderGemApiKey))
|
142
|
-
file: git
|
143
|
-
- put: git
|
142
|
+
file: lf-git/ci/tasks/build-and-push-gem.yml
|
143
|
+
- put: lf-git
|
144
144
|
params:
|
145
|
-
repository: git-
|
146
|
-
- put:
|
145
|
+
repository: lf-git-changed
|
146
|
+
- put: lf-release
|
147
147
|
params:
|
148
148
|
name: version/tag.txt
|
149
149
|
tag: version/tag.txt
|
@@ -164,7 +164,7 @@ jobs:
|
|
164
164
|
passed: [build-docker-image]
|
165
165
|
trigger: true
|
166
166
|
- get: LicenseFinder
|
167
|
-
resource: git
|
167
|
+
resource: lf-git
|
168
168
|
trigger: true
|
169
169
|
version: every
|
170
170
|
- task: ruby-<%= ruby_version %>
|
@@ -190,7 +190,7 @@ jobs:
|
|
190
190
|
passed: [build-docker-image]
|
191
191
|
trigger: true
|
192
192
|
- get: LicenseFinder
|
193
|
-
resource: git
|
193
|
+
resource: lf-git
|
194
194
|
trigger: true
|
195
195
|
version: every
|
196
196
|
- task: run-rubocop
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: license_finder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Collins
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-10-
|
30
|
+
date: 2018-10-16 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: bundler
|