29185 Commits

Author SHA1 Message Date
Carlo Cabrera
50df7fab28
determine-test-runners: add debug output
The extra timeout on Intel Big Sur doesn't seem to be set, so I'm adding
this so I can have a closer look.
2023-04-29 11:03:27 +08:00
Markus Reiter
af1961d509
Fix type for nested url blocks. 2023-04-29 03:33:59 +02:00
BrewTestBot
811d755e7f
Update RBI files for zeitwerk.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-28 19:06:59 +00:00
BrewTestBot
f47fc81dd9
brew vendor-gems: commit updates. 2023-04-28 19:02:30 +00:00
dependabot[bot]
2e947b9c35
build(deps): bump zeitwerk from 2.6.7 to 2.6.8 in /Library/Homebrew
Bumps [zeitwerk](https://github.com/fxn/zeitwerk) from 2.6.7 to 2.6.8.
- [Release notes](https://github.com/fxn/zeitwerk/releases)
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fxn/zeitwerk/compare/v2.6.7...v2.6.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 18:59:56 +00:00
Ilya Kulakov
6a4322833f sudo: Fix tests. 2023-04-28 11:22:54 -07:00
Ilya Kulakov
476d97934f sudo: change sudo_user to sudo_as_root. 2023-04-28 11:22:54 -07:00
Ilya Kulakov
d470661b37 sudo: add the sudo_user arg to SystemCommand. 2023-04-28 11:11:53 -07:00
Ilya Kulakov
563387a7b4 sudo: explicitly specify the root user where necessary
With sudoers one may override default sudo user. This mostly works
provided the admin configured the replacement appropriately. However
there are exceptions that absolutely must be run by root such as
/usr/sbin/installer and, under certain circumstances, /bin/launchctl.
2023-04-28 11:11:53 -07:00
Ilya Kulakov
a63ccfa8ff download_strategy: Fix the timeout value. 2023-04-28 10:11:24 -07:00
Bo Anderson
44f058edb5
Refactor formula, cask and Ruby source downloads to use shared code 2023-04-27 23:23:07 +01:00
BrewTestBot
45308ed3eb
Update RBI files for i18n.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-27 16:41:43 +00:00
BrewTestBot
a8f023f8bb
brew vendor-gems: commit updates. 2023-04-27 16:37:05 +00:00
dependabot[bot]
7945f0c123
build(deps): bump i18n from 1.12.0 to 1.13.0 in /Library/Homebrew
Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/ruby-i18n/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-i18n/i18n/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: i18n
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 16:34:24 +00:00
William Woodruff
ea6423094b
pypi: normalize name in pypi_info
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-27 10:14:17 -06:00
JBYoshi
84fe93e5d7
Remove successor behavior for zapping. 2023-04-27 10:40:45 -05:00
Mike McQuaid
f543b6f53e
Merge pull request #15323 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-04-27 16:30:59 +01:00
Douglas Eichelberger
6bc94abadc Remove delegation of ReporterHub#empty? 2023-04-27 08:13:51 -07:00
Mike McQuaid
9d5b017bb9
Merge pull request #15322 from carlocab/rm-linux-cleanup
github_runner_matrix: remove `HOMEBREW_LINUX_CLEANUP`
2023-04-27 12:28:45 +01:00
BrewTestBot
93f8627a58
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-04-27 11:14:15 +00:00
Carlo Cabrera
ff728da97b
github_runner_matrix: remove HOMEBREW_LINUX_CLEANUP
This will allow us to remove handling of this in our workflow files in
Homebrew/core.
2023-04-27 16:45:51 +08:00
Mike McQuaid
b2aa6fb74f
Merge pull request #15320 from Bo98/api-oldnames
Support multiple oldnames for formulae & support formula renames in API
2023-04-27 08:36:16 +01:00
Mike McQuaid
5fccd4ef34
Merge pull request #15318 from razvanazamfirei/modify-bump-logic
`brew bump`: modify versioning logic
2023-04-27 08:30:33 +01:00
Mike McQuaid
4f1830631a
Merge pull request #15312 from issyl0/rubocop-enabled-by-default
rubocop: Set `EnabledByDefault: true`, disabling cops with offenses
2023-04-27 08:29:17 +01:00
Bo Anderson
5510c3fb2b
Support formula renames in API 2023-04-27 05:15:45 +01:00
Bo Anderson
a696bd8203
Support multiple oldnames for formulae 2023-04-27 05:15:43 +01:00
Carlo Cabrera
b339d9f8be
github_runner_matrix: cleanup GitHub macOS runner
These come with some pre-installed software that we probably want to
clean up first.
2023-04-27 09:59:22 +08:00
Razvan Azamfirei
33ddc2d818
modify bump logic 2023-04-26 19:53:10 -04:00
Mike McQuaid
6b33197d54
Merge pull request #15313 from carlocab/deps-build-on-github
github_runner_matrix: test dependents on GitHub runners
2023-04-27 00:34:54 +01:00
Carlo Cabrera
3bfe3e3037
github_runner_matrix: fix tests 2023-04-27 07:20:58 +08:00
Issy Long
0ea46b884b
Fix Rails cop enablement now EnabledByDefault is set
- These were `Enabled: false` for the whole group of Rails cops, so my
  removing the `Enabled: true` cops (what I thought was "redundant"
  config in the previous commit) meant the specific ones we wanted to
  use weren't enabled at all.
- Instead, let's reverse that by unsetting `Enabled: false` for the
  whole group, and then disabling the specific cops with offenses that
  we haven't got around to deciding if we care about yet.
2023-04-26 23:06:26 +01:00
Issy Long
d695c8a311
rubocop: Remove redundant Enabled: true config
- This is done by `EnabledByDefault: true` in the `AllCops` section.
2023-04-26 23:05:07 +01:00
Issy Long
6527fc2785
rubocop: Set EnabledByDefault: true, disabling cops with offenses
- `EnabledByDefault` is a feature of RuboCop that enables all cops even
  those marked `Enabled: false` in core RuboCop.
- I went through and disabled all the cops with offenses from this
  config change. This way we can do a piecemeal approach to enabling
  cops with offenses, while getting the benefits of the new cops with
  no offenses.
- It is intentional that `brew style` comes back green here and there
  are no code style fixes.
2023-04-26 23:02:39 +01:00
Douglas Eichelberger
1df469b348 Enable strict typing 2023-04-26 09:27:00 -07:00
Douglas Eichelberger
65a4d9f627 Fix visibility modifiers 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
a69fc11459 Hoist public method 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
7229d03133 Switch from module_function to eigenclass 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
8f97dea167 Remove other activesupport use 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
03ee70b1ae Remove kernel/reporting extension 2023-04-26 09:16:55 -07:00
Mike McQuaid
512d7c9613
Merge pull request #15311 from dduugg/prune-activesupport
Remove unused parts of activesupport
2023-04-26 12:32:32 +01:00
Markus Reiter
9f21d378cd
Merge pull request #15310 from EricFromCanada/bump-cask-url-string
bump-cask-pr: convert URL back to string
2023-04-26 13:14:43 +02:00
Carlo Cabrera
947a37d794
github_runner_matrix: test dependents on GitHub runners
This makes our dependent tests run on a GitHub macOS runner if
compatible with the requested timeout.

This will also allow builds on a GitHub runner on macOS if requested
with the environment variable `HOMEBREW_MACOS_BUILD_ON_GITHUB_RUNNER`.
This environment variable will need to be set in the workflow as
appropriate (e.g. when requested by a label).
2023-04-26 11:51:40 +08:00
Douglas Eichelberger
e16f4ef1c2 Ignore unused transitive dependencies: tzinfo & zeitwerk 2023-04-25 16:46:33 -07:00
Eric Knibbe
5f6b626880
bump-cask-pr: convert URL back to string 2023-04-25 18:11:36 -04:00
JBYoshi
a1571702d3
Merge remote-tracking branch 'origin/master' into cask-move-contents 2023-04-25 15:44:29 -05:00
Douglas Eichelberger
8539607a89 Organize activesupport requires 2023-04-25 11:02:31 -07:00
Douglas Eichelberger
6935b84584 Remove unused parts of activesupport 2023-04-25 11:01:59 -07:00
Douglas Eichelberger
bf8ac8a7b8 Simplify config 2023-04-25 09:26:24 -07:00
Douglas Eichelberger
89eb891891 Disable false positive 2023-04-25 09:26:24 -07:00
Douglas Eichelberger
08af78a2a5 brew style --fix 2023-04-25 09:26:24 -07:00