4228 Commits

Author SHA1 Message Date
Sean Molenaar
fceaa2bb74
Service: add additional options 2021-05-22 18:17:36 +02:00
Connor Mann
c18c931224 Fix tests 2021-05-21 11:52:17 -04:00
Connor Mann
0938500721
Update Library/Homebrew/test/cli/named_args_spec.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-20 12:09:45 -04:00
Connor Mann
cad665406e Update to_kegs tests 2021-05-20 12:08:10 -04:00
Connor Mann
2938b2798d Update to_default_kegs tests 2021-05-20 12:06:23 -04:00
Rylan Polster
745d7ff813
formula: use only_if: in pour_bottle? 2021-05-20 11:24:08 -04:00
Connor Mann
08bbb95cfb Add to_kegs test 2021-05-19 13:58:55 -04:00
Connor Mann
49aa057188 Rename resolve_keg to resolve_default_keg 2021-05-19 10:29:40 -04:00
Connor Mann
fe9a9bb24c Rename to_keg to to_default_kegs 2021-05-19 09:34:18 -04:00
Carlo Cabrera
3c34c13056
formula: tweak preset pour_bottle? symbols
Let's rename `reason` to `requirement` so the preset symbol can just be
`:clt`. See Homebrew/homebrew-core#77509.
2021-05-19 02:21:59 +01:00
Rylan Polster
e0bfcdaf25
Merge pull request #11389 from Rylan12/pour-bottle-symbols
formula: add preset `pour_bottle?` symbols
2021-05-18 10:12:41 -04:00
Connor Mann
d754c0f450 Update tests for to_keg 2021-05-18 09:57:57 -04:00
Rylan Polster
722a8eda3c
Fix tests 2021-05-18 01:55:06 -04:00
Rylan Polster
69e29a358b
Raise errors on invalid symbol/block combinations 2021-05-17 15:33:09 -04:00
Rylan Polster
fb3bfbb65c
Remove prefix option and add reason argument name 2021-05-17 10:55:46 -04: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
Rylan Polster
9e35b4de21
fix test 2021-05-15 14:51:11 -04:00
Rylan Polster
5e9fcafbd8
formula: add preset pour_bottle? symbols 2021-05-15 14:05:50 -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
cnnrmnn
8ef2d2ecc4 Update tests 2021-05-13 12:54:17 -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
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
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
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
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
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
Rylan Polster
309e9e1c52
Remove Keg::Relocation#start_with_old_value? method 2021-05-11 15:45:43 -04:00
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
08382fab0b
Add tests for Keg::Relocation 2021-05-11 14:26:14 -04: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
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
a5cb621fb8
tab: add declared_directly field for runtime deps 2021-05-10 05:50:08 +01:00
Bo Anderson
8db3c6bfd0
language/perl: use versioned shebang 2021-05-10 05:50:08 +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
John Bampton
1691e615fe Fix spelling 2021-05-08 11:20:01 +10:00
Mike McQuaid
3eaa0d7752
Merge pull request #11337 from cnnrmnn/no-shallow-taps
No shallow taps
2021-05-07 22:22:09 +01:00
Mike McQuaid
1462f47609
cask/cmd/uninstall_spec: delete more flaky tests.
https://github.com/Homebrew/brew/pull/11337/checks?check_run_id=2528253674
2021-05-07 16:27:52 +01:00
cnnrmnn
02993c5899 Update tests to stop passing full_clone 2021-05-06 10:11:21 -04:00
Sean Molenaar
42ffee75a1
Merge pull request #11316 from SMillerDev/feature/linux/write_unit 2021-05-05 17:10:43 +02:00
Mike McQuaid
4f36217838
cask/installer_spec: delete flaky test.
I see this failing every couple of days despite no changes.
2021-05-05 10:32:52 +01:00
Nanda H Krishna
0ed2f6423f
Merge pull request #11308 from nandahkrishna/rename-brew-man
Rename `brew man` to `brew generate-manpages`
2021-05-04 23:02:39 +05:30
Sean Molenaar
157fed329c
service: install linux service file 2021-05-04 16:22:28 +02:00
Bo Anderson
f826ffdca8
Merge pull request #11307 from Bo98/pathname-write
extend/pathname: limit `write` override to a refinement
2021-05-04 15:16:12 +01:00
Bo Anderson
f174d4363f
extend/pathname: limit write override to a refinement 2021-05-04 14:20:20 +01:00