38364 Commits

Author SHA1 Message Date
BrewTestBot
7db1103408 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.
2024-01-31 22:17:10 -08:00
Bo Anderson
190563cf92
Merge pull request #16566 from dduugg/fix-update-sponsors
Add SystemCommand::Mixin to all commands using system_command
2024-02-01 04:28:00 +00:00
Douglas Eichelberger
8156c5d140 Audit remaining commands 2024-01-31 20:02:33 -08:00
Douglas Eichelberger
07eb24d220 Add missing SystemCommand::Mixin to update-sponsors 2024-01-31 19:55:13 -08:00
Colin Dean
f3606d8018
Point corporate donors toward our OC contact form
A corporate donor recently wasn't able to find a clear way to contact a Homebrew person to talk about a possible donation. They eventually found the OC contact us page, which is the best way to contact the PLC short without having a GitHub account and posting on an issue or Discussions.

Let's highlight the donations questions contact form specifically in this area that is the landing target for the donations link on https://brew.sh.
2024-01-31 21:15:13 -05:00
Bo Anderson
f5068ab317
Merge pull request #16558 from dduugg/mechanize-fixes
Fix mechanize vendoring; add RBI defs
2024-02-01 01:25:12 +00:00
Bo Anderson
b93c48e6b5
Merge pull request #16562 from dduugg/fix-tests
Add missing SystemCommand::Mixin to fix CI
2024-02-01 01:24:44 +00:00
Douglas Eichelberger
583852cb0a Add missing SystemCommand::Mixin to fix CI 2024-01-31 14:55:04 -08:00
Douglas Eichelberger
b33373adb5
Merge pull request #16540 from dduugg/systemcommand-scope
Require SystemCommand only where needed
2024-01-31 14:37:37 -08:00
Douglas Eichelberger
eb7c3e52a0 Require SystemInclude only where needed 2024-01-31 11:42:01 -08:00
Patrick Linnane
34ff69674b
Merge pull request #16560 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.0.0
build(deps): bump codecov/codecov-action from 3.1.6 to 4.0.0
2024-01-31 11:13:28 -08:00
dependabot[bot]
2bf36b4b54
build(deps): bump codecov/codecov-action from 3.1.6 to 4.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.6 to 4.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](ab904c41d6...f30e4959ba)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 18:56:56 +00:00
Patrick Linnane
7bfe6bd6b6
Merge pull request #16559 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-and-sorbet-runtime-0.5.11222
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-01-31 10:45:57 -08:00
BrewTestBot
6e843900bd
brew vendor-gems: commit updates. 2024-01-31 18:13:29 +00:00
dependabot[bot]
4e5fc54b5f
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-static-and-runtime` from 0.5.11221 to 0.5.11222
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11221 to 0.5.11222
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 18:10:17 +00:00
Douglas Eichelberger
8b826cc765 Add rbi to replace hidden def 2024-01-31 09:41:49 -08:00
Douglas Eichelberger
004ef6ae87 brew vendor-gems: commit updates. 2024-01-31 09:41:49 -08:00
Douglas Eichelberger
b94b584417 Clear mechanize versions before install 2024-01-31 09:41:49 -08:00
Mike McQuaid
56c3ac8b70
Merge pull request #16553 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.18.3
build(deps-dev): bump bootsnap from 1.17.1 to 1.18.3 in /Library/Homebrew
2024-01-31 16:14:57 +00:00
BrewTestBot
e7ccb5d881
Update RBI files for bootsnap.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-01-31 16:01:59 +00:00
BrewTestBot
9a86f7df70
brew vendor-gems: commit updates. 2024-01-31 15:54:07 +00:00
dependabot[bot]
b3f958b148
build(deps-dev): bump bootsnap in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.17.1 to 1.18.3.
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.17.1...v1.18.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 15:50:48 +00:00
Mike McQuaid
3707c90ce1
Merge pull request #16439 from arianf/fix-non-ghcr
Fixes `openjdk_dep_name_if_applicable` when not using `CurlGitHubPackagesDownloadStrategy`
2024-01-31 11:43:28 +00:00
Patrick Linnane
bc056d2aa6
Merge pull request #16549 from Homebrew/dependabot/github_actions/codecov/codecov-action-3.1.6
build(deps): bump codecov/codecov-action from 3.1.5 to 3.1.6
2024-01-30 20:27:01 -08:00
dependabot[bot]
3c00f37a61
build(deps): bump codecov/codecov-action from 3.1.5 to 3.1.6
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](4fe8c5f003...ab904c41d6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 04:08:13 +00:00
Patrick Linnane
c4135522e6
Merge pull request #16548 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2024-01-30 20:07:16 -08:00
BrewTestBot
f04d1b0bd0
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-01-31 00:23:25 +00:00
Douglas Eichelberger
3a27cac7df
Merge pull request #16510 from dduugg/inverse-include-exclude-cop
Vendor remaining Rails cops, remove ActiveSupport
2024-01-30 11:59:10 -08:00
Patrick Linnane
a17f62e332
Merge pull request #16547 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11221
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-30 10:42:36 -08:00
BrewTestBot
6fa0f8552f
Update RBI files for sorbet-runtime-and-sorbet-static-and-runtime.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-01-30 18:29:21 +00:00
BrewTestBot
3557d3bc65
brew vendor-gems: commit updates. 2024-01-30 18:23:40 +00:00
dependabot[bot]
fcff197802
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11219 to 0.5.11221
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11219 to 0.5.11221
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 18:20:02 +00:00
Mike McQuaid
176095a826
utils/bottles: tweak syntax. 2024-01-30 17:15:13 +00:00
Mike McQuaid
022fa7995f
Merge pull request #16544 from dduugg/timer-util
Replace Time refinement with Timer Util
2024-01-30 17:11:56 +00:00
Douglas Eichelberger
e00d066d87 Replace Time refinement with Timer Util 2024-01-29 18:50:12 -08:00
Arian Faurtosh
9088cf9be0 Fixes openjdk_dep_name_if_applicable when not using CurlGitHubPackagesDownloadStrategy
When installing a formula, `FormulaInstaller` calls `#pour`, which in turn calls:

6f20c0300a/Library/Homebrew/formula_installer.rb (L1260)

This `tab` is expected to have `#runtime_dependencies`, and it typically will because most packages come from http://ghcr.io

6f20c0300a/Library/Homebrew/utils/bottles.rb (L111)

Any `DownloadStrategy` that does not match `CurlGitHubPackagesDownloadStrategy` will lead here:
6f20c0300a/Library/Homebrew/software_spec.rb (L463)

Causing this branch to be executed for creating the `tab`:
6f20c0300a/Library/Homebrew/utils/bottles.rb (L119)

This causes a slight issue because `openjdk_dep_name_if_applicable` calls `keg.runtime_dependencies` when it's still `nil`.

6f20c0300a/Library/Homebrew/keg_relocate.rb (L134-L140)

And if it's blank, it won't do the regex replacement on `@@HOMEBREW_JAVA@@`, resulting in the following error when running `Kafka`:

```console
$ tail -f /opt/homebrew/var/log/kafka/kafka_output.log
/opt/homebrew/Cellar/kafka/3.6.0/libexec/bin/kafka-run-class.sh: line 346: /opt/homebrew/@@HOMEBREW_JAVA@@/bin/java: No such file or directory
/opt/homebrew/Cellar/kafka/3.6.0/libexec/bin/kafka-run-class.sh: line 346: exec: /opt/homebrew/@@HOMEBREW_JAVA@@/bin/java: cannot execute: No such file or directory
```

As mentioned by: https://github.com/orgs/Homebrew/discussions/2530#discussioncomment-2002374

> Installing Java-dependent formulae from bottle mirrors doesn't work properly at the moment. The issue is that brew needs the manifest in order to correctly replace @@HOMEBREW_JAVA@@ but brew only knows how to fetch manifests from ghcr.io.
> Pull requests to fix this welcome.

This should fix this issue, by getting the `runtime_dependencies` directly from the formula for those cases that it can't get it from https://ghcr.io or tabfile

```ruby
f_runtime_deps = formula.runtime_dependencies(read_from_tab: false)
tab.runtime_dependencies = Tab.runtime_deps_hash(formula, f_runtime_deps)
```
2024-01-29 15:57:55 -08:00
Issy Long
3ee62bb244
Update example formula descriptions 2024-01-29 22:43:36 +00:00
Issy Long
3955a70a26
Delete easily outdated template docs for brew create 2024-01-29 22:39:12 +00:00
Mike McQuaid
2cb8efc51d
Merge pull request #16377 from razvanazamfirei/rubocop-uninstall-methods-order
rubocop: order uninstall/zap methods
2024-01-29 16:32:24 +00:00
Mike McQuaid
cfac516ee0
Merge pull request #16538 from dduugg/TopLevelMethodDefinition
Enable Style/TopLevelMethodDefinition
4.2.6
2024-01-28 16:06:34 +00:00
Razvan Azamfirei
82cdf27eb8
fixture/cask: fix style violations 2024-01-28 10:19:39 -05:00
Razvan Azamfirei
9aabe1ba91
rubocop: preserve comments when ordering uninstall methods 2024-01-28 07:08:48 -05:00
Razvan Azamfirei
7c540dd3c5
rubocop: add uninstall methods order tests
Co-authored-by: Bevan Kay <email@bevankay.me>
2024-01-28 07:08:47 -05:00
Razvan Azamfirei
db72295c20
rubocop: order uninstall methods 2024-01-28 07:08:47 -05:00
Issy Long
3f5ae06ab1
Allow a longer Layout/LineLength for just the bottle blocks 2024-01-27 12:32:46 +00:00
Issy Long
aaddc66548
Fix remaining RuboCop FormulaAudit offenses in example code 2024-01-27 12:30:00 +00:00
Kevin
8392f70620
Merge pull request #16539 from dduugg/fixed-fixmes
Remove some fixed FIXMEs
2024-01-26 21:14:58 -08:00
Douglas Eichelberger
bec27d44c6 Remove stray ActiveSupport references 2024-01-26 15:38:13 -08:00
Douglas Eichelberger
4b59101549 Resolve type errors 2024-01-26 15:04:00 -08:00
Douglas Eichelberger
8db86f712f brew typecheck --update-all 2024-01-26 15:04:00 -08:00