dependabot[bot]
029388a130
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.11862 to 0.5.11865
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11862 to 0.5.11865
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11862 to 0.5.11865
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11862 to 0.5.11865
- [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-27 16:36:27 +00:00
Mike McQuaid
9dc1e61443
Merge pull request #19355 from Homebrew/strategy-interface
...
feat: Add interface for livecheck strategies
2025-02-27 08:26:15 +00:00
Gibson Fahnestock
1ff3b62d7b
fix: HOMEBREW_NO_SORBET_RUNTIME should work even if developer
...
Today if you are in developer mode then `HOMEBREW_NO_SORBET_RUNTIME`
doesn't take effect. But when doing development it's often useful to be
able to disable type-checking, so have that env var take effect even in
developer mode.
2025-02-27 11:59:08 +08:00
Douglas Eichelberger
9515714b44
Add interface for livecheck strategies
2025-02-26 16:45:39 -08:00
Douglas Eichelberger
9a3451ee95
Merge pull request #19388 from Homebrew/dependabot/bundler/Library/Homebrew/redcarpet-3.6.1
...
build(deps-dev): bump redcarpet from 3.6.0 to 3.6.1 in /Library/Homebrew
2025-02-26 18:45:54 +00:00
Douglas Eichelberger
ce4023997a
Merge pull request #19387 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-769bedcd25
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-26 18:44:47 +00:00
Douglas Eichelberger
282e08cd43
Merge pull request #19389 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.38.1
...
build(deps-dev): bump rubocop-ast from 1.38.0 to 1.38.1 in /Library/Homebrew
2025-02-26 18:44:41 +00:00
BrewTestBot
a2cd6daaee
Update RBI files for rubocop-ast.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-26 18:34:15 +00:00
BrewTestBot
14e70a8786
brew vendor-gems: commit updates.
2025-02-26 18:34:05 +00:00
BrewTestBot
cf15d62902
brew vendor-gems: commit updates.
2025-02-26 18:33:52 +00:00
BrewTestBot
d00ad531df
brew vendor-gems: commit updates.
2025-02-26 18:33:40 +00:00
dependabot[bot]
3aa1b1200a
build(deps-dev): bump rubocop-ast in /Library/Homebrew
...
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast ) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases )
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.38.0...v1.38.1 )
---
updated-dependencies:
- dependency-name: rubocop-ast
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 18:27:21 +00:00
dependabot[bot]
686d978cce
build(deps-dev): bump redcarpet from 3.6.0 to 3.6.1 in /Library/Homebrew
...
Bumps [redcarpet](https://github.com/vmg/redcarpet ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/vmg/redcarpet/releases )
- [Changelog](https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vmg/redcarpet/commits )
---
updated-dependencies:
- dependency-name: redcarpet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 18:27:13 +00:00
dependabot[bot]
54b59ce40c
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.11856 to 0.5.11862
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11856 to 0.5.11862
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11856 to 0.5.11862
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11856 to 0.5.11862
- [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-26 18:27:00 +00:00
Caleb Xu
0c2c76351c
Merge pull request #19174 from alebcay/pod2man-shim
...
Clean pod2man-generated manpages after formula build
2025-02-26 13:55:34 +00:00
Douglas Eichelberger
19332ee1d5
Merge pull request #19383 from Homebrew/fix-yard-directives
...
docs: Remove misused YARD directives
2025-02-25 20:56:58 +00:00
Douglas Eichelberger
3b3c55ca0d
fix: Remove misused YARD directives
2025-02-25 11:55:37 -08:00
Douglas Eichelberger
cad6f53109
Merge pull request #19382 from Homebrew/fix-formula-type
...
fix: Revert breaking type change in Formula#std_npm_args
2025-02-25 19:34:21 +00:00
Douglas Eichelberger
a092403b16
Fix breaking type change in Formula#std_npm_args
2025-02-25 11:23:29 -08:00
Douglas Eichelberger
6bb2a4c8e2
Merge pull request #19380 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/setuptools-75.8.1
...
build(deps): bump setuptools from 75.8.0 to 75.8.1 in /Library/Homebrew/formula-analytics
2025-02-25 19:20:23 +00:00
Douglas Eichelberger
0e90f34ab7
Merge pull request #19381 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-2d80ecae37
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-25 19:20:18 +00:00
BrewTestBot
4b2ce255ec
Update RBI files for sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-25 19:00:23 +00:00
BrewTestBot
92f4ff88e4
brew vendor-gems: commit updates.
2025-02-25 19:00:19 +00:00
BrewTestBot
0b8ae8f2fe
Update RBI files for setuptools.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-25 19:00:10 +00:00
dependabot[bot]
d520b7dc72
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.11851 to 0.5.11856
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11851 to 0.5.11856
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11851 to 0.5.11856
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11851 to 0.5.11856
- [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-25 18:57:03 +00:00
dependabot[bot]
95a0675eb7
build(deps): bump setuptools in /Library/Homebrew/formula-analytics
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.8.0 to 75.8.1.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v75.8.0...v75.8.1 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 18:44:10 +00:00
Douglas Eichelberger
9cb5ecf8b3
Merge pull request #19379 from Homebrew/fix-formula-type
...
Fix return type of Formula.build
2025-02-25 17:15:51 +00:00
Douglas Eichelberger
6cd9daffdf
Fix return type of Formula.build
2025-02-25 09:03:01 -08:00
Carlo Cabrera
81f1647b3d
Merge pull request #19377 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2025-02-25 16:58:17 +00:00
Sam Ford
6291c24004
Merge pull request #19293 from Homebrew/livecheck/options
...
livecheck: add Options class
2025-02-25 16:50:51 +00:00
BrewTestBot
302d33c26e
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-25 16:00:57 +00:00
Sam Ford
749a7c846e
Add livecheck_find_versions_parameters tests
2025-02-25 10:56:32 -05:00
Sam Ford
0bb18b33b2
Livecheck::Options: Add #merge!
2025-02-25 10:56:32 -05:00
Douglas Eichelberger
c1b9136805
rm unnecessary rbi file
2025-02-25 10:56:32 -05:00
Douglas Eichelberger
9aa8ab1789
Simplify livecheck_find_versions_parameters
2025-02-25 10:56:32 -05:00
Sam Ford
c1401ae360
Livecheck::Options: Enable typed: strong
...
This enables `typed: strong` in `Options` and resolves the related
errors.
I annotated the return value of `serialize` in `#to_hash` to resolve
a type error and then updated other methods to use `to_hash` instead.
This approach resolves similar type errors without duplicating the
same `serialize` annotation.
For `#==`, I switched `instance_of?(other.class)` to
`other.is_a?(Options)`, as Sorbet understands that `is_a?` ensures
`other` is an `Options` object but doesn't seem to understand
that `instance_of?` was doing the same thing. The tests continue to
pass with these changes, so hopefully this is fine.
2025-02-25 10:56:32 -05:00
Sam Ford
8afa354c35
Livecheck::Options: Rework as T::Struct
...
As suggested, this reworks `Options` to subclass `T::Struct`, which
simplifies the implementation and makes it easier to maintain.
One noteworthy difference in switching to `T::Struct` is that
`#serialize` omits `nil` values but I don't _think_ this should be a
problem for us. In terms of changes, I modified `#merge` to remove a
now-unnecessary `compact` call and updated related tests.
Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com>
2025-02-25 10:56:32 -05:00
Sam Ford
b6eb945320
livecheck: Add Options class
...
This adds a `Livecheck::Options` class, which is intended to house
various configuration options that are set in `livecheck` blocks,
conditionally set by livecheck at runtime, etc. The general idea is
that when we add features involving configurations options (e.g., for
livecheck, strategies, curl, etc.), we can make changes to `Options`
without needing to modify parameters for strategy `find_versions`
methods, `Strategy` methods like `page_headers` and `page_content`,
etc. This is something that I've been trying to improve over the years
and `Options` should help to reduce maintenance overhead in this area
while also strengthening type signatures.
`Options` replaces the existing `homebrew_curl` option (which related
strategies pass to `Strategy` methods and on to `curl_args`) and the
new `url_options` (which contains `post_form` or `post_json` values
that are used to make `POST` requests). I recently added `url_options`
as a temporary way of enabling `POST` support without `Options` but
this restores the original `Options`-based implementation.
Along the way, I added a `homebrew_curl` parameter to the `url` DSL
method, allowing us to set an explicit value in `livecheck` blocks.
This is something that we've needed in some cases but I also intend
to replace implicit/inferred `homebrew_curl` usage with explicit
values in `livecheck` blocks once this is available for use. My
intention is to eventually remove the implicit behavior and only rely
on explicit values. That will align with how `homebrew_curl` options
work for other URLs and makes the behavior clear just from looking at
the `livecheck` block.
Lastly, this removes the `unused` rest parameter from `find_versions`
methods. I originally added `unused` as a way of handling parameters
that some `find_versions` methods have but others don't (e.g., `cask`
in `ExtractPlist`), as this allowed us to pass various arguments to
`find_versions` methods without worrying about whether a particular
parameter is available. This isn't an ideal solution and I originally
wanted to handle this situation by only passing expected arguments to
`find_versions` methods but there was a technical issue standing in
the way. I recently found an answer to the issue, so this also
replaces the existing `ExtractPlist` special case with generic logic
that checks the parameters for a strategy's `find_versions` method
and only passes expected arguments.
Replacing the aforementioned `find_versions` parameters with `Options`
ensures that the remaining parameters are fairly consistent across
strategies and any differences are handled by the aforementioned
logic. Outside of `ExtractPlist`, the only other difference is that
some `find_versions` methods have a `provided_content` parameter but
that's currently only used by tests (though it's intended for caching
support in the future). I will be renaming that parameter to `content`
in an upcoming PR and expanding it to the other strategies, which
should make them all consistent outside of `ExtractPlist`.
2025-02-25 10:56:31 -05:00
Mike McQuaid
7c514724af
Merge pull request #19375 from Homebrew/homebrew_upgrade_greedy_casks
...
Add `HOMEBREW_UPGRADE_GREEDY_CASKS`
2025-02-25 15:46:36 +00:00
Mike McQuaid
b1559f38a0
Add HOMEBREW_UPGRADE_GREEDY_CASKS
...
A space-separated list of casks. Homebrew will act as if `--greedy`
was passed when upgrading any cask on this list.
2025-02-25 15:34:49 +00:00
Mike McQuaid
be7e3ac2e1
Merge pull request #19376 from Homebrew/issue_types
...
.github/ISSUE_TEMPLATE/*: use issue types.
2025-02-25 14:14:57 +00:00
Mike McQuaid
9e04d9cb34
.github/ISSUE_TEMPLATE/*: use issue types.
...
These are new and shiny so let's use them.
2025-02-25 14:00:34 +00:00
Mike McQuaid
b4dbbf19a2
Merge pull request #19373 from gromgit/diagnostic/fix-call
...
diagnostic: fix call to missing_dependencies
2025-02-25 11:25:52 +00:00
Adrian Ho
571da49165
diagnostic: fix call to missing_dependencies
...
Followup to #19323 .
2025-02-25 19:12:11 +08:00
Mike McQuaid
e49b36d118
Merge pull request #19323 from Homebrew/typed-formula
...
Enable strict typing in Formula
2025-02-25 08:36:24 +00:00
Douglas Eichelberger
cdb6a3df84
Merge pull request #19356 from Homebrew/nilable-demodulize
...
refactor: move nil check inside demodulize
2025-02-24 20:07:44 +00:00
Patrick Linnane
e647b747dd
Merge pull request #19368 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-40d3d6f023
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-24 20:00:06 +00:00
Patrick Linnane
d931be837f
Merge pull request #19369 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.16.11
...
build(deps-dev): bump tapioca from 0.16.10 to 0.16.11 in /Library/Homebrew
2025-02-24 19:59:08 +00:00
Douglas Eichelberger
936b9b5369
Move nil check inside demodulize
2025-02-24 11:57:20 -08:00
BrewTestBot
c98a434e46
Update RBI files for tapioca.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-02-24 19:49:30 +00:00