Mike McQuaid
f9b4b69f27
Merge pull request #10575 from nandahkrishna/dependent-cask-check
...
cmd/uninstall: check for dependent casks
2021-02-12 10:55:38 +00:00
nandahkrishna
f7f9433443
Keg.find_some_installed_dependents: move to installed_dependents.rb
2021-02-12 01:42:17 +05:30
Bo Anderson
7d91406b88
Merge pull request #10588 from Bo98/git-test-fix
...
test/utils/git_spec: fix cherry pick test with older git
2021-02-11 17:41:10 +00:00
Bo Anderson
323ff660fa
rubocop: use consistent array/hash indentation
2021-02-11 13:27:42 +00:00
Bo Anderson
0f4ccd7625
Merge pull request #10552 from Bo98/sdk-checks
...
os/mac/diagnostic: check SDK version in SDKSettings matches the path
2021-02-11 12:53:05 +00:00
Bo Anderson
87b6fe8f84
test/os/mac/sdk: add tests
2021-02-11 01:20:02 +00:00
Bo Anderson
fe52b3a402
os/mac/diagnostic: check SDK version matches the path
2021-02-11 01:19:59 +00:00
Tom Hu
9dff3236a7
Merge branch 'master' into codecov-action
2021-02-10 18:47:57 -05:00
Bo Anderson
f5c075d668
test/utils/git_spec: fix cherry pick test with older git
2021-02-10 17:36:46 +00:00
nandahkrishna
fcb1aa8aef
test/keg_spec: add test to check for dependent casks
2021-02-10 12:05:12 +05:30
Michka Popoff
0a292c7041
linux: use preferred_gcc instead of gcc
2021-02-09 21:48:48 +01:00
nandahkrishna
1d204a0893
test/uninstall_spec: fix dependent cask handling
2021-02-09 16:07:49 +05:30
nandahkrishna
7965ad6160
cmd/uninstall: check for dependent casks
2021-02-09 08:47:11 +05:30
nandahkrishna
0474fe6093
dev-cmd/update-maintainers: add tests
2021-02-08 23:33:25 +05:30
Michka Popoff
066ef6b43e
Merge pull request #10512 from iMichka/gcc5
...
compilers: prefer gcc 5 on linux
2021-02-08 17:23:47 +01:00
Rylan Polster
78f54b060c
Merge pull request #10540 from cdalvaro/feature/brew_info_add_full_token_for_casks
...
Add full_token and tap entries to cask json output
2021-02-08 07:54:57 -05:00
Michka Popoff
221983dbcf
compilers: prefer gcc 5 on linux
...
Fixes #10170 by preferring gcc@5 on linux
This makes sure ENV.cc and ENV.cxx is correctly set:
If a formula does not explicitely depend on a brewed gcc,
ENV.cc is set to gcc-5 (system gcc-5 or brewed gcc-5) with this change,
even if other gcc versions are installed on the system.
2021-02-08 13:26:50 +01:00
Carlos Álvaro
65d5c11f15
Update list_spec.rb for cask full_name
2021-02-08 13:20:41 +01:00
Carlos Álvaro
ce7ab823ed
Replace test for checking formulae tap
...
As suggested by @Rylan12, integration tests are super slow.
Co-Authored-By: Rylan Polster <rslpolster@gmail.com>
2021-02-08 13:20:41 +01:00
Carlos Álvaro
7ca79553f0
Add test to check --json=v2 format
2021-02-08 13:20:41 +01:00
Carlos Álvaro
84d80cf0bf
Add tap to cask json output
2021-02-08 13:20:40 +01:00
Carlos Álvaro
4f5f3824c6
Add full_token to cask json output
2021-02-08 13:20:40 +01:00
Sam Ford
0d1aa33f81
Merge pull request #10525 from samford/livecheck-check-stable-before-head
...
livecheck: check stable before head by default
2021-02-05 19:30:10 -05:00
Rylan Polster
5f57601fd8
style: re-enable bottle order cop
2021-02-04 17:18:20 -05:00
Rylan Polster
3dccea251f
bottle: write bottles in correct order
2021-02-04 16:04:13 -05:00
Sam Ford
703d59b521
livecheck: check stable before head by default
2021-02-04 15:44:09 -05:00
Tom Hu
7d8437608e
Add JSONFormatter explicitly
2021-02-04 12:35:55 -05:00
Carlo Cabrera
2de172e050
rubocops/bottle: disable bottle order check
...
This is causing CI failures at homebrew/core [1], so let's disable this
for now.
[1] 01b6830646
2021-02-04 11:18:09 +00:00
Tom Hu
1fb58d5b2f
Add Codecov GitHub Action step
2021-02-03 22:46:05 -05:00
Rylan Polster
727ac9b47f
bottle: write bottles with new syntax
2021-02-03 20:46:20 -05:00
Seeker
4c42d717fd
rubocops: add cops to check bottle format, indentation, and order
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2021-02-03 20:46:20 -05:00
Carlo Cabrera
d3507d9899
test/language/java_spec: test both Mac and Linux
2021-02-02 15:05:29 +00:00
Rylan Polster
3b8fa5a7af
Merge pull request #10466 from Rylan12/rubocop-reduce-todo
...
Reduce rubocop violations in tests
2021-02-02 08:23:36 -05:00
Carlo Cabrera
a3692ce3af
Merge pull request #10479 from jonchang/fix-macos-java
...
java: fix java_home on macOS
2021-02-02 12:45:28 +00:00
Carlo Cabrera
234c1f14b8
java_spec: fix tests
...
The tests need to match the changes reverted in d6bba1c4938ea9c9a9d58ba2f209775dd71a8537.
2021-02-02 12:15:15 +00:00
Rylan Polster
3f2757fd79
rubocop: update test configuration
2021-02-01 20:30:51 -05:00
Rylan Polster
4a82d807e1
style: remove RSpec/MultipleDescribes violations in commands
2021-02-01 20:30:51 -05:00
Rylan Polster
d5d7b6c3db
style: remove RSpec/MultipleDescribes violations
...
Co-authored-by: Nanda H Krishna <nanda.harishankar@gmail.com>
2021-02-01 20:30:51 -05:00
Rylan Polster
af40e072b0
style: remove RSpec/NamedSubject violations
2021-02-01 20:30:51 -05:00
Rylan Polster
3e00b3ea28
style: remove RSpec/ExampleLength violations
2021-02-01 20:30:51 -05:00
EricFromCanada
f39fb5d6b2
cask/config: new method for cask.config.explicit as string
2021-02-01 10:44:19 -05:00
Mike McQuaid
cdf8ff9052
Merge pull request #10266 from gromgit/prefix_non_installed
...
cmd/--prefix: add --installed flag
2021-02-01 09:05:28 +00:00
Mike McQuaid
b8d55e5a77
Merge pull request #10397 from MikeMcQuaid/deprecations-disables
...
Homebrew 3.0.0 deprecations/disables
2021-02-01 08:37:22 +00:00
Adrian Ho
28a8409b6e
cmd/--prefix: add --installed flag
...
This changes the output for uninstalled formulae from Cellar prefix to empty string, so:
```sh
$ brew --prefix abcde python@3.9 tcl-tk
/usr/local/Cellar/abcde/2.9.3_1
/usr/local/opt/python@3.9
/usr/local/Cellar/tcl-tk/8.6.10
$ brew --prefix --installed abcde python@3.9 tcl-tk
/usr/local/opt/python@3.9
$
```
2021-01-31 16:09:43 +08:00
Mike McQuaid
e65e310fd0
Fix brew style
2021-01-29 20:56:59 +00:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables
2021-01-29 19:50:24 +00:00
Seeker
1ce8bd00fb
named_args: print error if formula and cask found but one is unreadable
2021-01-28 15:21:23 -08:00
Seeker
89930157b5
named_args: raise rescued error if both formula/cask are unreadable
2021-01-28 15:21:23 -08:00
Michka Popoff
38ae6e0c0d
style: re-enable sha256 checks for bottle blocks
...
Follow up PR to #10450
2021-01-28 20:35:31 +01:00
Mike McQuaid
4afebd2872
Fixup brew bottle
(and tests) for #10447 .
2021-01-28 13:19:41 +00:00