23950 Commits

Author SHA1 Message Date
Benjamin Bolton
632b96780f
Test for single-quote service wrapper 2021-09-01 11:54:38 -06:00
Benjamin Bolton
1532c081f2
Add space character in map (pacify brew style) 2021-09-01 11:46:57 -06:00
Benjamin Bolton
4acb9cf734
Wrap service command parameters in single quotes
Should resolve issues with multi-word arguments, eg:

> Or, if you don't want/need a background service you can just run:
  /opt/homebrew/opt/nginx/bin/nginx -g daemon off;

fails, but 

> Or, if you don't want/need a background service you can just run:
  '/opt/homebrew/opt/nginx/bin/nginx' '-g' 'daemon off;'

succeeds
2021-09-01 11:40:54 -06:00
Mike McQuaid
7c37a34cca
Merge pull request #11927 from FnControlOption/fetch
fetch: fix `--bottle-tag` when unbottled on host system
2021-09-01 16:08:05 +01:00
FnControlOption
7d0a36752b curl: echo any cookies received on a redirect 2021-09-01 06:32:30 -07:00
FnControlOption
03177b5906 upgrade: revert renaming of create_formula_installer 2021-09-01 05:48:12 -07:00
Mike McQuaid
364096b79e
Merge pull request #11938 from iMichka/domain
brew.sh: set HOMEBREW_FORCE_HOMEBREW_ON_LINUX when core repo is homeb…
2021-09-01 11:24:53 +01:00
Mike McQuaid
ffb4e5f519
Merge pull request #11947 from EricFromCanada/upgrade-dry-run
upgrade: list upgradeable dependencies on dry run
2021-09-01 11:24:22 +01:00
Michka Popoff
4ef058412c
brew.sh: set HOMEBREW_FORCE_HOMEBREW_CORE_REPO_ON_LINUX when core repo is homebrew-core
See https://github.com/Homebrew/install/pull/571

When the install script sets as https://github.com/Homebrew/homebrew-core,
we need to use the homebrew-core bottle domain, and correctly set
the HOMEBREW_CORE_DEFAULT_GIT_REMOTE below.

This also fixes the brew doctor issue for new homebrew-core Linux installations

Warning: Suspicious https://github.com/Homebrew/linuxbrew-core git origin remote found.
The current git origin is:
  https://github.com/Homebrew/homebrew-core

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
  git -C "/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/linuxbrew-core
2021-08-31 21:48:38 +02:00
BrewTestBot
dc2fd120ee
brew vendor-gems: commit updates. 2021-08-31 18:06:55 +00:00
dependabot[bot]
ac3a75266e
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9088 to 0.5.9090.
- [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-08-31 18:04:32 +00:00
EricFromCanada
c234d1ea03
upgrade: list upgradeable dependencies/migrations/cleanups on dry run 2021-08-31 12:27:14 -04:00
Mike McQuaid
d429780e3f
Merge pull request #11940 from FnControlOption/fetch-before-install
upgrade: fetch all formulae before installing
2021-08-31 16:54:28 +01:00
Mike McQuaid
3e1c8ea877
Apply suggestions from code review 2021-08-31 16:35:09 +01:00
FnControlOption
16594c5521 upgrade: fetch_formula_installer -> create_formula_installer 2021-08-31 07:08:24 -07:00
Nanda H Krishna
7d56615631
Merge pull request #11944 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9088
build(deps-dev): bump sorbet from 0.5.9084 to 0.5.9088 in /Library/Homebrew
2021-08-30 15:39:28 -05:00
BrewTestBot
4fc876fb23
Update RBI files for tapioca. 2021-08-30 18:09:34 +00:00
BrewTestBot
525137f37e
Update RBI files for sorbet. 2021-08-30 18:08:13 +00:00
BrewTestBot
9b454dfbfe
brew vendor-gems: commit updates. 2021-08-30 18:06:58 +00:00
BrewTestBot
5562b58840
brew vendor-gems: commit updates. 2021-08-30 18:06:01 +00:00
dependabot[bot]
b3c1add5a5
build(deps-dev): bump tapioca from 0.4.24 to 0.4.25 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.4.24 to 0.4.25.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.24...v0.4.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 18:03:45 +00:00
dependabot[bot]
a6ae8371e8
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9084 to 0.5.9088.
- [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-08-30 18:03:30 +00:00
Carlo Cabrera
3947d09e50
Merge pull request #11902 from chenrui333/improve-go-formulae-creation
create(go): add `-s -w` ldflags to reduce the artifact size
2021-08-30 23:37:41 +08:00
FnControlOption
f45c1146fc upgrade: fetch all formulae before installing 2021-08-30 08:17:28 -07:00
Carlo Cabrera
430bd71a56
Merge pull request #11931 from carlocab/cleanup-formulae
cleanup: allow users to specify formulae to skip cleaning
2021-08-30 23:09:08 +08:00
XuehaiPan
05c1c5895e Apply suggestions from code review 2021-08-30 22:37:07 +08:00
Mike McQuaid
5e0514a0dc
Merge pull request #11929 from Rylan12/rename-homebrew-json-core
Rename `HOMEBREW_JSON_CORE` to `HOMEBREW_INSTALL_FROM_API`
2021-08-30 14:19:17 +01:00
Bo Anderson
7e7bdca674
Merge pull request #11933 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9084
build(deps-dev): bump sorbet from 0.5.9076 to 0.5.9084 in /Library/Homebrew
2021-08-28 03:15:13 +01:00
BrewTestBot
eb18c6f7e2
Update RBI files for bootsnap. 2021-08-28 01:37:34 +00:00
BrewTestBot
3773551601
brew vendor-gems: commit updates. 2021-08-28 01:37:18 +00:00
BrewTestBot
47c1034f0b
brew vendor-gems: commit updates. 2021-08-28 01:35:24 +00:00
dependabot[bot]
1279154944
build(deps): bump bootsnap from 1.7.7 to 1.8.1 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.7 to 1.8.1.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.7.7...v1.8.1)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 01:33:04 +00:00
dependabot[bot]
ae2465d6e3
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9076 to 0.5.9084.
- [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-08-28 01:32:55 +00:00
BrewTestBot
92dd0229cb
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-08-28 00:11:28 +00:00
Xuehai Pan
27fb6506a0
Apply suggestions from code review
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-08-27 18:22:01 +08:00
Carlo Cabrera
a7133d2a8d
cleanup: allow users to specify formulae to skip cleaning
This allows users to set `HOMEBREW_NO_CLEANUP_FORMULAE` to a
comma-separated list of formulae that `brew` will refuse to clean with
`brew cleanup`.

We currently allow a less granular version of this with
`HOMEBREW_NO_INSTALL_CLEANUP`. All this changes is how much control
users have over what is and isn't cleaned.

Fixes #11924.
2021-08-27 18:21:19 +08:00
XuehaiPan
728efbdf2f Show warnings on brew shellenv if users modified env vars explicitly 2021-08-27 15:55:31 +08:00
Rylan Polster
5d536d66fc
Rename HOMEBREW_JSON_CORE to HOMEBREW_INSTALL_FROM_API 2021-08-27 00:24:15 -04:00
Rylan Polster
6da8630f4e
Merge pull request #11926 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.20.0
build(deps): bump rubocop from 1.19.1 to 1.20.0 in /Library/Homebrew
2021-08-27 00:11:24 -04:00
Rylan Polster
8690d661fd
Merge pull request #11859 from Rylan12/cask-json
Allow casks to be installed using the `cask-source` API
2021-08-26 23:58:51 -04:00
Rylan Polster
e08d5f113c
Make Homebrew::API::Versions#latest_cask_version tests macOS-only 2021-08-26 23:35:33 -04:00
Rylan Polster
d04beed361
style: exclude utils/gems.rb from Bundler/GemFilename cop 2021-08-26 23:29:47 -04:00
Rylan Polster
186c839525
Fix tests 2021-08-26 23:21:48 -04:00
Rylan Polster
3ba44225e0
Use updated cask versions API 2021-08-26 22:52:43 -04:00
FnControlOption
794510f4e0 cmd/cache: add --bottle-tag flag 2021-08-26 14:46:30 -07:00
FnControlOption
b9fc4e36f0 fetch: fix --bottle-tag when unbottled on host system 2021-08-26 14:44:53 -07:00
BrewTestBot
c56c7d91ba
Update RBI files for rubocop. 2021-08-26 18:07:57 +00:00
BrewTestBot
91b5351608
brew vendor-gems: commit updates. 2021-08-26 18:05:48 +00:00
BrewTestBot
d0804cb1d6
brew vendor-gems: commit updates. 2021-08-26 18:05:35 +00:00
dependabot[bot]
531ced5145
build(deps): bump rubocop from 1.19.1 to 1.20.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.19.1...v1.20.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 18:03:24 +00:00