Skip to content

Update RubyZip version - including licensefinder and metasploit-credential#21487

Merged
adfoster-r7 merged 1 commit into
rapid7:masterfrom
adfoster-r7:update-licensefinder-dependency
May 26, 2026
Merged

Update RubyZip version - including licensefinder and metasploit-credential#21487
adfoster-r7 merged 1 commit into
rapid7:masterfrom
adfoster-r7:update-licensefinder-dependency

Conversation

@adfoster-r7

@adfoster-r7 adfoster-r7 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Update the LicenseFinder dependency. We point at a custom Rapid7 fork, which can be deleted in the future once the referenced PR is merged upstream. This pattern will allow us to bump to a newer version of RubyZip too for supporting >4gb ZipFiles

Required: rapid7/metasploit-credential#194

Verification

Script ran locally:

bundle exec ./tools/dev/update_gem_licenses.sh

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the development/test-time license_finder dependency to a Rapid7 fork to allow a newer rubyzip constraint, and refreshes generated gem license inventory output accordingly.

Changes:

  • Switch license_finder to a git-sourced Rapid7 fork (7.2.1) and update Gemfile.lock to match.
  • Regenerate LICENSE_GEMS with the updated LicenseFinder output (license string formatting and some gem/version entries change).

Impact Analysis:

  • Blast radius: medium—affects developer/CI bundler installs for the :development, :test groups and the tools/dev/update_gem_licenses.sh release/support workflow; Unknown downstream consumers of LICENSE_GEMS.
  • Data and contract effects: no runtime schema/contract changes; LICENSE_GEMS content is a compliance artifact and must match the locked bundle.
  • Rollback and test focus: rollback is straightforward (revert Gemfile/Gemfile.lock/LICENSE_GEMS); validate bundle install produces the same resolved gems and bundle exec ./tools/dev/update_gem_licenses.sh reproduces the committed LICENSE_GEMS.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
Gemfile Moves license_finder from a pinned gem version to a Rapid7 git fork (temporary until upstream PR merges).
Gemfile.lock Adds a git-sourced license_finder (7.2.1) and replaces toml with tomlrb as part of the updated dependency tree.
LICENSE_GEMS Updates the generated license inventory output produced by tools/dev/update_gem_licenses.sh.

Comment thread Gemfile Outdated
Comment thread LICENSE_GEMS
Comment thread LICENSE_GEMS
@adfoster-r7

adfoster-r7 commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Release Notes

Updates to a newer version of RubyZip to support Zip files larger than 4GB

@adfoster-r7 adfoster-r7 force-pushed the update-licensefinder-dependency branch from 4bfe958 to 172712f Compare May 26, 2026 09:11
@adfoster-r7 adfoster-r7 force-pushed the update-licensefinder-dependency branch from 172712f to 6281eda Compare May 26, 2026 09:32
@adfoster-r7 adfoster-r7 changed the title Update licensefinder dependency Update RubyZip version - including licensefinder and metasploit-credential May 26, 2026
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in Metasploit Kanban May 26, 2026
@cgranleese-r7 cgranleese-r7 self-assigned this May 26, 2026
@adfoster-r7 adfoster-r7 merged commit 72fb241 into rapid7:master May 26, 2026
61 checks passed
@adfoster-r7 adfoster-r7 deleted the update-licensefinder-dependency branch May 26, 2026 10:18
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Metasploit Kanban May 26, 2026
@adfoster-r7 adfoster-r7 added rn-fix release notes fix and removed rn-no-release-notes no release notes labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rn-fix release notes fix

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants