Skip to content

Update licensee gem to 9.16.0

Aleksei Lipniagov requested to merge 418922-update-licensee-to-9-16-0 into master

What does this MR do and why?

Update licensee gem to 9.16.0

Update gem version, drop the monkey patch.
Refer to #418922 (comment 1488450648) for details about the gem usage and the monkey patch.

licensee releases page/changelogs: https://github.com/licensee/licensee/releases:

9.16.0 Latest
What's Changed
Bump ruby from 3.1.3 to 3.2.0 (#629) @dependabot
match https://spdx.org/licenses/equivalentwords.txt more precisely (#625) @mlinksva
normalize double bullets/spans added for formatting (#627) @mlinksva
normalize word- at end of line becomes word-firstwordonnextline (#624) @mlinksva
detect bsd-3-clause with "Modified BSD" title (#626) @mlinksva
add fixtures for various markdown licenses that already pass (#628) @mlinksva
avoid annoying warning when used with faraday 2 (#623) @mlinksva
nonzero exit on unexpected failure (#622) @mlinksva
Reference Matcher: license minor version optional if 0 (#621) @mlinksva
drop support for ruby 2.5 (#616) @mlinksva
Update vendored licenses and SPDX (#618) @github-actions
Detect BSD-2-Clause version with AUTHOR in place of COPYRIGHT HOLDER[S] (#617) @mlinksva
test/run workflows with ruby 3.2 (#615) @mlinksva
Update vendored licenses and SPDX (#612) @github-actions
Bump ruby from 3.1.2 to 3.1.3 (#610) @dependabot


v9.15.3
Adds support for CERN-OHL-P/W/S-2.0 and GFDL-1.3 licenses along with small bugfixes and dependency bumps.

What's Changed
Chore: vendor, rubocop updates by @mlinksva in #538
Create Actions Workflow to vendor licenses and spdx by @benbalter in #539
Update vendored licenses and SPDX by @github-actions in #543
Update fixtures when vendored licenses updated by @mlinksva in #544
Enable Exact matcher to detect OFL with a reserved font name by @saltcandy123 in #546
Remove deprecated --path argument to bundler in README by @mlinksva in #552
bundle exec ruby scripts in vendor workflow by @mlinksva in #580
Update vendored licenses and SPDX by @github-actions in #581
Bump github/codeql-action from 1 to 2 by @dependabot in #584
Bump peter-evans/create-pull-request from 3 to 4 by @dependabot in #583
Bump actions/checkout from 2 to 3 by @dependabot in #585
Bump ruby from 3.0 to 3.1.2 by @dependabot in #582
Update reverse_markdown requirement from ~> 1.0 to >= 1, < 3 by @dependabot in #587
Update octokit requirement from ~> 4.20 to >= 4.20, < 6.0 by @dependabot in #586
Update vendored licenses and SPDX by @github-actions in #588
Update vendored licenses and SPDX by @github-actions in #590
Tighten license equality comparison by @stanhu in #589
Update vendored licenses and SPDX by @github-actions in #592
Add regex for AGPL to Licensee::Matchers::Package::DistZilla by @dboehmer in #591
Update vendored licenses and SPDX by @github-actions in #605
Remove licensee.gemspec contents from dump test to avoid dependency bump automatically causing failure by @mlinksva in #606
Update octokit requirement from >= 4.20, < 6.0 to >= 4.20, < 7.0 by @dependabot in #597

Diff: https://github.com/licensee/licensee/compare/v9.15.2...v9.16.0

How to set up and validate locally

This needs to be tested on Ruby 3.0 & 3.1 & 3.2

First, create an empty project

Screenshot_2023-08-17_at_17.22.23

Then, open the link similar to <PATH-TO-NEW-PROJECT>/-/new/master?commit_message=Add+LICENSE&file_name=LICENSE, e.g. http://localhost:3000/root/licensee-test/-/new/master?commit_message=Add+LICENSE&file_name=LICENSE

Pick a License:

Screenshot_2023-08-17_at_17.26.21

Make sure it was applied correctly:

Screenshot_2023-08-17_at_17.26.33

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #418922 (closed)

Edited by Aleksei Lipniagov

Merge request reports