33509 Commits

Author SHA1 Message Date
Mike McQuaid
4f07e2f01b
Merge pull request #18443 from Homebrew/warnings-strict
warnings: `typed: strict`
2024-09-30 08:50:23 +01:00
Mike McQuaid
c31b232be9
Homebrew/shims: remove *llvm-g* shims.
They are no longer ever used.
2024-09-30 08:43:57 +01:00
Mike McQuaid
5c8ff7788f
tap: add repository key.
Follow up from #18445 that may allow us to
deprecate the old name in future.
2024-09-30 07:52:02 +01:00
Michael Cho
a27e09cff4
Merge pull request #18432 from Homebrew/completions-zsh-short-conflict
completions: fix short option conflict in zsh completion
2024-09-29 12:11:51 -04:00
Michael Cho
6020744699
shims/super/cc: remove leftover usage of llvm-g++-4.2 2024-09-29 11:41:50 -04:00
Carlo Cabrera
25afdcc2b8
shims/super/cc: add modeline for vim-like editors
This will prevent my editor from trying to read this file as shell
script and getting the syntax highlighting all wrong.
2024-09-29 05:47:05 +08:00
Carlo Cabrera
861d7b9087
linkage_checker: skip files with incompatible architectures
Some formulae include these files, and they can't always be removed.
However, they can cause spurious linkage failures, so let's skip them
when checking for linkage. See, for example, faust at
Homebrew/homebrew-core#191308.
2024-09-29 05:15:36 +08:00
Sam Ford
9e47fc9f31
livecheck: move #preprocess_url into strategies
`Livecheck#preprocess_url` only contains logic for rewriting Git URLs,
so it makes more sense for this code to be part of the `Git` strategy
instead. Outside of better code organization, this saves us from
having to maintain the list of strategies to skip processing (which
is sometimes forgotten when a new strategy is added) and makes it
easier to do something similar in other strategies as needed.

One thing to note is that `Livecheck#preprocess_url` was previously
called on the URL before each strategy's `#match?` method was called.
To maintain the existing behavior, this calls `Git#preprocess_url` in
`Git#match?`. However, we need the processed URL when we use the `Git`
strategy, so we have to call `Git#preprocess_url` again. To avoid
duplicating effort, I've added a `@processed_urls` hash to the `Git`
strategy and have set up `Git#preprocess_url` to cache processed
URLs, so we only do the work once. There may be a better way of
handling it but this seems to work as expected.
2024-09-28 11:29:07 -04:00
BrewTestBot
62d2eb289c
brew vendor-gems: commit updates. 2024-09-28 15:04:16 +00:00
dependabot[bot]
2bca324618
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11585 to 0.5.11589.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 14:52:18 +00:00
Bob Lail
c752c00ac6 brew vendor-gems: commit updates. 2024-09-27 14:44:40 -07:00
Bo Anderson
292c83d140
Merge pull request #18445 from Homebrew/tap-json
tap: restore old `repo` key
2024-09-27 19:58:30 +01:00
BrewTestBot
50ac562cb3
brew vendor-gems: commit updates. 2024-09-27 18:29:05 +00:00
dependabot[bot]
834ea12cb8
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11582 to 0.5.11585.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 18:11:27 +00:00
Carlo Cabrera
4ab8f485d5
tap: restore old repo key
Fixes #18444
2024-09-28 02:02:09 +08:00
Michael Cho
112c692a53
test/spec_helper: require standalone before warnings 2024-09-27 12:48:27 -04:00
Michael Cho
9bd85f30d8
warnings: typed: strict 2024-09-27 12:31:59 -04:00
Michael Cho
910a5c3d3f
completions: fix short option conflict in zsh completion 2024-09-27 12:22:30 -04:00
Mike McQuaid
7156fb7d3a
Merge pull request #18430 from Homebrew/files-strict-type
completions formula_pin: `typed: strict`, cxxstdlib: `typed: strong`
2024-09-27 17:12:54 +01:00
Carlo Cabrera
86b27eb0f3
unpack_strategy/dmg: more UID handling fixes
Follow-up to #18040.
2024-09-27 17:55:32 +08:00
Mike McQuaid
da3b84b46a
Merge pull request #18441 from Homebrew/skip-actionlint
style: skip actionlint checks if an actionlint workflow is present
2024-09-27 09:11:49 +01:00
Mike McQuaid
7a9affb174
Merge pull request #18425 from Homebrew/list-r-t
cmd/list: `-t` and `-r` support for some long options
2024-09-27 08:43:02 +01:00
Mike McQuaid
a6954f26a5
Merge pull request #18435 from Homebrew/temp-symlink-test-fix
test/cask/utils_spec: fix test failure when HOMEBREW_TEMP is a symlink
2024-09-27 08:42:11 +01:00
Mike McQuaid
c1c1a43143
Merge pull request #18431 from Homebrew/PATH-strict-type
PATH: `typed: strict`
2024-09-27 08:37:27 +01:00
Carlo Cabrera
53f6e46eb3
style: skip actionlint checks if an actionlint workflow is present
Fixes #18382.
2024-09-27 15:29:07 +08:00
Mike McQuaid
b38cbbc085
Merge pull request #18434 from Homebrew/unix-socket
Allow sockets to use longer paths on macOS
2024-09-27 08:07:58 +01:00
Patrick Linnane
0d483d9d68
.ruby-version: bump to 3.3.5
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-09-26 23:22:01 -07:00
Patrick Linnane
57e0d3eb94
Portable Ruby 3.3.5
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-09-26 22:53:47 -07:00
Bo Anderson
567f5eb4be
Allow sockets to use longer paths on macOS 2024-09-27 04:37:03 +01:00
Carlo Cabrera
7478bbe76e
Revert "Revert "github_runner_matrix: enable usage of macos-15 runners"" 2024-09-27 10:22:10 +08:00
Carlo Cabrera
fe1f330e60
Revert "Deprecate installing casks/formulae from paths." 2024-09-27 10:17:04 +08:00
Bo Anderson
fe0505d492
test/cask/utils_spec: fix test failure when HOMEBREW_TEMP is a symlink 2024-09-27 03:02:26 +01:00
Bo Anderson
326a71712f
Revert "Shorten brew tests temporary paths."
This reverts commit 27fb07c0fc622d3e010a8a9f6e0056fd09dc5b1f.
2024-09-27 01:55:26 +01:00
Michael Cho
4c60dc0b2c
cmd/list: -t and -r support for some long options 2024-09-26 20:01:44 -04:00
Michael Cho
1c9f084bcc
PATH: typed: strict 2024-09-26 16:19:11 -04:00
Mike McQuaid
bbdea29a0f
Deprecate installing casks/formulae from paths.
We've already disabled installing casks/formulae from URLs and we
regularly tell people not to install from paths so let's just deprecate
this behaviour entirely.

Even Homebrew developers do not need to work this way.
2024-09-26 20:25:07 +01:00
Michael Cho
dca3e70f98
formula_pin: typed: strict 2024-09-26 14:48:32 -04:00
Michael Cho
cce425dda1
cxxstdlib: typed: strong 2024-09-26 14:32:55 -04:00
Michael Cho
0029308844
completions: typed: strict 2024-09-26 14:32:40 -04:00
BrewTestBot
b26a03e54a
brew vendor-gems: commit updates. 2024-09-26 18:23:48 +00:00
dependabot[bot]
5a0bdf329f
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11581 to 0.5.11582.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26 18:09:12 +00:00
Mike McQuaid
05cde76adc
Merge pull request #18422 from Homebrew/cmd-cache-touchup
cmd/--cache: avoid exception on missing HEAD
2024-09-26 16:18:10 +01:00
Mike McQuaid
9ce39ee03e
Merge pull request #18423 from Homebrew/caveats-strict
caveats: `typed: strict`
2024-09-26 16:17:21 +01:00
Mike McQuaid
f0653348c4
Merge pull request #18407 from Homebrew/deprecate_cask_url_block
cask/url: deprecate `url do` blocks.
2024-09-26 16:16:40 +01:00
Michael Cho
55fab8849c
caveats: typed: strict 2024-09-26 10:30:21 -04:00
Michael Cho
b1de5a22d2
cmd/--cache: avoid exception on missing HEAD
Also add cask to description
2024-09-26 09:49:30 -04:00
Mike McQuaid
5b46ec70e9
cask/url: deprecate url do blocks.
We're removing these in
https://github.com/Homebrew/homebrew-cask/pull/186501
so let's deprecate them too.
2024-09-26 14:05:25 +01:00
Mike McQuaid
5ef30ad415
Merge pull request #18419 from abitrolly/newline-audit
create: show audit command on the next line
2024-09-26 13:23:08 +01:00
Mike McQuaid
e1f5edbcde
Merge pull request #18339 from Homebrew/sequoia-sdk
os/mac: bump latest SDK version
2024-09-26 13:13:52 +01:00
Mike McQuaid
1d6683df21
brew.sh: add latest_sdk_version to new macOS version TODO. 2024-09-26 13:03:39 +01:00