34077 Commits

Author SHA1 Message Date
Mike McQuaid
775ac04192
Merge branch 'master' into ephemeral-skip 2022-11-29 10:38:24 +00:00
Mike McQuaid
8fa9f573d4
Merge branch 'master' into fix/nounset 2022-11-29 10:37:48 +00:00
Mike McQuaid
0675128dac
Merge branch 'master' into patch-1 2022-11-29 10:37:41 +00:00
Mike McQuaid
cccd5894d3
Merge branch 'master' into add-github-output 2022-11-29 10:37:33 +00:00
Mike McQuaid
d98de7438a
Merge pull request #14185 from MikeMcQuaid/remove_some_diagnostics
diagnostic: remove some checks.
2022-11-29 10:08:50 +00:00
Magnus Markling
e9cc25f5ef
Update README.md
Remove `brew search` entirely as per suggestion.

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-11-29 10:29:49 +01:00
Mike McQuaid
49bacd681e
diagnostic: remove some checks.
- Some of these are currently failing globally on GitHub Actions.
- Some(/all?) of these predate our use of the macOS sandbox,
  environment filtering, PATH filtering and pushing users much harder to
  use bottles instead of building from source
- I haven't seen a case for a long time where any of these actually
  debugged a user issue. If/when this happens: we can add a given check
  back.
- This should allow us to dramatically reduce the amount of cleanup
  that `brew test-bot` needs to do on GitHub Actions.
2022-11-29 09:21:34 +00:00
Magnus Markling
195381226e
Update README.md 2022-11-29 08:02:36 +01:00
Kai Hoewelmeyer
3e0bb17780 please shellcheck 2022-11-28 19:54:30 +01:00
Kai Hoewelmeyer
a5b29a79e6 and another one 2022-11-28 19:36:03 +01:00
Kai Hoewelmeyer
43c3c59ca4 fix one more 2022-11-28 19:34:20 +01:00
Kai Hoewelmeyer
4d4f476f73 set -u and fix follow up errors 2022-11-28 19:31:28 +01:00
Shivam Mathur
27dd46d6a9 bin/brew: add GITHUB_OUTPUT 2022-11-27 09:06:56 +00:00
Kai Hoewelmeyer
5db5c6e99a fix: allow running bin/brew with SHELLOPTS=nounset
A similar fix is already present on line 6.
2022-11-26 17:41:36 +01:00
EricFromCanada
d9ef454528
CI: add docs.yml
With fixes for Markdown syntax to allow tests to pass.
2022-11-26 10:28:12 -05:00
Carlo Cabrera
2c1572c44c
workflows/doctor: skip unnecessary steps
Based on discussion from #14172.
2022-11-24 22:44:56 +08:00
Carlo Cabrera
9c88c39bae
Merge pull request #14172 from carlocab/doctor-runners
workflows/doctor: use ephemeral runners
2022-11-24 22:41:41 +08:00
Carlo Cabrera
239743f39b
Fix shellcheck error 2022-11-24 22:15:03 +08:00
Carlo Cabrera
cf01a7f985
brew.sh: remove HOMEBREW_CHANGE_ARCH_TO_ARM
We used to need this because the GitHub runner process was running under
Rosetta. GitHub Actions has supported native M1 runners for a few months
now, so I think it's time to remove this.
2022-11-24 22:07:30 +08:00
Carlo Cabrera
08e81aaf7a
Apply suggestions from code review
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-11-24 21:45:16 +08:00
Carlo Cabrera
2f28b28058
workflows/doctor: use ephemeral runners
This workflow hasn't been set up to run on our ephemeral runners. Let's
fix that.
2022-11-24 14:15:10 +08:00
apainintheneck
1db5d967c3 Ignore os.rb where checks are defined 2022-11-23 20:39:59 -08:00
apainintheneck
9c2293a08e Move Sandbox check to extend/os 2022-11-23 20:39:59 -08:00
apainintheneck
65bce0ed3c Move unpack_strategy/zip check to extend/os 2022-11-23 20:39:59 -08:00
apainintheneck
260fc858df Fix rubocop errors 2022-11-23 20:39:39 -08:00
apainintheneck
d69326c8d0 Move ::Cleanup check to extend/os 2022-11-23 20:38:40 -08:00
Mike McQuaid
4abca3fa1f
Merge pull request #14169 from Homebrew/dependabot/bundler/Library/Homebrew/rack-3.0.1
build(deps): bump rack from 3.0.0 to 3.0.1 in /Library/Homebrew
2022-11-22 09:13:00 +00:00
Mike McQuaid
fac7b05082
Merge pull request #14168 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.17.3
build(deps): bump rubocop-rails from 2.17.2 to 2.17.3 in /Library/Homebrew
2022-11-22 09:12:46 +00:00
BrewTestBot
5ad0cd406a
Update RBI files for rack.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-11-21 18:19:32 +00:00
BrewTestBot
6e215ecaba
Update RBI files for rubocop-rails.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-11-21 18:14:15 +00:00
BrewTestBot
7d3a9d2e8e
brew vendor-gems: commit updates. 2022-11-21 18:11:24 +00:00
BrewTestBot
e1bf39a180
brew vendor-gems: commit updates. 2022-11-21 18:09:07 +00:00
dependabot[bot]
400ecadbc9
build(deps): bump rack from 3.0.0 to 3.0.1 in /Library/Homebrew
Bumps [rack](https://github.com/rack/rack) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/3.0.0...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 18:05:40 +00:00
dependabot[bot]
fd1ebc4e89
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.17.2 to 2.17.3.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.17.2...v2.17.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 18:05:14 +00:00
Mike McQuaid
840f49a425
Merge pull request #14165 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2022-11-21 15:04:00 +00:00
Issy Long
38a1bf337f
Merge pull request #14162 from issyl0/rubocop-cleanup
rubocop_todo: Clean up deleted paths & excludes without offenses
2022-11-21 14:48:08 +00:00
Mike McQuaid
9637c0fbcc
Merge pull request #14164 from ThatsJustCheesy/brew-casks-root-formulae
Prevent `brew casks` from finding formulae at tap root
2022-11-21 14:31:24 +00:00
BrewTestBot
59f372a776
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2022-11-21 14:31:02 +00:00
Mike McQuaid
dc58f963df
Merge pull request #14161 from issyl0/prepend-not-append
dev-cmd/bump-{cask,formula}-pr: `args.message` is before the default
2022-11-21 14:29:46 +00:00
Ian Gregory
9013ca2a22 Prevent brew casks from finding formulae at tap root 2022-11-20 16:22:18 -05:00
apainintheneck
c7d53a2d9c Add cop to police os checks
The methods `OS.linux?` and `OS.mac?` should only be used
in `extend/os` and this cop makes sure of that.
2022-11-19 22:01:13 -08:00
Issy Long
5beebf2238
rubocop_todo: Clean up file paths that no longer exist 2022-11-20 00:00:20 +00:00
Issy Long
70553455b8
rubocop_todo: dependency.rb no longer has empty blocks 2022-11-20 00:00:15 +00:00
Issy Long
c37601f585
dev-cmd/bump-{cask,formula}-pr: args.message is before the default
- I was wondering why `brew bump` PRs have descriptions with both commands, like:

```
Created with `brew bump`.

---

Created by `brew bump-formula-pr`.
```

- Then I read the code and realised that "append" was the wrong word for the
  `--message` arg description.
2022-11-19 23:03:23 +00:00
Bo Anderson
759ab2d0bd
Merge pull request #14159 from Bo98/env-shebang
utils/gems: use env shebang when installing gems
3.6.12
2022-11-19 01:27:47 +00:00
Bo Anderson
81f262ece3
utils/gems: use env shebang when installing gems 2022-11-19 00:58:05 +00:00
Mike McQuaid
8b452d5e32
Merge pull request #14158 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.14.0
build(deps): bump bootsnap from 1.13.0 to 1.14.0 in /Library/Homebrew
2022-11-18 18:12:07 +00:00
BrewTestBot
75eb7c56f5
Update RBI files for bootsnap.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-11-18 17:38:01 +00:00
BrewTestBot
6fb0d1dbdf
brew vendor-gems: commit updates. 2022-11-18 17:31:29 +00:00
dependabot[bot]
01b572b331
build(deps): bump bootsnap from 1.13.0 to 1.14.0 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.13.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 17:24:22 +00:00