34967 Commits

Author SHA1 Message Date
Nanda H Krishna
f03e462995
xcode_requirement: improve outputs 2023-03-07 14:12:40 -05:00
Nanda H Krishna
56703a49ed
macos_requirement: fix version_specified?, improve outputs 2023-03-07 14:12:40 -05:00
Douglas Eichelberger
6cfab10e2b typecheck 2023-03-07 10:45:53 -08:00
Sean Molenaar
139f90df97
bump-formula-pr: add release notes if found 2023-03-07 19:44:35 +01:00
Douglas Eichelberger
7aab1c2a38 Remove ActiveSupport String inflections 2023-03-07 10:16:52 -08:00
Douglas Eichelberger
6ffda80a8a brew style 2023-03-07 10:14:57 -08:00
Douglas Eichelberger
544960b4fc Replace String#underscore with util 2023-03-07 10:13:38 -08:00
Mike McQuaid
bd309509da
Merge pull request #14916 from dduugg/refactor-searchable
Refactor searchable
2023-03-07 17:31:36 +00:00
Douglas Eichelberger
1f742727af Move tests 2023-03-07 09:08:54 -08:00
Douglas Eichelberger
23587b70a1 Port Descriptions 2023-03-07 09:08:54 -08:00
Douglas Eichelberger
1195772b02 Refactor Searchable into Homebrew::Search 2023-03-07 09:08:54 -08:00
Mike McQuaid
fdd7b04ccf
Merge pull request #14914 from dduugg/revert-splat-AbstractUninstall
Revert splat changes to AbstractUninstall
2023-03-07 15:35:10 +00:00
Douglas Eichelberger
900ee97f95 Revert splat changes to AbstractUninstall 2023-03-07 06:46:59 -08:00
Mike McQuaid
246b36cfb3
Merge pull request #14910 from issyl0/ubuntu-1804-actions-runners-brownout
ci: Move from Ubuntu 18.04 to Ubuntu 20.04 Actions runners
2023-03-07 14:25:42 +00:00
Issy Long
b95c549437
ci: Move to Ubuntu 20.04 Actions runners
- The 18.04 runners are deprecated and going away in less than a month.
  Today was another scheduled brownout from GitHub
  (https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/),
  and they've been unmarked as required checks in the branch protections
  because the images are unavailable and the jobs were failing.
- However, we still need to test that Homebrew works correctly on
  non-latest Ubuntu versions so that we can test that we're correctly
  using brewed gcc/glibc, hence upgrading to 20.04 which is still old.
2023-03-07 12:48:42 +00:00
Mike McQuaid
c94321191b
Merge pull request #14907 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.48.0
build(deps): bump rubocop from 1.47.0 to 1.48.0 in /Library/Homebrew
2023-03-07 11:52:56 +00:00
BrewTestBot
dfc2519912
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-07 10:58:56 +00:00
Mike McQuaid
b698cef945
brew style --fix (and a manual one) 2023-03-07 10:48:35 +00:00
BrewTestBot
fed0f7141e
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-07 10:48:31 +00:00
BrewTestBot
3c20406ff5
brew vendor-gems: commit updates. 2023-03-07 10:47:58 +00:00
dependabot[bot]
f9b7861efa
build(deps): bump rubocop from 1.47.0 to 1.48.0 in /Library/Homebrew
Dependabot couldn't find the original pull request head commit, 46c63f2b6eb241a7647e76db693fc91a88121c11.
2023-03-07 10:47:58 +00:00
Mike McQuaid
ad0d1a719f
Merge pull request #14908 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.19.0
build(deps): bump rubocop-rspec from 2.18.1 to 2.19.0 in /Library/Homebrew
2023-03-07 10:43:26 +00:00
Mike McQuaid
0209ba1cd0
Merge pull request #14879 from scpeters/max_open_files_message
lock_file: better message if too many open files
2023-03-07 09:30:21 +00:00
Mike McQuaid
2fe078d448
Merge pull request #14902 from g0t4/cat_mention_brew_info_github
when `brew cat` fails, suggest `brew info --github`
2023-03-07 09:29:06 +00:00
Mike McQuaid
a6b70eee69
Merge pull request #14896 from issyl0/sorbet-autogenerate-tty-rbi
sorbet: Autogenerate the RBI file for `utils/tty.rb`
2023-03-07 09:23:02 +00:00
Mike McQuaid
26eec1f6b3
Merge pull request #14911 from dduugg/cmd-types
Enable typing in cmd/
2023-03-07 09:19:25 +00:00
Mike McQuaid
742824228f
dev-cmd/cat_spec: remove unneeded test. 2023-03-07 09:10:04 +00:00
Mike McQuaid
f4e180c40b
brew style --fix 2023-03-07 08:57:57 +00:00
apainintheneck
9f7ab25af5 irb: improve pry config
The idea here is that the pry session history
should be separate for homebrew than the global
pry history.

We also ignore any .pryrc files so that they
don't interfere with this config.
2023-03-06 22:37:09 -08:00
apainintheneck
6ab6d7c8ee irb: save repl history
This enables history for `brew irb` sessions.
It saves that history to the repository directory.
2023-03-06 22:24:14 -08:00
BrewTestBot
8b9f89a64b
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-07 03:04:26 +00:00
BrewTestBot
8306ef980c
brew vendor-gems: commit updates. 2023-03-07 02:58:17 +00:00
Markus Reiter
9d5b0762fb
Merge pull request #14909 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-03-07 03:55:40 +01:00
Markus Reiter
715e34a069
Merge pull request #14905 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.18.0
build(deps): bump minitest from 5.17.0 to 5.18.0 in /Library/Homebrew
2023-03-07 03:54:41 +01:00
dependabot[bot]
bf5b683f9a
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.18.1...v2.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 02:54:05 +00:00
Steve Peters
116fd5928c lock_file: better message if too many open files
Recommend using `ulimit -n` to increase maximum
number of open files.
2023-03-06 17:17:48 -08:00
BrewTestBot
5dd48e6643
Update RBI files for minitest.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-07 00:53:25 +00:00
Nanda H Krishna
5cac33c2a9
Merge pull request #14906 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-progressbar-1.13.0
build(deps): bump ruby-progressbar from 1.12.0 to 1.13.0 in /Library/Homebrew
2023-03-06 19:50:47 -05:00
BrewTestBot
1514e99f4c
brew vendor-gems: commit updates. 2023-03-07 00:46:16 +00:00
dependabot[bot]
78c3a81476
build(deps): bump minitest from 5.17.0 to 5.18.0 in /Library/Homebrew
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/compare/v5.17.0...v5.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 00:42:07 +00:00
Douglas Eichelberger
54fad14ff3 Fix module_function errors 2023-03-06 15:11:10 -08:00
Douglas Eichelberger
1c44a8861d Fix type errors 2023-03-06 15:03:19 -08:00
Douglas Eichelberger
d56e2884aa Enable typing in cmd/ 2023-03-06 15:01:08 -08:00
Mike McQuaid
df1e1d6f07
Merge pull request #14903 from dduugg/fix-update-report
Fix "undefined local variable" error in update-report
2023-03-06 21:55:41 +00:00
BrewTestBot
367ed77046
Update RBI files for ruby-progressbar.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-06 21:53:58 +00:00
BrewTestBot
a120f4dd80
brew vendor-gems: commit updates. 2023-03-06 21:47:33 +00:00
Issy Long
48802daf01
sorbet: Regenerate homegrown RBI files with brew typecheck --update
- I needed to add some more `require`s to the `tty.rb` generator script
  since it failed to recognise `env_config` and Sorbet's `T` setup if I
  ran it not via `brew ruby`, and I couldn't get `brew ruby` to work
  within `safe_system` in the `typecheck` dev-cmd.
2023-03-06 21:46:05 +00:00
Issy Long
1295904986
sorbet: Autogenerate the RBI file for utils/tty.rb
- Sort of. It's not via Parlour, because I read the docs and all it says
  about dynamically generating things is "of course it's better to do
  that", no examples. I tried my best, but Bo's work on `attr.rb` was
  mind-boggling.
- Instead, let's add a simple but functional generator script that I
  actually understand, as an alternative to maintaining these RBI files
  for dynamic methods manually, so that we can get rid of some use of
  `srb rbi hidden-definitions` since that's deprecated.
- TODO: Run this script as part of `brew typecheck --update` so it gets
  updated with all the other RBI files periodically.
- Follow up to PR 14651.
2023-03-06 21:46:04 +00:00
dependabot[bot]
d475072d19
build(deps): bump ruby-progressbar from 1.12.0 to 1.13.0 in /Library/Homebrew
Dependabot couldn't find the original pull request head commit, 2e9d4139c55ae471c340cc329631cd9117c9d20a.
2023-03-06 21:41:31 +00:00
Douglas Eichelberger
396954c3a8 Initialize lvars as empty arrays 2023-03-06 13:40:04 -08:00