22646 Commits

Author SHA1 Message Date
Gautham Goli
e4118bc4ca Fix shellcheck style errors 2021-05-18 17:10:20 +05:30
Mike McQuaid
1810ff9722
Merge pull request #11384 from cnnrmnn/blank-template-taps
Override user-set default git template for taps
2021-05-17 14:00:26 +01:00
Mike McQuaid
67ba6cfff1
Merge pull request #11378 from hyuraku/remove_manual_installer_from_upgrage_casks
remove installer manual casks from upgraded casks
2021-05-17 13:56:04 +01:00
Carlo Cabrera
e8b5eb7e42
extend/os/mac/keg_relocate: fix relocation of duplicate RPATHs
Homebrew/homebrew-core#77623 revealed two bugs. One in `ruby-macho`,
which turns out to be unable to delete duplicated `RPATH`s. This was
fixed with `ruby-macho` 2.5.1.

The second, which this commit fixes, is in our handling of duplicate
`RPATH`s. Since we iterate over each `RPATH`, attempting to relocate the
first duplicate fails since it will no longer exist after having
relocated the original.
2021-05-17 00:14:46 +01:00
Nanda H Krishna
7ff63124e8
Merge pull request #11390 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.11.4
build(deps): bump nokogiri from 1.11.3 to 1.11.4 in /Library/Homebrew
2021-05-17 03:27:51 +05:30
BrewTestBot
41baec1a49
Update RBI files for ruby-macho. 2021-05-16 14:36:31 +00:00
BrewTestBot
a2421c38f0
brew vendor-gems: commit updates. 2021-05-16 14:35:39 +00:00
BrewTestBot
b0c59d7df6
Update RBI files for nokogiri. 2021-05-16 14:33:29 +00:00
BrewTestBot
7e2fcaaa16
brew vendor-gems: commit updates. 2021-05-16 14:32:37 +00:00
dependabot[bot]
f158747592
build(deps): bump ruby-macho from 2.5.0 to 2.5.1 in /Library/Homebrew
Bumps [ruby-macho](https://github.com/Homebrew/ruby-macho) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/Homebrew/ruby-macho/releases)
- [Commits](https://github.com/Homebrew/ruby-macho/compare/v2.5.0...v2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-16 14:29:37 +00:00
dependabot[bot]
410ad0485c
build(deps): bump nokogiri from 1.11.3 to 1.11.4 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.3 to 1.11.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.3...v1.11.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-16 14:29:25 +00:00
Rylan Polster
9f5afcbf63
Merge pull request #11381 from cnnrmnn/fix-range-requests
Fix range requests with `curl`
2021-05-15 16:40:20 -04:00
Nanda H Krishna
389f289770
utils/pypi: use opt_bin for pipgrip 2021-05-15 23:14:34 +05:30
hyuraku
45b7e438f1 repair manual_installer_casks block 2021-05-15 21:24:24 +09:00
Carlo Cabrera
d45832bbfc
Merge pull request #11382 from carlocab/build-rpaths
extend/os/mac/keg_relocate: remove `RPATH`s rooted in build directory
2021-05-15 01:04:25 +01:00
Connor Mann
a079ba9bb3 Add parentheses for clarity 2021-05-14 15:28:56 -04:00
Connor Mann
2a9540b3ab
Check for key explicitly with key?
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-14 15:16:37 -04:00
Connor Mann
b546960da9 Revert "Update Library/Homebrew/utils/curl.rb"
This reverts commit ecaaafba203578498fbc0a48493adea1790839f2.
2021-05-14 15:14:56 -04:00
Carlo Cabrera
496c24aae2
Merge pull request #11379 from carlocab/tmux-env-filtering
Fix `TMUX` env variable filtering
2021-05-14 19:12:47 +01:00
Connor Mann
f7fe111430
Use blank? instead of checking for nil 2021-05-14 11:53:49 -04:00
Connor Mann
2500b8daba
Update Library/Homebrew/utils/curl.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-14 11:47:38 -04:00
Connor Mann
ecaaafba20
Update Library/Homebrew/utils/curl.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-14 11:16:35 -04:00
Connor Mann
a7ca15d8e9 Override user-set default git template 2021-05-14 10:47:52 -04:00
Connor Mann
b79aeab8b2
Update Library/Homebrew/utils/curl.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-14 09:55:45 -04:00
Connor Mann
85702dfe53
Update Library/Homebrew/utils/curl.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-14 09:55:40 -04:00
cnnrmnn
b406e0b35a Update call sites 2021-05-14 09:53:29 -04:00
cnnrmnn
86bce7bf1d Stop unnecessarily dumping headers 2021-05-14 09:50:57 -04:00
cnnrmnn
a156621297 Simplify header parsing 2021-05-14 09:44:05 -04:00
hyuraku
5f62f417fd add error message that cask was installed manually 2021-05-14 12:56:57 +09:00
Carlo Cabrera
28c0caae4d
extend/os/mac/keg_relocate: remove RPATHs rooted in build directory
Keeping dangling `RPATH`s is a security risk, and is bad for build
reproducibility.
2021-05-14 01:07:14 +01:00
cnnrmnn
8ef2d2ecc4 Update tests 2021-05-13 12:54:17 -04:00
cnnrmnn
16e7072543 Fix argument order 2021-05-13 12:53:57 -04:00
cnnrmnn
7637fd5366 Only use continue-at with partial requests 2021-05-13 12:28:34 -04:00
Rylan Polster
7c68b1738b
Merge pull request #11332 from Rylan12/relocate-paths-at-start
keg_relocate: only replace matches at the start of a path
2021-05-13 12:19:06 -04:00
cnnrmnn
df0915e33f Check partial request support with Accept-Ranges 2021-05-13 12:11:34 -04:00
Carlo Cabrera
4fb06efe81
Fix TMUX env variable filtering
We currently filter out `TMUX`, but this breaks displaying some caveats.
This also enables an alias I use (and improved by @Rylan12):

    brew alias fzp='!id="$(gh pr list -L200 -R github.com/Homebrew/homebrew-core | TMUX=$HOMEBREW_TMUX fzf-tmux -p "90%,50%" --multi | cut -f1)"; [ -n "$id" ] && brew pr-publish --autosquash $id'
2021-05-13 17:05:18 +01:00
cnnrmnn
b9b917756c Add header parsing 2021-05-13 11:42:28 -04:00
cnnrmnn
aa989bd55a Change inititial partial request to HEAD request 2021-05-13 11:39:59 -04:00
Rylan Polster
4457dc904b
Cleanup using suggestions from code review 2021-05-13 11:02:39 -04:00
Mike McQuaid
321c165bd3
Merge pull request #11350 from Gcenx/audit-fix-xcode-build-check
audit: Remove SYMROOT
2021-05-13 13:50:40 +01:00
Mike McQuaid
02a344d432
Merge pull request #11368 from cnnrmnn/add-leaves-flags
Add leaves --installed-on-request and --installed-as-dependency flags
2021-05-13 13:33:29 +01:00
Mike McQuaid
d849b5018d
cmd/leaves: tweak naming. 2021-05-13 13:15:40 +01:00
Dean M Greer
ceeb5ea9ec audit: Remove SYMROOT
SYMROOT is only a valid argument when -project is used.

xcodebuild has other uses than building Xcode projects.
2021-05-13 08:07:06 -04:00
Carlo Cabrera
dd199901e7
Merge pull request #11370 from carlocab/relocate-metavars 2021-05-13 07:02:25 +01:00
Carlo Cabrera
c7de544fe8
extend/os/mac/keg_relocate: fix post-bottling dylib ID relocation
Running `brew bottle` changes dylib IDs, install names, and rpaths into
placeholders for the bottle, creates a bottle tarball, and then changes
the placeholders back to their correct values.

With my refactoring in #11358, the behaviour of this relocation changed:
dylib IDs would no longer be changed back from placeholders into their
correct values after the creation of the bottle tarball.
2021-05-12 21:37:33 +01:00
Rylan Polster
04ac61924b
cli/args: add new brew leaves args to rbi file
Also update the manpages with the new `brew leaves` options.
2021-05-12 11:49:46 -04:00
cnnrmnn
dd94c4a550 Revert "Add leaves flags tests"
This reverts commit 706c40869662c0ddf18d3a6bb62b25740ddbee4e.
2021-05-12 11:25:53 -04:00
Bo Anderson
6b8ed45db3
Merge pull request #11140 from Bo98/io-read-cop
Add cop for IO.read usage
2021-05-12 16:05:40 +01:00
cnnrmnn
706c408696 Add leaves flags tests 2021-05-12 10:51:16 -04:00
hyuraku
bc476a31b4 remove manual installer casks from upgrage casks 2021-05-12 23:46:50 +09:00