Rylan Polster
7d49dba7e9
Fix Keg::Relocation::start_with_old_value?
2021-05-11 14:28:47 -04:00
Rylan Polster
875282bc06
Add more keg relocation tests
2021-05-11 14:28:47 -04:00
Rylan Polster
f13f7b9326
Only use path regex when requested
2021-05-11 14:28:47 -04:00
Rylan Polster
5f781770b4
Extract Keg::text_matches_in_file
from bottle command
2021-05-11 14:26:14 -04:00
Rylan Polster
08382fab0b
Add tests for Keg::Relocation
2021-05-11 14:26:14 -04:00
Rylan Polster
fe7f80f647
Refactor out and correctly create path regex
2021-05-11 14:26:14 -04:00
Rylan Polster
fd3730a531
bottle: allow links to pkgconfig directory in HOMEBREW_REPOSITORY
2021-05-11 14:26:14 -04:00
Rylan Polster
9ddb531249
bottle: update keg_contain?
to match correctly
2021-05-11 14:26:14 -04:00
Rylan Polster
db8f54cea1
keg_relocate: only replace matches at the start of a path
2021-05-11 14:26:13 -04:00
Carlo Cabrera
ef000d0c3b
Merge pull request #11358 from carlocab/keg-relocate-refactor
...
extend/os/mac/keg_relocate: refactor `relocate_dynamic_linkage`
2021-05-11 19:22:45 +01:00
Bo Anderson
33e1255f65
formula_installer: write tab when pouring local --only-json-tab bottles
2021-05-11 14:28:12 +01:00
Bo Anderson
2b9fd5460e
Merge pull request #11365 from Bo98/syscommand-queue
...
system_command: better handle race conditions when interrupting
2021-05-11 14:12:21 +01:00
Mike McQuaid
f35bb422d4
Merge pull request #11349 from davidxia/fish-path
...
fix: use recommended way of updating Fish shell $PATH
2021-05-11 13:45:38 +01:00
Bo Anderson
d83b8002ef
system_command: better handle race conditions when interrupting
2021-05-11 13:44:32 +01:00
Bo Anderson
fca0fb123d
Merge pull request #11361 from Bo98/syscommand-race-fix
...
system_command: fix rare scenario of interrupt being reported to stderr
2021-05-11 03:19:50 +01:00
Bo Anderson
b7782c670f
Merge pull request #11360 from Bo98/perl-catalina
...
os/mac: use perl 5.18 on Catalina
2021-05-11 02:35:30 +01:00
Bo Anderson
aea107b55a
system_command: fix rare scenario of interrupt being reported to stderr
2021-05-11 02:32:29 +01:00
Bo Anderson
0950549629
os/mac: use perl 5.18 on Catalina
2021-05-11 01:48:54 +01:00
Dawid Dziurla
4e610a7075
Merge pull request #11359 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2021-05-11 02:26:13 +02:00
BrewTestBot
09a996181d
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2021-05-11 00:07:17 +00:00
Carlo Cabrera
a1c4243dd7
extend/os/mac/keg_relocate: refactor relocate_dynamic_linkage
...
Following feedback from #11331 .
2021-05-10 17:42:35 +01:00
Mike McQuaid
c92a40a751
Merge pull request #11276 from scpeters/release_notes_fix_blank_link
...
release_notes: append #PR to markdown link text
2021-05-10 16:54:57 +01:00
Bo Anderson
6e2f194e09
rubocops/shell_commands: add cop for shell metacharacters in exec
2021-05-10 16:30:00 +01:00
Steve Peters
f2c46d4608
release_notes: fix for missing body message
...
Some merge commits don't include the title of the pull request
on subsequent lines, leaving the markdown link text blank
in the release notes. This appends the subject line of the
commit message instead if the body is missing and adds a test
case.
2021-05-10 16:29:59 +01:00
Bo Anderson
05111c878f
Merge pull request #11344 from Bo98/syscommand-pipe-hang
...
system_command: avoid waiting on pipes after process termination
2021-05-10 16:29:30 +01:00
Mike McQuaid
c6ac648c08
Merge pull request #11244 from Moisan/docs_shebang
...
docs: mention shebang rewrite in the formula cookbook
2021-05-10 16:11:12 +01:00
Bo Anderson
6c10adab2f
system_command: avoid waiting on pipes after process termination
2021-05-10 15:48:15 +01:00
Carlo Cabrera
734defb1a9
Merge pull request #11352 from carlocab/custom-arch
...
extend/ENV/super: allow bottles with custom architectures
3.1.6
2021-05-10 14:30:41 +01:00
Bo Anderson
c09e48e073
Merge pull request #11286 from Bo98/perl
...
Use versioned Perl shebangs on macOS and support replacing shebangs during relocation
2021-05-10 14:27:53 +01:00
Nanda H Krishna
51774982a2
Merge pull request #11355 from nandahkrishna/service-add-path-methods
...
service: delegate more path methods
2021-05-10 18:54:27 +05:30
Dawid Dziurla
4331d6a216
Merge pull request #11353 from nandahkrishna/fix-bump
...
dev-cmd/bump: fix empty array check
2021-05-10 15:22:45 +02:00
Nanda H Krishna
9da32fdaaf
Merge pull request #11356 from Homebrew/dependabot/bundler/Library/Homebrew/mechanize-2.8.1
...
build(deps): bump mechanize from 2.8.0 to 2.8.1 in /Library/Homebrew
2021-05-10 16:39:04 +05:30
BrewTestBot
9183a2a2fd
Update RBI files for mechanize.
2021-05-10 07:08:06 +00:00
BrewTestBot
709902635d
brew vendor-gems: commit updates.
2021-05-10 07:07:16 +00:00
dependabot[bot]
587025524b
build(deps): bump mechanize from 2.8.0 to 2.8.1 in /Library/Homebrew
...
Bumps [mechanize](https://github.com/sparklemotion/mechanize ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/sparklemotion/mechanize/releases )
- [Changelog](https://github.com/sparklemotion/mechanize/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/mechanize/compare/v2.8.0...v2.8.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 07:02:48 +00:00
Bo Anderson
5f41016267
Support handling of rewriting shebangs with flags
...
Fixes #11108 .
2021-05-10 06:13:58 +01:00
Bo Anderson
ae49b06600
keg_relocate: replace Perl shebangs
2021-05-10 06:13:54 +01:00
Bo Anderson
91ab5fe0ce
extend/os/mac/development_tools: add preferred_perl to built_on
2021-05-10 05:50:08 +01:00
Bo Anderson
a5cb621fb8
tab: add declared_directly field for runtime deps
2021-05-10 05:50:08 +01:00
Bo Anderson
8004deccd2
cleaner: globally rewrite Perl shebangs by default
2021-05-10 05:50:08 +01:00
Bo Anderson
8db3c6bfd0
language/perl: use versioned shebang
2021-05-10 05:50:08 +01:00
Bo Anderson
728bb547a7
language: raise ShebangDetectionError rather than a generic error
2021-05-10 05:50:08 +01:00
Bo Anderson
1e567161d1
ENV/shared: specify which Perl version we want to use
2021-05-10 05:50:02 +01:00
Bo Anderson
19af1ff2ea
Merge pull request #11354 from Bo98/xcode-12.5
...
os/mac/xcode: support Xcode 12.5
2021-05-09 19:44:36 +01:00
Nanda H Krishna
346621dd5b
service: delegate more path methods
2021-05-10 00:10:42 +05:30
Bo Anderson
55f90f972d
os/mac/xcode: support Xcode 12.5
2021-05-09 18:34:09 +01:00
Nanda H Krishna
8e1c9234e3
dev-cmd/bump: fix empty array check
2021-05-09 18:07:33 +05:30
Carlo Cabrera
e893f16727
extend/ENV/super: allow bottles with custom architectures
...
Currently, Homebrew recognises only the architectures listed in
`hardware.rb`. [1] Attempting to pass an unrecognised architecture to
`--bottle-arch` while building a bottle returns an error.
Let's change that by passing unrecognised bottle arches to the compiler
instead of immediately failing with a `CannotInstallFormulaError`.
Partially resolves #5815 .
[1] 64b6846d60/Library/Homebrew/hardware.rb (L28-L42)
2021-05-09 11:01:48 +01:00
David Xia
7920006020
fix: use recommended way of updating Fish shell $PATH
...
fixes https://github.com/Homebrew/brew/issues/8965
See Fish docs https://fishshell.com/docs/current/tutorial.html#path .
> A faster way is to use the `fish_add_path function`... The advantage is that
> you don't have to go mucking around in files: just run this once at the
> command line, and it will affect the current session and all future instances
> too.
>
> Or you can modify `$fish_user_paths` yourself, but you should be careful not
> to append to it unconditionally in config.fish, or it will grow longer and
> longer.
2021-05-08 21:19:19 -07:00
Rylan Polster
64b6846d60
Merge pull request #11346 from jbampton/fix-spelling
...
Fix spelling
2021-05-07 22:07:29 -04:00