43894 Commits

Author SHA1 Message Date
dependabot[bot]
3bc228ecbf
build(deps): bump actions/upload-artifact in the artifacts group
Bumps the artifacts group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...4cec3d8aa0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: artifacts
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 18:45:05 +00:00
Douglas Eichelberger
49ee4d5720
Fix docs 2025-02-24 10:23:43 -08:00
Douglas Eichelberger
ca8759605c
Fix tests 2025-02-24 10:23:42 -08:00
Douglas Eichelberger
beeb0b8f6d
Reclaim some vertical real estate 2025-02-24 10:23:42 -08:00
Douglas Eichelberger
a81239ec2d
Enable strict typing in Formula 2025-02-24 10:23:42 -08:00
Douglas Eichelberger
62dc3876ab
Merge pull request #19361 from Homebrew/fix-formula-cookbook-url-fragments
docs: Fix broken RubyDoc URL fragments
2025-02-24 17:38:46 +00:00
Sam Ford
140d45f325
docs: Fix broken RubyDoc URL fragments
Some RubyDoc URL fragments in the Formula Cookbook documentation
include an equals sign (`%3D`) but the `id` attributes in the current
RubyDoc HTML don't include the equals sign, so the documentation CI
job is failing with errors like `External link
https://rubydoc.brew.sh/Formula#revision=-class_method failed:
https://rubydoc.brew.sh/Formula exists, but the hash
'revision=-class_method' does not`. This updates the URLs to remove
`%3D` accordingly.
2025-02-24 12:08:52 -05:00
Mike McQuaid
89d1d6b8f4
Merge pull request #19359 from Homebrew/no-attr_rw
refactor: inline use of attr_rw
4.4.22
2025-02-24 09:02:02 +00:00
Mike McQuaid
b9eff75108
Merge pull request #19351 from Homebrew/livecheck/refactor-livecheck_strategy_names
livecheck: refactor livecheck_strategy_names
2025-02-24 08:59:51 +00:00
Mike McQuaid
b4648182ca
Merge pull request #19352 from Homebrew/livecheck/restrict-post-hashes-to-symbol-keys
livecheck: restrict POST hashes to symbol keys
2025-02-24 08:57:53 +00:00
Mike McQuaid
ce5733eec3
Merge pull request #19357 from Homebrew/relocatable-check-prefix
dev-cmd/bottle: check for prefix when not /usr/local
2025-02-24 08:56:34 +00:00
Douglas Eichelberger
7880490f85
Update Library/Homebrew/formula.rb
Co-authored-by: Markus Reiter <me@reitermark.us>
2025-02-23 15:09:34 -08:00
Douglas Eichelberger
3ef22f3181
Inline use of attr_rw 2025-02-23 13:18:49 -08:00
Michael Cho
05d3ce85cd
dev-cmd/bottle: check for prefix when not /usr/local
Fixes incorrectly marking bottles as relocatable, e.g.

425d4ea43d/Formula/p/pkgconf.rb (L34-L36)

This cannot be done for `/usr/local` as it is used outside Homebrew.
Other default prefixes are Homebrew-specific.
2025-02-23 14:28:31 -05:00
Sam Ford
5e57df7287
livecheck: restrict POST hashes to symbol keys
I initially set the type for livecheck's `post_form` and `post_json`
hashes to allow either a string or symbol key. I used string keys in
the documentation, as there will inevitably be some form field names
that would pose a problem for symbols (e.g., `E-mail` uses a hyphen,
`1twothree` starts with a digit, etc.). However, I remembered that we
can simply use quote symbols like `:"E-mail"` to handle these
situations, as they have the flexibility of a string while still being
a symbol.

With that in mind, this updates related type signatures to only allow
symbol keys and updates documentation and tests accordingly. The
documentation example contains a hyphenated form field, so it
demonstrates how to handle names that don't work as a bare symbol.
2025-02-21 21:54:46 -05:00
Carlo Cabrera
58e4e0f8b2
Merge pull request #19350 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2025-02-22 02:02:58 +00:00
Sam Ford
efeff905eb
livecheck: refactor livecheck_strategy_names
This refactors the `livecheck_strategy_names` method to align with
Doug's `livecheck_find_versions_parameters` implementation.
2025-02-21 20:24:28 -05:00
BrewTestBot
88751b7db9
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2025-02-22 00:24:35 +00:00
Patrick Linnane
ed13d33aef
Merge pull request #19349 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2025-02-21 21:22:22 +00:00
BrewTestBot
fb04179fd8
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.
2025-02-21 19:40:15 +00:00
Mike McQuaid
db657725b5
Merge pull request #19346 from botantony/zig-args
Zig template and std args
2025-02-21 19:29:27 +00:00
Patrick Linnane
d6fd0b6359
Merge pull request #19347 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-20eb92d5ee
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-21 18:52:56 +00:00
Patrick Linnane
96f3a40afa
Merge pull request #19348 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.8.9
build(deps-dev): bump rubocop-sorbet from 0.8.7 to 0.8.9 in /Library/Homebrew
2025-02-21 18:52:47 +00:00
BrewTestBot
744eaa4cf5
brew vendor-gems: commit updates. 2025-02-21 18:42:38 +00:00
BrewTestBot
a7ef82df50
brew vendor-gems: commit updates. 2025-02-21 18:42:15 +00:00
dependabot[bot]
574a595e2d
build(deps-dev): bump rubocop-sorbet in /Library/Homebrew
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.8.7 to 0.8.9.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases)
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.7...v0.8.9)

---
updated-dependencies:
- dependency-name: rubocop-sorbet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 18:36:32 +00:00
dependabot[bot]
7c21f48f29
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


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

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

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

Updates `sorbet-static` from 0.5.11842 to 0.5.11845
- [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-group: sorbet
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 18:36:18 +00:00
botantony
68f8798821
zig std args: apply -fno-rosetta on macs with arm 2025-02-21 19:10:41 +01:00
botantony
c5d78f3347
zig std args: use symbols for compilation options 2025-02-21 17:07:29 +01:00
botantony
bfdfdc9489
-fno-rosetta flag 2025-02-21 16:49:11 +01:00
botantony
1e5414c6ac
formula: include -Doptimize flag for Zig std args 2025-02-21 16:01:43 +01:00
botantony
4adb910a8b
create.rbi: add zig 2025-02-21 15:17:55 +01:00
botantony
35dcf8e362
creator: add zig option 2025-02-21 15:05:42 +01:00
botantony
21714d63a4
formula: add std_zig_args 2025-02-21 14:53:34 +01:00
Mike McQuaid
9bc0ef0dca
Merge pull request #19344 from gromgit/update-python-resources/bare-formula
update-python-resources: work on bare formula
2025-02-21 08:42:46 +00:00
Sam Ford
7e182d04d7
Merge pull request #19338 from Homebrew/livecheck/refactor-head-only-formula
livecheck: refactor HEAD-only formula handling
2025-02-21 03:54:20 +00:00
Sam Ford
6cfe151292
livecheck: create constant for no versions message 2025-02-20 22:39:19 -05:00
Sam Ford
a7cacfff1c
livecheck: refactor HEAD-only formula handling
The existing code for handling a `HEAD`-only formula involves two
return values that can be `nil` but this isn't apparent because the
related methods aren't typed. This adds type signatures to the
methods and updates the livecheck code to account for `nil` return
values (making it clear which methods can return `nil`).

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-02-20 22:39:18 -05:00
Adrian Ho
7e946c19a2 update-python-resources: work on bare formula
Also favor Homebrew API over manual string comparison.

Resolves https://github.com/orgs/Homebrew/discussions/5967.
2025-02-21 10:32:39 +08:00
Patrick Linnane
01fcbfda53
Merge pull request #19343 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-05ebc2a7a7
build(deps): bump the sorbet group across 1 directory with 4 updates
2025-02-21 00:58:12 +00:00
BrewTestBot
74ee4249d8
brew vendor-gems: commit updates. 2025-02-20 23:17:00 +00:00
dependabot[bot]
56051336f7
build(deps): bump the sorbet group across 1 directory with 4 updates
Bumps the sorbet group with 1 update in the /Library/Homebrew directory: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet).


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

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

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

Updates `sorbet-static` from 0.5.11835 to 0.5.11842
- [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-group: sorbet
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 22:05:29 +00:00
Patrick Linnane
e7a741092a
Merge pull request #19342 from Homebrew/dependabot/bundler/Library/Homebrew/spoom-1.5.4
build(deps-dev): bump spoom from 1.5.3 to 1.5.4 in /Library/Homebrew
2025-02-20 20:33:13 +00:00
BrewTestBot
cd8d7deef0
Update RBI files for spoom.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-02-20 19:37:10 +00:00
BrewTestBot
57e45b99df
brew vendor-gems: commit updates. 2025-02-20 19:37:02 +00:00
dependabot[bot]
62057f1221
build(deps-dev): bump spoom from 1.5.3 to 1.5.4 in /Library/Homebrew
Bumps [spoom](https://github.com/Shopify/spoom) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/Shopify/spoom/releases)
- [Commits](https://github.com/Shopify/spoom/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: spoom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 18:58:50 +00:00
Mike McQuaid
e96d9223a6
Merge pull request #19340 from gromgit/diagnostic/dup-recommend
diagnostic: recommend untap where possible
2025-02-20 17:00:18 +00:00
Adrian Ho
ce60f412e6 diagnostic: recommend untap where possible
Addresses #19334.
2025-02-21 00:27:59 +08:00
Patrick Linnane
27a903212d
Merge pull request #19336 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0338d039d9
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-19 20:27:30 +00:00
Patrick Linnane
8b6391796b
Merge pull request #19337 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-4.9.1
build(deps-dev): bump parallel_tests from 4.9.0 to 4.9.1 in /Library/Homebrew
2025-02-19 20:23:57 +00:00