27829 Commits

Author SHA1 Message Date
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
Rylan Polster
04f5433dcc
docs: update based on suggestions from code review 2021-05-13 20:14:28 -04: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
Rylan Polster
73ca9a0e05
docs: add cask cookbook link to maintainer guidlines 2021-05-13 02:51:15 -04:00
Rylan Polster
ce2a942d67
docs: temporarily rename core maintainer guide 2021-05-13 02:34:31 -04:00
Rylan Polster
e0230330d0
docs: add brew maintainer guide 2021-05-13 02:30:01 -04:00
Carlo Cabrera
dd199901e7
Merge pull request #11370 from carlocab/relocate-metavars 2021-05-13 07:02:25 +01:00
Rylan Polster
068292cfdc
docs: reorganize maintainer guides 2021-05-12 20:59:09 -04:00
Rylan Polster
0f47290622
docs: add cask maintainer guide 2021-05-12 20:54:06 -04:00
Carlo Cabrera
526c06da0c
Merge pull request #11375 from carlocab/relocate-dylib-id
extend/os/mac/keg_relocate: fix post-bottling dylib ID relocation
2021-05-12 22:15:31 +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
cnnrmnn
c20c7c8be5 Make flags mutually exclusive 2021-05-12 10:37:59 -04:00
cnnrmnn
8764c4fc21 Fix proc coercion 2021-05-12 10:08:11 -04:00
Connor Mann
e4e641cd77
Update Library/Homebrew/cmd/leaves.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-12 10:05:02 -04:00
Bo Anderson
a92c194bfb
Merge pull request #11321 from Bo98/gzip
dev-cmd/bottle: make gzip creation consistent across platforms
2021-05-12 14:58:43 +01:00
Connor Mann
47a64822ba
Update Library/Homebrew/cmd/leaves.rb
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-05-12 09:36:51 -04:00
Bo Anderson
6d31408606
dev-cmd/bottle: make gzip creation consistent across platforms 2021-05-12 14:21:38 +01:00
Mike McQuaid
2e1e08c596
Merge pull request #11366 from MikeMcQuaid/delete-bintray
Delete Bintray code
2021-05-12 14:17:48 +01:00
Mike McQuaid
b914411ac8
Delete Bintray code
Remove all code related to Bintray. It no longer works so there's no
point keeping it around.

Some of this could arguably be deprecated/disabled first/instead but:
I'm not sure I see the sense in keeping stuff around that's known to be
broken.
2021-05-12 13:37:18 +01:00
Bo Anderson
e5285b5ed8
Add cop for IO.read usage 2021-05-12 13:07:24 +01:00
Bo Anderson
6c9ef43e72
Merge pull request #11309 from Bo98/exec-cop
rubocops/shell_commands: add cop for shell metacharacters in `exec`
2021-05-12 13:03:39 +01:00
Carlo Cabrera
4b6f7aaa5b
extend/os/mac/keg_relocate: remove HOMEBREW_RELOCATE_METAVARS
It's not being used, and it breaks formulae when it is.

Plus do some extra refactoring.
2021-05-12 04:08:41 +01:00
cnnrmnn
5cc98d2819 Add --installed-(on-request/as-dependency) flags 2021-05-11 17:32:24 -04:00
Bo Anderson
92cf904719
Merge pull request #11362 from Bo98/json-tab-write
formula_installer: write tab when pouring local --only-json-tab bottles
3.1.7
2021-05-11 22:10:18 +01:00
Rylan Polster
309e9e1c52
Remove Keg::Relocation#start_with_old_value? method 2021-05-11 15:45:43 -04:00