28762 Commits

Author SHA1 Message Date
valrus
698f4a8f69 Add process_type to service DSL
This enables mpd to be run with the "Interactive" value, which avoids
performance issues such as skipping when playing music. See this PR,
where this was done previously:
https://github.com/Homebrew/homebrew-core/pull/19410

The ProcessType plist key was lost in the conversion to the service DSL:
483ad1fdfa
2021-09-09 17:37:49 -07:00
Mike McQuaid
40a7a01196
Merge pull request #12004 from FnControlOption/upgrade-fix
install, upgrade: recompute dependencies before installation
2021-09-08 17:40:15 +01:00
fn ⌃ ⌥
06041f7228 install, upgrade: recompute dependencies before installation 2021-09-08 08:48:21 -07:00
Mike McQuaid
b047358d72
Merge pull request #12000 from MikeMcQuaid/on_os_cop_comments
rubocops/lines: add some OS cop comments/exceptions.
2021-09-08 14:09:34 +01:00
Mike McQuaid
ebc4cce456
rubocops/lines: add some OS cop comments/exceptions.
Exclude and comment the cases the autocorrect currently doesn't work.

Follow-up from #11955.
2021-09-08 13:46:01 +01:00
Mike McQuaid
56c413200c
Merge pull request #11955 from Homebrew/on_os_if_rubocops
rubocops/lines: recommend on_os/OS.os? based on context.
2021-09-08 13:43:03 +01:00
Mike McQuaid
48eda962a2
Merge pull request #11999 from Bo98/relnotes-exclude
Exclude bot commits from new release notes
2021-09-08 13:40:13 +01:00
Mike McQuaid
d42c81a507
Merge pull request #11987 from MikeMcQuaid/shims_path_helper
ENV/super: add `shims_path` helper method.
2021-09-08 13:39:30 +01:00
Mike McQuaid
a6e4e195c1
rubocops/lines: recommend on_os/OS.os? based on context.
Recommend the use of `on_macos` and `on_linux` unless we're in
`def install`, `def post_install` or `test do` in which case recommend
`OS.mac?` and `OS.linux?` instead.
2021-09-08 13:18:07 +01:00
Mike McQuaid
33a930ba5a
Merge pull request #11997 from kurtraschke/patch-1
Replace two calls to undefined silent_command! in FossilDownloadStrategy with command!
2021-09-08 13:02:46 +01:00
Mike McQuaid
4b68787740
Merge pull request #11990 from sullivan-sean/sandbox-pty-fix
Restore original TTY state after Sandbox
2021-09-08 12:57:21 +01:00
Bo Anderson
c80bcc3f3d
Exclude bot commmits from new release notes 2021-09-08 12:40:47 +01:00
Mike McQuaid
2b6e580636
ENV/super: add shims_path helper method.
This allows us to stop repeatedly hardcoding this on macOS/Linux in
formulae.
2021-09-08 12:35:36 +01:00
Kurt Raschke
f05f3ad345
Replace two calls to undefined silent_command! in FossilDownloadStrategy with command!
`FossilDownloadStrategy` attempts to call `silent_command!` in two places; this does not exist.
2021-09-08 00:09:31 -04:00
Sean Sullivan
c0de9c5497 Comment more thoroughly 2021-09-07 19:49:01 -07:00
Carlo Cabrera
5c602003f2
Merge pull request #11930 from XuehaiPan/master
Show all export statements on `brew shellenv` if users modified `PATH` explicitly
2021-09-08 10:22:50 +08:00
Rylan Polster
fd02cfe65c
Merge pull request #11996 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2021-09-07 20:33:38 -04:00
BrewTestBot
669d7fd79d
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-09-08 00:11:45 +00:00
Sam Ford
c4a91cdc95
Merge pull request #11972 from samford/fix-curl_args_options
Curl: Fix #curl_args options
2021-09-07 15:27:25 -04:00
Jonathan Chang
87f7db3b7d
Merge pull request #11994 from jonchang/openssl3
rubocops: allow uses_from_macos `openssl@3`
2021-09-07 11:52:34 -07:00
Mike McQuaid
f5a4214a70
Merge pull request #11956 from benpbolton/patch-1
Wrap mac 'brew info' multi-word service command parameters in single quotes
2021-09-07 19:43:06 +01:00
Nanda H Krishna
90bf48f19e
Merge pull request #11992 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9105
build(deps-dev): bump sorbet from 0.5.9104 to 0.5.9105 in /Library/Homebrew
2021-09-07 14:34:41 -04:00
Jonathan Chang
d85559876e
tests: skip formulae exist check for openssl* 2021-09-07 11:33:27 -07:00
Jonathan Chang
b463ad0124
rubocops: allow uses_from_macos openssl@3 2021-09-07 11:20:55 -07:00
Sean Sullivan
1f0f08c30d Remove redundant begin 2021-09-07 11:15:06 -07:00
Sam Ford
f88966a8a5
Use curl options where appropriate 2021-09-07 14:13:19 -04:00
Sam Ford
d44979fa67
Curl#curl_args: Fix and refactor options 2021-09-07 14:13:17 -04:00
BrewTestBot
75e1e4c05b
brew vendor-gems: commit updates. 2021-09-07 18:05:46 +00:00
dependabot[bot]
abe46f61db
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9104 to 0.5.9105.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 18:03:21 +00:00
Sean Sullivan
c7b36df879 Fix style 2021-09-07 10:09:47 -07:00
Benjamin Bolton
dce6b77ad0
Modify syntax for readability / consistency
leverage map block and guard clause for readability thx @MikeMcQuaid
2021-09-07 10:10:26 -06:00
Benjamin Bolton
a83877660b
Revert "Accept @Rylan12 chained spacing conventions"
This reverts commit 538a5d9e698763e3dc6eeae46535f032a5ff316e.
2021-09-07 07:24:58 -06:00
Benjamin Bolton
538a5d9e69
Accept @Rylan12 chained spacing conventions
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-09-07 07:16:06 -06:00
Mike McQuaid
b253b304d9
Merge pull request #11939 from hyuraku/add_shellcheck-disable
require latest shellcheck version
2021-09-07 13:04:18 +01:00
hyuraku
fcdeaf7eca chnage condition for shellcheck 2021-09-07 20:47:48 +09:00
Mike McQuaid
8bac9850f6
Merge pull request #11920 from cho-m/gitlab-released-at-keep-time
audit: gitlab prerelease check keep time/zone
2021-09-07 10:34:34 +01:00
Sean Sullivan
c88f4c0645 Use raw block to return tty to proper state 2021-09-06 22:27:43 -07:00
Sam Ford
84f4fbf3cf
Merge pull request #11973 from samford/livecheck/improve-curl-error-message-handling
Strategy: Improve curl error message finding
3.2.11
2021-09-07 00:36:17 -04:00
Sam Ford
6b66ec9e62
Strategy: Improve curl error message finding
The existing regex wasn't able to match errors like:
  curl: option --something: is unknown

Additionally, the existing approach wouldn't capture multi-line
errors, whereas this captures all the `curl:` lines from `stderr`.
2021-09-07 00:15:08 -04:00
Nanda H Krishna
f0dbd8d9a5
Merge pull request #11981 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.4.26
build(deps-dev): bump tapioca from 0.4.25 to 0.4.26 in /Library/Homebrew
2021-09-06 15:30:38 -04:00
Nanda H Krishna
0cc807d238
Merge pull request #11980 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9104
build(deps-dev): bump sorbet from 0.5.9102 to 0.5.9104 in /Library/Homebrew
2021-09-06 15:30:17 -04:00
Nanda H Krishna
621b331177
Merge pull request #11979 from Homebrew/dependabot/bundler/docs/ffi-1.15.4
build(deps): bump ffi from 1.15.3 to 1.15.4 in /docs
2021-09-06 15:30:00 -04:00
BrewTestBot
bc4abc1fa9
Update RBI files for tapioca. 2021-09-06 18:11:29 +00:00
BrewTestBot
c37336ad1c
brew vendor-gems: commit updates. 2021-09-06 18:09:15 +00:00
BrewTestBot
1a2884f2d4
brew vendor-gems: commit updates. 2021-09-06 18:06:40 +00:00
dependabot[bot]
396dcd00a7
build(deps-dev): bump tapioca from 0.4.25 to 0.4.26 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.25...v0.4.26)

---
updated-dependencies:
- dependency-name: tapioca
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 18:03:23 +00:00
dependabot[bot]
fa02277190
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9102 to 0.5.9104.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 18:03:12 +00:00
dependabot[bot]
5431dddd70
build(deps): bump ffi from 1.15.3 to 1.15.4 in /docs
Bumps [ffi](https://github.com/ffi/ffi) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/ffi/ffi/releases)
- [Changelog](https://github.com/ffi/ffi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ffi/ffi/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: ffi
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 18:02:23 +00:00
Mike McQuaid
faa56d2118
Merge pull request #11966 from FnControlOption/caveats
messages: record cask installations
2021-09-06 12:33:37 +01:00
Carlo Cabrera
be96bfdfb7
Merge pull request #11975 from Freed-Wu/issue11974 2021-09-06 06:43:14 +08:00