Mike McQuaid
04e77dd43d
docs/Tips-and-Tricks: rename from weird filename.
...
macOS likes the new one better.
2025-04-25 09:46:29 +01:00
Mike McQuaid
681e803c4f
docs: improve/fix jekyll setup
2025-04-25 09:46:29 +01:00
Patrick Linnane
8a5babc424
Merge pull request #19821 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/setuptools-79.0.1
...
build(deps): bump setuptools from 79.0.0 to 79.0.1 in /Library/Homebrew/formula-analytics
2025-04-24 19:13:04 +00:00
dependabot[bot]
e7199b3c43
build(deps): bump setuptools in /Library/Homebrew/formula-analytics
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 79.0.0 to 79.0.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/v79.0.0...v79.0.1 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-version: 79.0.1
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 18:39:18 +00:00
Bo Anderson
6fe715409b
Merge pull request #19819 from Homebrew/macho-error-output
...
formula_installer: always output errors with fixing linkage
2025-04-24 16:31:58 +00:00
Bo Anderson
9ae847dcae
formula_installer: always output errors with fixing linkage
2025-04-24 17:20:35 +01:00
Carlo Cabrera
cecbb4350e
Merge pull request #19818 from Homebrew/fix-trash
...
cask/artifact/abstract_uninstall: fix `trash_paths`
2025-04-24 10:17:55 +00:00
Carlo Cabrera
f816a39d1f
cask/artifact/abstract_uninstall: fix trash_paths
...
This is currently behaving incorrectly when calling `trash.swift` fails
due to lack of permissions. In this instance, `trash.swift` prints
error: permissionDenied
to stdout, and this is incorrectly parsed as having successfully trashed
a file named `error` and another named ` permissionDenied`.
Let's fix this by ensuring that:
- any paths in `trashed` are in the `paths` that we wanted to trash in
the first place
- define `untrashable` by removing the `trashed` paths from `paths`
2025-04-24 18:03:07 +08:00
Carlo Cabrera
acf455bac1
Merge pull request #19637 from Homebrew/bundle-exec-with-optional-check
...
bundle/commands/exec: check that `Brewfile` is installed with `--check`
2025-04-24 08:42:49 +00:00
Carlo Cabrera
08d5ca0d01
brew style --fix
2025-04-24 16:34:36 +08:00
Carlo Cabrera
f3c25498f8
bundle/commands/exec: check that Brewfile
is installed with --check
...
`brew bundle exec` behaves correctly only after doing `brew bundle install`.
Running `brew bundle check` can be slow, so let's add a `--check` flag
to `brew bundle exec` which will also run `brew bundle check` before
`brew bundle exec` to ensure that the `Brewfile` has been installed
before proceeding.
2025-04-24 16:34:23 +08:00
Patrick Linnane
d19dca6228
Merge pull request #19815 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-8245ded0cf
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-04-24 00:23:26 +00:00
BrewTestBot
47c6fb048f
brew vendor-gems: commit updates.
2025-04-24 00:12:35 +00:00
dependabot[bot]
84934d7847
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.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.12028 to 0.5.12032
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
dependency-version: 0.5.12032
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-runtime
dependency-version: 0.5.12032
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet
dependency-version: 0.5.12032
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-static
dependency-version: 0.5.12032
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 00:10:25 +00:00
Mike McQuaid
b97c763d91
Merge pull request #19814 from Homebrew/bundle_services
...
Add `HOMEBREW_BUNDLE_SERVICES` variable to `brew bundle`
2025-04-23 16:30:00 +00:00
Mike McQuaid
60c047b5ea
Add HOMEBREW_BUNDLE_SERVICES
variable to brew bundle
...
This allows another way to pass `--services` to `brew bundle`.
2025-04-23 17:20:14 +01:00
Sam Ford
b711ecc26b
Merge pull request #19812 from Homebrew/cask-auditor-fix-language_blocks
...
Cask::Auditor: update language_blocks condition
2025-04-23 13:51:11 +00:00
Sam Ford
4917fb2c93
Cask::DSL: Remove duplicate token definition
...
I inadvertently duplicated the `@token` instance variable definition
in `Cask::DSL#initiailize`, so this removes the duplicate. This
didn't have any noticeable effect because it was redefined afterward,
so this is just a bit of tidying up.
2025-04-23 09:37:05 -04:00
Sam Ford
c0f23acdcd
Cask::Auditor: update language_blocks condition
...
I recently modified `Cask::DSL` to define instance variables in the
`#initialize` method and this involved some changes to the `language`,
`language_eval`, and `languages` methods. One of those was to
initialize `@language_blocks` to an empty hash instead of using a
`nil` default. I updated the related condition in the `language_eval`
method but I missed that `language_blocks` is used in `Cask::Auditor`
and it specifically relies on a false-y value to check if the variable
is set. An empty hash isn't false-y, so this is causing issues for
`brew audit`.
This updates the condition in `Cask::Auditor` to check for a non-empty
hash instead, which resolves the issue.
2025-04-23 09:19:41 -04:00
Bevan Kay
8db1a1f639
Merge pull request #19805 from botantony/zsh-completions-fix
...
fix: prevent Zsh crashes related to autocompletion
2025-04-23 10:35:41 +00:00
FX Coudert
4a3388cc03
Merge pull request #19811 from Homebrew/gcc15
...
compilers: add gcc-15
2025-04-23 10:21:03 +00:00
Francois-Xavier Coudert
10095f5cac
compilers: add gcc-15
2025-04-23 10:09:45 +02:00
Mike McQuaid
141414a3c3
Merge pull request #19807 from Homebrew/downloadable-fixes
...
Cleanup Downloadable variables and types
2025-04-23 07:24:19 +00:00
Mike McQuaid
aeee3637e5
Merge pull request #19808 from Homebrew/cask-dsl-initialize-instance-variables-2
...
Cask::DSL: initialize more instance variables
2025-04-23 07:23:38 +00:00
Bevan Kay
94c91ed052
Merge pull request #19809 from Homebrew/bump-created-with
...
bump-formula-pr: restore pr message
2025-04-23 04:55:53 +00:00
Bevan Kay
b255a670c0
bump-formula-pr: restore pr message
2025-04-23 14:45:15 +10:00
Sam Ford
6f511ee4e2
Cask::DSL: initialize more instance variables
...
I recently updated `Cask::DSL` to define instance variables in
`#initialize` to get us closer to resolving a "shape variation"
warning from Ruby. The reason why we continued to receive this warning
after the previous changes is because I overlooked the variables that
are set using `set_unique_stanza`.
The tricky part about those instance variables is that we need to be
able to identify if they've been set. I've handled this by using a
`nil` initial value and updating the `instance_variable_defined?`
condition to check for a non-`nil` value instead. This works for these
variables but it would be a problem if we ever have a DSL method that
accepts a `nil` argument.
2025-04-22 23:21:05 -04:00
Bo Anderson
076fdc30ce
Merge pull request #19806 from Homebrew/cask-dsl-initialize-instance-variables
...
Cask::DSL: define instance variables in initialize
2025-04-23 02:34:05 +00:00
Bo Anderson
35f874c036
Cleanup Downloadable variables and types
2025-04-23 03:30:15 +01:00
Sam Ford
5b5c460ab9
Cask::DSL: define instance variables in initialize
...
We're now seeing warnings related to the cask DSL surfaced by Ruby
3.4:
```
/opt/homebrew/Library/Homebrew/cask/dsl.rb:456: warning: The class
Cask::DSL reached 8 shape variations, instance variables accesses
will be slower and memory usage increased.
It is recommended to define instance variables in a consistent order,
for instance by eagerly defining them all in the #initialize method.
```
I've been working on upgrading `Cask::DSL` to `typed: strict` and
part of that involves defining all of the instance variables in the
`initialize` method, so I've extracted this part of that work as a
way of helping to resolve the aforementioned warning. This doesn't
fully resolve the warning but it addresses what it was originally
referencing, at least.
For what it's worth, this includes some type fixes but I've only
included what's necessary to pass `brew typecheck`.
2025-04-22 18:12:33 -04:00
Sam Ford
c495aa3e63
Cask::DSL::DependsOn: add empty?, present? methods
...
`#present?` is called on a `DependsOn` object in `Cask::DSL` and this
is seemingly deferred to the underlying hash object but Sorbet doesn't
understand this kind of `SimpleDelegator` magic. This adds `empty?`
and `present?` methods that explicitly interact with the hash in a
way that Sorbet can understand.
2025-04-22 18:07:09 -04:00
botantony
2a03f2059c
completions: fix tests
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-04-22 22:31:45 +02:00
Patrick Linnane
3d2ab610c9
Merge pull request #19803 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-649fa9977a
...
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-04-22 20:11:07 +00:00
botantony
d15461608f
fix: prevent Zsh crashes related to autocompletion
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-04-22 22:02:38 +02:00
Patrick Linnane
2f67c29db6
Exclude parser again
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-22 13:00:19 -07:00
BrewTestBot
aed2a35362
Update RBI files for sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-04-22 19:24:40 +00:00
BrewTestBot
9dec0f5a8a
brew vendor-gems: commit updates.
2025-04-22 19:24:35 +00:00
dependabot[bot]
4ff6d1e94e
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.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.12026 to 0.5.12028
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
dependency-version: 0.5.12028
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-runtime
dependency-version: 0.5.12028
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet
dependency-version: 0.5.12028
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-static
dependency-version: 0.5.12028
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:20:59 +00:00
Patrick Linnane
0443c627d0
Merge pull request #19800 from Homebrew/retry-docker-upload
...
workflows/docker: add retry to image push
2025-04-22 19:02:52 +00:00
Patrick Linnane
1134575c00
Merge pull request #19793 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.233.0
...
build(deps): bump ruby/setup-ruby from 1.231.0 to 1.233.0
2025-04-22 19:00:42 +00:00
Mike McQuaid
40ab36827c
Merge pull request #19779 from Homebrew/portable-ruby-3.4.3
...
Portable Ruby 3.4.3
2025-04-22 18:59:12 +00:00
Patrick Linnane
5d8d453a90
Portable Ruby 3.4.3
2025-04-22 11:50:08 -07:00
Mike McQuaid
82511c708c
Merge pull request #19801 from Homebrew/deprecate_disable
...
Homebrew 4.5 deprecations/disables/removals
2025-04-22 16:26:29 +00:00
Mike McQuaid
c9a7b62b1d
Homebrew 4.5 deprecations/disables/removals
...
The usual cycle of deprecating, disabling, and removing things in
Homebrew major/minor releases.
2025-04-22 17:15:23 +01:00
Patrick Linnane
ead6c13cf2
workflows/docker: reduce delay to 15 seconds
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-22 09:15:10 -07:00
Patrick Linnane
7ad5460336
Apply suggestions from code review
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-22 09:13:55 -07:00
Patrick Linnane
a3af7f823f
workflows/docker: add retry to image push
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-22 09:07:53 -07:00
Mike McQuaid
a47ff13114
Merge pull request #19798 from Homebrew/bump-synced-versions-v2
...
bump: bump synced formula together (v2)
2025-04-22 15:23:51 +00:00
Mike McQuaid
12a3d4a6f1
Merge pull request #19799 from Homebrew/sync-shared-config
...
Synchronize shared configuration
4.4.32
2025-04-22 15:18:47 +00:00
BrewTestBot
e99a41f85f
zizmor.yml: update to match main configuration
2025-04-22 14:42:39 +00:00