29882 Commits

Author SHA1 Message Date
Carlo Cabrera
1ffbcc04d4
rubocops/lines: allow OS.foo? in service blocks
These seem more natural, and I don't think we need to be able to mock
service blocks on other OSs.

See Homebrew/homebrew-core#90091.
2021-11-28 21:47:21 +08:00
Carlo Cabrera
4b36a0eee5
upgrade: don't upgrade unbottled dependents of upgraded formulae
We upgrade dependents of upgraded formulae to make sure that an upgrade
doesn't break anything. However, this reasoning applies only when a
dependent is bottled, since attempting a source build is just as likely
to break things, if not more.

I've opted not to restrict this to, say, users only on outdated versions
of macOS in order to cleanly handle other cases where this change should
also apply: Linux, or current versions of macOS in a non-default prefix.
2021-11-27 15:51:57 +08:00
Bo Anderson
4c3f325347
Merge pull request #12482 from Bo98/zero_ar_date
ENV/super: enable deterministic archive generation
2021-11-26 23:37:43 +00:00
Bo Anderson
976dc2d789
Merge pull request #12485 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.5.5
build(deps-dev): bump tapioca from 0.5.4 to 0.5.5 in /Library/Homebrew
2021-11-26 23:37:08 +00:00
BrewTestBot
01cb606410
Update RBI files for tapioca. 2021-11-26 18:14:13 +00:00
BrewTestBot
18d3070d92
brew vendor-gems: commit updates. 2021-11-26 18:09:57 +00:00
dependabot[bot]
3f8d235668
build(deps-dev): bump tapioca from 0.5.4 to 0.5.5 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.5.4...v0.5.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-26 18:03:37 +00:00
Mike McQuaid
e119bdc571
Merge pull request #12477 from MikeMcQuaid/env_hints
Output environment variable hints.
2021-11-26 13:46:27 +00:00
Bo Anderson
323a180d26
Update docs/Versions.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-11-26 13:30:28 +00:00
Mike McQuaid
6913c7c84e
Output environment variable hints.
Output hints for disabling automatic `brew update`, `brew cleanup` and
`brew upgrade`/`brew reinstall` of dependents. Also provide a
`HOMEBREW_NO_ENV_HINTS` to disable this messaging.
2021-11-26 13:14:10 +00:00
Bo Anderson
d47344b1e8
upgrade: skip dependent check on core versioned formulae 2021-11-26 13:05:50 +00:00
Bo Anderson
2b9784864d
docs/Versions: require ABI stability 2021-11-26 13:05:08 +00:00
Bo Anderson
6337dbfac9
ENV/super: enable deterministic archive generation 2021-11-26 13:04:33 +00:00
Mike McQuaid
6b893a7563
Merge pull request #12480 from Homebrew/dependabot/bundler/Library/Homebrew/simplecov-cobertura-2.0.0
build(deps): bump simplecov-cobertura from 1.4.2 to 2.0.0 in /Library/Homebrew
2021-11-26 12:51:02 +00:00
Mike McQuaid
1048415495
Merge pull request #12481 from carlocab/cleanup-faq
FAQ: document `HOMEBREW_NO_CLEANUP_FORMULAE`
2021-11-26 12:44:02 +00:00
Carlo Cabrera
bf3b12656d
FAQ: document HOMEBREW_NO_CLEANUP_FORMULAE 2021-11-26 18:11:35 +08:00
Bo Anderson
093b3a739b
workflows/tests: limit coverage file uploads 2021-11-25 21:50:51 +00:00
BrewTestBot
0c1389d97c
Update RBI files for simplecov-cobertura. 2021-11-25 21:49:20 +00:00
BrewTestBot
dd92818a78
brew vendor-gems: commit updates. 2021-11-25 21:45:40 +00:00
dependabot[bot]
9a222b7f00
build(deps): bump simplecov-cobertura in /Library/Homebrew
Bumps [simplecov-cobertura](https://github.com/dashingrocket/simplecov-cobertura) from 1.4.2 to 2.0.0.
- [Release notes](https://github.com/dashingrocket/simplecov-cobertura/releases)
- [Commits](https://github.com/dashingrocket/simplecov-cobertura/compare/v1.4.2...v2.0.0)

---
updated-dependencies:
- dependency-name: simplecov-cobertura
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 21:43:24 +00:00
Bo Anderson
16f96ff307
Merge pull request #12478 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.0.8
build(deps): bump rbi from 0.0.7 to 0.0.8 in /Library/Homebrew
2021-11-25 21:42:43 +00:00
BrewTestBot
c4b49c52af
Update RBI files for rbi. 2021-11-25 21:00:41 +00:00
BrewTestBot
1cb4f1765c
brew vendor-gems: commit updates. 2021-11-25 20:55:05 +00:00
dependabot[bot]
35b2cee1cc
build(deps): bump rbi from 0.0.7 to 0.0.8 in /Library/Homebrew
Bumps [rbi](https://github.com/Shopify/rbi) from 0.0.7 to 0.0.8.
- [Release notes](https://github.com/Shopify/rbi/releases)
- [Commits](https://github.com/Shopify/rbi/compare/v0.0.7...v0.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 20:51:21 +00:00
Bo Anderson
88fd76d8a6
Merge pull request #12479 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.0.3.0
build(deps): bump parser from 3.0.2.0 to 3.0.3.0 in /Library/Homebrew
2021-11-25 20:50:40 +00:00
BrewTestBot
9f9cd757a1
Update RBI files for parser. 2021-11-25 18:15:27 +00:00
BrewTestBot
ad74bc7b4f
brew vendor-gems: commit updates. 2021-11-25 18:08:28 +00:00
dependabot[bot]
881b0b2181
build(deps): bump parser from 3.0.2.0 to 3.0.3.0 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.0.2.0 to 3.0.3.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.0.2.0...v3.0.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 18:03:42 +00:00
Mike McQuaid
778de69b08
Merge pull request #12413 from MikeMcQuaid/improve_env_discovery
Improve documentation of some environment variables
2021-11-25 09:42:18 +00:00
Mike McQuaid
11c5f8f05a
Improve discovery of some environment variables
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:

- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependents
- automatically reinstalling broken dependents

For each of these: let's improve the documentation of the commands
whose behaviour is changed and the environment variables themselves.
2021-11-25 09:10:59 +00:00
Mike McQuaid
49e232429e
Merge pull request #12475 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-11-25 08:24:12 +00:00
Mike McQuaid
91a502c4e0
Merge pull request #12471 from FnControlOption/migrate
Print given argument instead of rename if matching keg not found
2021-11-25 08:23:07 +00:00
Mike McQuaid
be36f70e37
Merge pull request #12474 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.9.3
build(deps): bump bootsnap from 1.9.1 to 1.9.3 in /Library/Homebrew
2021-11-25 08:22:39 +00:00
BrewTestBot
5052f3b113
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-11-25 00:06:49 +00:00
fn ⌃ ⌥
9b611be759 Print given argument instead of rename if matching keg not found 2021-11-24 11:39:52 -08:00
BrewTestBot
7ab4226488
Update RBI files for bootsnap. 2021-11-24 18:13:53 +00:00
BrewTestBot
b8fcd39095
brew vendor-gems: commit updates. 2021-11-24 18:09:44 +00:00
dependabot[bot]
c8ec1cd883
build(deps): bump bootsnap from 1.9.1 to 1.9.3 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.9.1 to 1.9.3.
- [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.9.1...v1.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 18:03:24 +00:00
Mike McQuaid
3ab140e397
Merge pull request #12470 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9368
build(deps-dev): bump sorbet from 0.5.9363 to 0.5.9368 in /Library/Homebrew
2021-11-24 08:44:27 +00:00
BrewTestBot
fb6f5e4122
brew vendor-gems: commit updates. 2021-11-23 18:09:30 +00:00
dependabot[bot]
200bcf9f76
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9363 to 0.5.9368.
- [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-11-23 18:05:11 +00:00
Mike McQuaid
7c4247eec9
Merge pull request #12469 from XuehaiPan/ensure-installed
utils: add method `ensure_formula_installed!`
2021-11-23 17:33:37 +00:00
Xuehai Pan
62a63063bb Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Signed-off-by: XuehaiPan <XuehaiPan@pku.edu.cn>
2021-11-24 01:06:27 +08:00
XuehaiPan
d1aac8857a tests/utils/git_spec: update tests for ensure_formula_installed! 2021-11-24 00:30:26 +08:00
XuehaiPan
9ef52080e3 utils: extract common word "for" in reason 2021-11-23 23:59:09 +08:00
XuehaiPan
466f29a16a cmd/update-report: redirect stdout to stderr when it is not a TTY 2021-11-23 23:55:06 +08:00
XuehaiPan
c0826f1890 utils: add method ensure_executable! 2021-11-23 23:32:32 +08:00
XuehaiPan
d749173adc utils: mark reason as keyword argument in ensure_formula_installed! 2021-11-23 23:31:22 +08:00
XuehaiPan
7baaebe544 utils: send output to stderr by default for ensure_formula_installed! 2021-11-23 23:09:42 +08:00
XuehaiPan
3376479e95 utils: add method ensure_formula_installed! 2021-11-23 22:48:39 +08:00