29216 Commits

Author SHA1 Message Date
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
Douglas Eichelberger
cccbb5c705 Enable Style/InvertibleUnlessCondition cop 2023-04-25 09:26:24 -07:00
Bob Lail
8847719b68 Install cached bottles if curl --head fails
Fixes #15302

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-04-25 07:35:27 -07:00
Mike McQuaid
67c118009b
Merge pull request #15308 from ZhongRuoyu/workflows-macos-13
workflows: run on `macos-13`
2023-04-25 15:10:37 +01:00
Carlo Cabrera
e69e8e04c1
Merge pull request #15309 from carlocab/longer-big-sur-timeout
github_runner_matrix: set `timeout` on macOS
2023-04-25 17:52:51 +08:00
Carlo Cabrera
f3ff42f9c5
github_runner: fix test 2023-04-25 17:06:17 +08:00
Carlo Cabrera
0c21ad20cd
macos_runner_spec: fix test 2023-04-25 17:05:05 +08:00
Carlo Cabrera
1a86a91c1b
determine-test-runners: fix test 2023-04-25 16:42:02 +08:00
Carlo Cabrera
2568e5aec4
github_runner_matrix: fix test 2023-04-25 16:41:24 +08:00
Mike McQuaid
c343e545c0
Merge pull request #15307 from woodruffw-forks/die-pipgrip
utils/pypi: replace `pipgrip` with `pip`'s built in dependency resolution
2023-04-25 09:36:23 +01:00
Carlo Cabrera
1bcabbfa57
test_runner_formula: fix caching 2023-04-25 14:59:08 +08:00
Carlo Cabrera
97655276b2
github_runner_matrix: simplify 2023-04-25 14:54:44 +08:00
Carlo Cabrera
3baacbbc72
github_runner_matrix: set timeout on macOS
This will allow us to set a slightly longer timeout on Intel Big Sur,
which is useful because the Intel Big Sur runner often exceeds our short
time limit by itself.
2023-04-25 14:42:36 +08:00
Douglas Eichelberger
24cf6076e8 brew style --fix 2023-04-24 20:42:39 -07:00
Douglas Eichelberger
7224ff5f77 Include T::Sig in Module 2023-04-24 20:42:38 -07:00
Ruoyu Zhong
6eaa0b2940
dev-cmd/tap-new: run brew test-bot on macos-13 2023-04-25 11:24:00 +08:00
William Woodruff
62df91f09c
pypi: document normalization
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:52:35 -06:00
William Woodruff
1f671862d5
pypi: brew style --fix
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:29:05 -06:00
William Woodruff
12613ea2b0
pypi: unused arg
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:27:31 -06:00
Douglas Eichelberger
e1f01c26ca Enable Sorbet/RedundantExtendTSig 2023-04-24 19:13:14 -07:00