Mike McQuaid
f6162d9cdd
Merge pull request #13825 from Bo98/sorbet-fix
...
Prevent `require` executing some scripts (fixes `brew typecheck --update`)
2022-09-08 10:00:50 +01:00
Bo Anderson
cbc895ce2b
Add Pathname shim extension RBI definitions
2022-09-08 03:26:50 +01:00
Bo Anderson
594a38bfe1
Update Sorbet RBI files
2022-09-08 01:44:34 +01:00
Bo Anderson
987abe7773
Prevent require
executing some scripts
2022-09-08 01:44:31 +01:00
Bo Anderson
8a807dcd7a
Merge pull request #13823 from Bo98/test-match-fix
...
test/dev-cmd/audit_spec: use `eq` instead of `match`
2022-09-07 21:33:13 +01:00
Bo Anderson
b6e3b146b2
test/dev-cmd/audit_spec: use eq
instead of match
2022-09-07 20:36:09 +01:00
Mike McQuaid
bc295f7947
update-sponsors: don't require admin token.
...
Instead, use a different API to query these with a lower scope.
This should be usable by GitHub Actions.
2022-09-07 16:49:41 +01:00
Mike McQuaid
00179ba5bf
Merge pull request #13819 from Bo98/docker-deprecate
...
Add messaging for `homebrew/ubuntu16.04:master` image deprecation
2022-09-07 15:28:31 +01:00
Bo Anderson
a0985191ea
Add messaging for Docker image deprecation
2022-09-07 13:26:08 +01:00
Mike McQuaid
93ea8cb2c4
Merge pull request #13815 from Rylan12/developers-api
...
Allow developers to use dev commands and `HOMEBREW_INSTALL_FROM_API`
3.6.0
2022-09-07 12:37:19 +01:00
Rylan Polster
7ee35c6a0c
Allow developers to use dev commands and HOMEBREW_INSTALL_FROM_API
2022-09-06 12:59:13 -04:00
Rylan Polster
89cb768055
Merge pull request #13553 from max-ae/generate-completions-dsl-rubocop
...
rubocop: generate_completions DSL
2022-09-06 12:09:46 -04:00
Mike McQuaid
0f52fccfc5
Merge pull request #13814 from MikeMcQuaid/dockerenv
...
brew: improve Docker detection.
2022-09-06 17:02:37 +01:00
Mike McQuaid
e58d7d3456
brew: improve Docker detection.
...
Needed for Ubuntu 22.04.
2022-09-06 16:32:35 +01:00
Mike McQuaid
0334658633
Merge pull request #13733 from sjackman/sj/ubuntu22.04
...
Update LINUX_CI_OS_VERSION to Ubuntu 22.04
2022-09-06 15:21:52 +01:00
Shaun Jackman
aa5f6a7ccd
Fix test/unpack_strategy/zstd for Ubuntu 22.04
2022-09-06 14:16:17 +01:00
Shaun Jackman
0de4282511
CI: Use ubuntu-22.04 rather than ubuntu-latest (ubuntu-20.04)
...
Use ubuntu-22.04 for the CI tests rather than ubuntu-latest,
which is currently ubuntu-20.04.
2022-09-06 14:16:16 +01:00
Shaun Jackman
b9e1a51266
test: Update tests that mock gcc@5
2022-09-06 14:16:16 +01:00
Shaun Jackman
b01e0abcf8
Update LINUX_CI_OS_VERSION and related constants
...
- Change `LINUX_CI_OS_VERSION` from `Ubuntu 16.04` to `Ubuntu 22.04`
- Change `LINUX_GLIBC_CI_VERSION` from `2.23` to `2.35`
- Change `LINUX_GCC_CI_VERSION` from `5.0` to `11.0`
- Change `LINUX_PREFERRED_GCC_FORMULA` from `gcc@5` to `gcc@11`
- Build the Docker image `ghcr.io/homebrew/ubuntu22.04:master`
2022-09-06 14:16:16 +01:00
hyuraku
d0e83d39a0
add empty line
2022-09-06 22:07:44 +09:00
Max Eisner
088dce08d6
fix: return if no install
def
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2022-09-06 14:42:03 +02:00
Max Eisner
2946752083
extend tests
2022-09-06 14:42:03 +02:00
Max Eisner
2c4ef98f0d
fix additional quotes already handled by #inspect
2022-09-06 14:42:03 +02:00
Max Eisner
7380f58173
extend tests
2022-09-06 14:42:03 +02:00
Max Eisner
ea4fb0fe09
update command comparison to *commands
vararg
2022-09-06 14:42:03 +02:00
Max Eisner
3db65e7ee5
move tests to own specs file
2022-09-06 14:42:02 +02:00
Max Eisner
3fec64f386
skip offenses for heredoc scripts and calls with custom env
...
needed for e.g. àwscli`, `hatch`, `pipenv`
2022-09-06 14:42:02 +02:00
Max Eisner
02c9cc0720
add check if executable and subcmd are the same before combining
...
e.g. ˚jrsonnet˚ needs this
2022-09-06 14:42:01 +02:00
Max Eisner
cf84800939
fix style
2022-09-06 14:42:01 +02:00
Max Eisner
4e286ee36d
fix test
2022-09-06 14:42:01 +02:00
Max Eisner
45d1c70559
add test
2022-09-06 14:42:01 +02:00
Max Eisner
5b3f5dcbf2
fix whitespace removal, fix string concatenation
2022-09-06 14:42:01 +02:00
Max Eisner
8282b15a2a
simplify and unify node handling
2022-09-06 14:42:01 +02:00
Max Eisner
e18432089b
fix typecheck
2022-09-06 14:42:00 +02:00
Max Eisner
ab6a4d757a
fix dangling enclosed comma
2022-09-06 14:42:00 +02:00
Max Eisner
a175d6b7a1
fix style
2022-09-06 14:42:00 +02:00
Max Eisner
a56feff5d0
adapt to executable and subcmd being mandatory
2022-09-06 14:42:00 +02:00
Max Eisner
60db35096f
simplify and comment dangling comma handling
2022-09-06 14:42:00 +02:00
Max Eisner
ab09d15703
remove newlines left behind after correction
2022-09-06 14:42:00 +02:00
Max Eisner
de7ef64f61
use #inspect instead of wrapping symbols
2022-09-06 14:41:59 +02:00
Max Eisner
a002463362
#delete_suffix instead of #sub
2022-09-06 14:41:59 +02:00
Max Eisner
1b15d03634
remove always-true condition
2022-09-06 14:41:59 +02:00
Max Eisner
8398dfbae0
fix condition array substraction
2022-09-06 14:41:59 +02:00
Max Eisner
06518ec613
add RuboCop to combine multiple calls
2022-09-06 14:41:59 +02:00
Max Eisner
e4b67e84dd
fix shell parameter type
2022-09-06 14:41:59 +02:00
Max Eisner
d963a1ae2f
style
2022-09-06 14:41:59 +02:00
Max Eisner
2329844f50
refactor: naming
2022-09-06 14:41:58 +02:00
Max Eisner
50ae38a372
add :arg shell_parameter
2022-09-06 14:41:58 +02:00
Max Eisner
b901e5873d
do not use parantheses if no args given to method
2022-09-06 14:41:58 +02:00
Max Eisner
0509eebda4
fix: don't write binary param if base_name == binary/base_name
2022-09-06 14:41:58 +02:00