Caleb Xu
318175cfe2
Utils: add shortened_brew_path
2021-06-15 09:58:46 -04:00
Sam Ford
e8f803bc75
Cask::Audit: Handle livecheck skip conditions
2021-06-14 14:28:27 -04:00
Rylan Polster
44bc942703
Fix tests
2021-06-14 12:59:03 -04:00
Rylan Polster
e9631d969c
Formulary: add ::map
to map formula refs
2021-06-14 12:01:01 -04:00
Bo Anderson
a06d136d2c
Move Sorbet gems into an optional group
2021-06-11 08:10:30 +01:00
Nanda H Krishna
ffaa042457
test/pkg_version_spec: fix style
2021-06-10 13:42:33 +05:30
Rylan Polster
08b44afcdf
cli/parser: allow options to be hidden
2021-06-08 22:02:32 -04:00
Dawid Dziurla
9657303ed2
Merge pull request #11492 from SMillerDev/fix/service/add_linux_target
...
service: add install block to unit
2021-06-08 02:14:01 +02:00
Rylan Polster
aebaa7f8df
formula: only include sha256
for core formulae in bottle JSON
2021-06-05 12:31:55 -04:00
Rylan Polster
d60f549a48
info: add --bottle
option for JSON bottle info
2021-06-05 12:27:24 -04:00
Sean Molenaar
8250f73383
service: add install block to unit
2021-06-05 17:59:17 +02:00
Rylan Polster
8b0f7e7ada
formula: add to_bottle_hash
method
2021-06-03 12:59:42 -04:00
Mike McQuaid
8171fd6b1b
Merge pull request #11447 from scpeters/lowercase_formula_names
...
audit: complain about uppercase formula names
2021-05-31 12:30:42 +01:00
Connor Mann
0da4c4e3ce
Update tests
2021-05-29 13:16:27 -04:00
Steve Peters
ca6fc4873e
audit_spec: expect error for uppercase formula
...
Our docs state that formula filenames must not have uppercase letters.
This adds a test to expect that FormulaAuditor's audit_formula_name
method complains about such a formula.
2021-05-27 17:45:24 -07:00
Rylan Polster
d0f5a0832e
Merge pull request #11397 from cnnrmnn/add-link-head
...
Add `brew link --HEAD`
2021-05-26 11:46:58 -04:00
Sean Molenaar
3ce5737425
service: ensure environment variables are strings
2021-05-25 20:52:51 +02:00
Sean Molenaar
ef9c49c5b2
service: ensure environment variables are prefixed in command
2021-05-25 11:47:44 +02:00
Connor Mann
d50b32313f
Fix to_kegs
test
2021-05-24 09:17:52 -04:00
Connor Mann
b81a522230
Add tests for to_latest_kegs
2021-05-23 16:09:35 -04:00
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