Treat archive filenames literally #24305

Merged
p-linnane opened 10:58am on October 20, 2026 wanted to merge 155 Δ into homebrew/brew main from
zip-literal-archive-paths

Pull request #24305 quality checks

Code files and functions touched by this pull request are analyzed below.

Quality targets

How does this pull request compare to chosen code quality targets? Read more about code quality targets.

Target name Target value This PR
Maximum Diff Delta per PR 500 155
Maximum comment count per PR 10 2
Pull request maximum business days between activity 3 16
Pull request maximum business days open 5 16

Coupled files

Are there any files from this commit that are always committed alongside another file? This often suggests that there exists code coupling to potentially remove. Read more about code coupling

Committed together % Code file
Coupled code file
Commits in PR with both
100 Library/Homebrew/unpack_strategy/p7zip.rb
Library/Homebrew/unpack_strategy/zip.rb
1
100 Library/Homebrew/test/unpack_strategy/p7zip_spec.rb
Library/Homebrew/test/unpack_strategy/zip_spec.rb
1
95 Library/Homebrew/unpack_strategy/zip.rb
Library/Homebrew/unpack_strategy/p7zip.rb
1

️ Biggest functions grown or shrunk by pull request

Which functions had their line count change as part of this pull request?

Qualified function name View whole function Lines removed Lines added Final line count
UnpackStrategy::Path::with_literal_name 0 8 8
UnpackStrategy::zipinfo 0 3 7