Anatoli Babenia
eca98d036c
create: strip 'v' prefix from version
...
To fix subsequent `brew audit` error:
* line 8, col 3: Version v0.38.1 should not have a leading 'v'
2025-06-22 17:41:00 +03:00
Mike McQuaid
dd04fb5ab6
Merge pull request #20146 from Homebrew/dependabot/github_actions/github-actions-348b342bd6
...
build(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1 in the github-actions group
2025-06-20 12:33:42 +00:00
Mike McQuaid
d0a144520d
Merge pull request #20145 from Homebrew/some-bundle-files-werent-typed-at-all-but-now-some-are
...
Make some of the `bundle` commands Sorbet `typed: true`
2025-06-20 10:58:07 +00:00
dependabot[bot]
d961c4772a
build(deps): bump docker/setup-buildx-action in the github-actions group
...
Bumps the github-actions group with 1 update: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ).
Updates `docker/setup-buildx-action` from 3.10.0 to 3.11.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](b5ca514318...e468171a9d
)
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: 3.11.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 08:44:06 +00:00
Issy Long
68596ec720
Make some of the bundle
commands Sorbet typed: true
...
- The last remaining one is `exec` but that's a bit more involved
(https://github.com/Homebrew/brew/pull/20128#discussion_r2156781591 ).
2025-06-20 10:11:35 +02:00
Mike McQuaid
9d357b57d1
Merge pull request #20135 from Homebrew/forbid_dynamic_caveats
...
rubocops/caveats: check for dynamic caveats.
2025-06-20 07:57:06 +00:00
Mike McQuaid
e6d4db8d6f
Merge pull request #20025 from abitrolly/new-detect-latest-release
...
formula_creator: detect GitHub version from latest release
2025-06-20 07:40:44 +00:00
Anatoli Babenia
dce285458e
Add test for name override with GitHub URLs
2025-06-19 16:28:48 +03:00
Anatoli Babenia
cf2e20d586
Fix version reporting in odebug
messages
2025-06-19 16:18:41 +03:00
Mike McQuaid
f77c9861de
rubocops/caveats: check for dynamic caveats.
...
This will avoid issues with the JSON API.
2025-06-19 10:13:32 +01:00
Mike McQuaid
2cd7a32660
formula_creator: improve code/test style.
2025-06-19 09:02:46 +01:00
Anatoli Babenia
3964186bec
formula_creator: fetch missing version from latest GitHub release
2025-06-19 09:02:36 +01:00
Mike McQuaid
9f5286f3d7
Merge pull request #20143 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/urllib3-2.5.0
...
build(deps): bump urllib3 from 2.4.0 to 2.5.0 in /Library/Homebrew/formula-analytics
2025-06-19 07:40:29 +00:00
dependabot[bot]
6bfcd62c7c
build(deps): bump urllib3 in /Library/Homebrew/formula-analytics
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.5.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 05:26:06 +00:00
Rylan Polster
4ce9faf294
Merge pull request #20142 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2025-06-19 02:10:16 +00:00
BrewTestBot
4c18ff443c
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml ) workflow.
2025-06-19 00:30:14 +00:00
Mike McQuaid
99a8e3a288
Merge pull request #20141 from botantony/enable_no_autobump
...
tap: rely on new autobump list
2025-06-18 14:34:08 +00:00
Mike McQuaid
ccb3543c6c
Merge pull request #20126 from botantony/no_autobump_rubocops
...
rubocops: add `no_autobump!` rubocop
2025-06-18 14:33:37 +00:00
Mike McQuaid
62cff0e852
Merge pull request #20136 from abitrolly/newnew-detect-latest-release
...
formula_creator: test GitHub repo call for archive|releases URLs
2025-06-18 14:20:22 +00:00
botantony
aecdcd4840
rubocops: add no_autobump!
rubocop
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-18 16:16:12 +02:00
botantony
d0345513e2
tap: rely on new autobump list
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-18 16:16:08 +02:00
Anatoli Babenia
f738fce3d9
formula_creator: test GitHub repo call for archive|releases URLs
2025-06-18 15:07:44 +01:00
Mike McQuaid
76470c0d8a
Merge pull request #20137 from Homebrew/cached-location-validation
...
download_strategy: fix caching of `:latest` downloads
2025-06-18 07:33:29 +00:00
Mike McQuaid
43a72a1a03
Merge pull request #20138 from Homebrew/rm-zap-messaging
...
cask/installer: remove confusing `zap` messaging
2025-06-18 07:32:47 +00:00
Patrick Linnane
989032b703
test/cask/reinstall_spec: remove confusing zap
` messaging
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-06-17 21:15:49 -07:00
Patrick Linnane
7da83ee19c
cask/installer: remove confusing zap
messaging
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-06-17 21:15:47 -07:00
Rylan Polster
aeed5eb57a
Merge pull request #20139 from Homebrew/fix-type-mismatch-brew-info
...
Fix type mismatch in `brew info`
2025-06-17 21:53:47 +00:00
Rylan Polster
f71287c4a9
Fix type mismatch in brew info
2025-06-17 16:57:50 -04:00
Eric Knibbe
5ff58d2df0
download_strategy: fix caching of :latest
downloads
2025-06-17 14:51:11 -04:00
Mike McQuaid
fb9d1c5a1c
Merge pull request #20133 from Homebrew/requirements
...
requirements: set `typed: strict`
2025-06-17 18:37:48 +00:00
Mike McQuaid
77321d6f8b
Merge pull request #20132 from Homebrew/dev-cmd
...
dev-cmd: set `typed: strict`
2025-06-17 18:37:03 +00:00
Mike McQuaid
e1fc5a2784
Merge pull request #20131 from Homebrew/debrew_strict
...
debrew: set `typed: strict`
2025-06-17 18:30:10 +00:00
Mike McQuaid
2916610699
Merge pull request #20130 from Homebrew/sorbet_cmd
...
cmd: set `typed: strict`
2025-06-17 18:29:23 +00:00
Mike McQuaid
9375fc21f4
requirements: set typed: strict
2025-06-17 16:34:59 +01:00
Mike McQuaid
ca1e08c7a8
dev-cmd: set typed: strict
2025-06-17 16:34:19 +01:00
Mike McQuaid
85c5f8f3a5
debrew: set typed: strict
2025-06-17 16:33:58 +01:00
Mike McQuaid
c4c66d41ef
cmd: set typed: strict
2025-06-17 16:33:16 +01:00
Mike McQuaid
3c30845240
Merge pull request #20116 from abitrolly/create-tests
...
Refactor `FormulaCreator` args and call `parse_url` automatically
2025-06-17 14:18:52 +00:00
Mike McQuaid
2ad0fed872
Merge pull request #20129 from Homebrew/fix_bump_sorbet
...
utils/github/api: fix Sorbet types.
2025-06-17 14:13:08 +00:00
Mike McQuaid
dfa79bf981
Merge pull request #20125 from Homebrew/cask_sorbet_strict
...
cask: move some files to strict Sorbet sigil.
2025-06-17 14:09:56 +00:00
Mike McQuaid
f2103c7138
utils/github/api: fix Sorbet types.
...
Let's not use `T.unsafe(nil)` but instead an empty hash.
2025-06-17 14:59:46 +01:00
Mike McQuaid
35407ab556
cask: move some files to strict Sorbet sigil.
2025-06-17 14:56:10 +01:00
Mike McQuaid
1f29f51654
dev-cmd/create: avoid duplicate presence check.
...
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
2025-06-17 14:44:59 +01:00
Eric Knibbe
09eaf1495a
Merge pull request #20119 from Homebrew/audit-bundle-version
...
cask/audit: also check binary for minimum OS
2025-06-17 11:36:08 +00:00
Mike McQuaid
c5d091af21
Refactor/typecheck create
and formula_creator
2025-06-17 11:44:15 +01:00
Mike McQuaid
768c10c6fb
Merge pull request #20124 from Homebrew/add-cask-config-rbi-compiler
...
Add Cask::Config RBI compiler
2025-06-17 10:32:59 +00:00
Anatoli Babenia
85d48da364
Refactor FormulaCreator args and call parse_url automatically
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-06-17 11:19:52 +01:00
Mike McQuaid
d7d8c61f00
Merge pull request #20121 from Homebrew/sorbet_strict_a
...
a*.rb: move to strict Sorbet sigil.
2025-06-17 10:05:27 +00:00
Mike McQuaid
7345607ca0
a*.rb: move to strict Sorbet sigil.
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2025-06-17 08:18:33 +01:00
Sam Ford
9c69859f99
Add Cask::Config RBI compiler
...
This is a naive attempt at creating an RBI compiler for the
`Cask::Config` class. `Config` contains methods like `appdir` that
are defined dynamically using the class's default values and Sorbet
doesn't understand that these methods exist or what their return
types are. This compiler works as expected and gets the job done but
I know basically nothing about Tapioca, so there may be a better way
of doing this.
For what it's worth, this isn't an issue right now but Sorbet will
surface an error once `Cask::DSL` is updated to `typed: strict` (i.e.,
`Method appdir does not exist on Cask::Config`). That's something
I've been working on and this compiler is intended as a way of
preemptively resolving that Sorbet error, so I can move forward with
the `Cask::DSL` type signature work.
2025-06-16 23:49:01 -04:00