45345 Commits

Author SHA1 Message Date
Mike McQuaid
c4ea7ef4f7
Merge pull request #19832 from Homebrew/docker-release-fix
workflows/docker: fix release push
2025-04-28 07:44:00 +00:00
Mike McQuaid
3f6c8fccec
Merge pull request #19790 from Homebrew/more-sorbet
Bump some files to Sorbet `typed: strict`
2025-04-28 07:43:04 +00:00
Mike McQuaid
ce3e8ddc70
official_taps: deprecate homebrew-linux-fonts.
This has been archived and migrated to Homebrew/homebrew-cask.
2025-04-28 08:36:04 +01:00
Bo Anderson
a2cbce9426
workflow/docker: push tagged arm64 images 2025-04-28 04:05:24 +01:00
Bo Anderson
7ce03b66f1
workflows/docker: fix release push 2025-04-28 04:01:20 +01:00
Patrick Linnane
fc897cc55a
Merge pull request #19829 from botantony/docs
docs/installation: replace `Tips N' Tricks` with `Tips and Tricks`
2025-04-27 22:38:51 +00:00
Issy Long
6c11916cbc
Bump some files to Sorbet typed: strict 2025-04-27 22:45:44 +01:00
botantony
da98aca4f3
docs/installation: replace Tips N' Tricks with Tips and Tricks
Signed-off-by: botantony <antonsm21@gmail.com>
2025-04-27 22:43:06 +02:00
Bo Anderson
0e7f19f2f1
Merge pull request #19825 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-7bf59fef91
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-04-25 22:41:12 +00:00
Bo Anderson
3329aada38
Merge pull request #19826 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.11.3
build(deps-dev): bump json from 2.10.2 to 2.11.3 in /Library/Homebrew
2025-04-25 19:15:04 +00:00
BrewTestBot
ab03736b26
brew vendor-gems: commit updates. 2025-04-25 19:07:36 +00:00
BrewTestBot
fb970c9ac4
brew vendor-gems: commit updates. 2025-04-25 19:05:36 +00:00
dependabot[bot]
3976662bd2
build(deps-dev): bump json from 2.10.2 to 2.11.3 in /Library/Homebrew
Bumps [json](https://github.com/ruby/json) from 2.10.2 to 2.11.3.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.10.2...v2.11.3)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.11.3
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 18:17:58 +00:00
dependabot[bot]
dc064196ff
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.12032 to 0.5.12039
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 18:17:46 +00:00
Mike McQuaid
dcb28327d2
Merge pull request #19824 from Homebrew/linux_var_tmp
Change default temp on Linux to /var/tmp.
2025-04-25 17:06:20 +00:00
Mike McQuaid
eb175f01a0
brew.sh: only use /var/tmp on Linux if writable. 2025-04-25 17:56:58 +01:00
Aman Verma
9c79c5b632
Change default temp on Linux to /var/tmp.
Previously, the default temporary directory was /tmp on Linux and
/private/tmp on macOS. On many Linux distros, including at least Fedora,
/tmp is stored in RAM. This diverges from the behavior on macOS and has
led to bugs, most notably the inability to install large bottles on
memory-limited machines.
2025-04-25 17:56:34 +01:00
Mike McQuaid
83e4d73670
Merge pull request #19823 from Homebrew/brewfile_docs_tweaks
docs/Brew-Bundle-and-Brewfile: a couple of tweaks.
2025-04-25 14:25:38 +00:00
Mike McQuaid
736b445ac2
docs/Brew-Bundle-and-Brewfile: a couple of tweaks.
Felt some wording could be improved.
2025-04-25 14:20:59 +01:00
Mike McQuaid
60bbdd82c4
Merge pull request #19822 from Homebrew/brew_bundle_exec_consistent_env
bundle/commands/exec: make environment variables more consistent.
2025-04-25 11:02:07 +00:00
Mike McQuaid
a1e4e9eaf7
bundle/commands/exec: make environment variables more consistent.
Let's avoid having `exec` and `env`/`sh` subcommands have different
environment variables logic. Instead, let's e.g. add `HOMEBREW_PATH`
and remove `*/Homebrew/shims/*` from the `PATH` for all three
subcommands.

This allows more consistency for users and easier to debug and reason
about behaviour.
2025-04-25 11:53:23 +01:00
Mike McQuaid
f6e3de6dec
Merge pull request #19802 from Homebrew/brew_bundle_docs
docs/Brew-Bundle-and-Brewfile: improve docs.
2025-04-25 10:07:40 +00:00
Mike McQuaid
5f29ab8c89
docs/Brew-Bundle-and-Brewfile: improve docs.
The `brew bundle` documentation isn't great at explaining what the tool
is and why you should care. Let's improve that.
2025-04-25 10:59:32 +01:00
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