33458 Commits

Author SHA1 Message Date
botantony
c5d78f3347
zig std args: use symbols for compilation options 2025-02-21 17:07:29 +01:00
botantony
bfdfdc9489
-fno-rosetta flag 2025-02-21 16:49:11 +01:00
botantony
1e5414c6ac
formula: include -Doptimize flag for Zig std args 2025-02-21 16:01:43 +01:00
botantony
4adb910a8b
create.rbi: add zig 2025-02-21 15:17:55 +01:00
botantony
35dcf8e362
creator: add zig option 2025-02-21 15:05:42 +01:00
botantony
21714d63a4
formula: add std_zig_args 2025-02-21 14:53:34 +01:00
Mike McQuaid
9bc0ef0dca
Merge pull request #19344 from gromgit/update-python-resources/bare-formula
update-python-resources: work on bare formula
2025-02-21 08:42:46 +00:00
Sam Ford
6cfe151292
livecheck: create constant for no versions message 2025-02-20 22:39:19 -05:00
Sam Ford
a7cacfff1c
livecheck: refactor HEAD-only formula handling
The existing code for handling a `HEAD`-only formula involves two
return values that can be `nil` but this isn't apparent because the
related methods aren't typed. This adds type signatures to the
methods and updates the livecheck code to account for `nil` return
values (making it clear which methods can return `nil`).

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-02-20 22:39:18 -05:00
Adrian Ho
7e946c19a2 update-python-resources: work on bare formula
Also favor Homebrew API over manual string comparison.

Resolves https://github.com/orgs/Homebrew/discussions/5967.
2025-02-21 10:32:39 +08:00
BrewTestBot
74ee4249d8
brew vendor-gems: commit updates. 2025-02-20 23:17:00 +00:00
dependabot[bot]
56051336f7
build(deps): bump the sorbet group across 1 directory with 4 updates
Bumps the sorbet group with 1 update in the /Library/Homebrew directory: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.11835 to 0.5.11842
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11835 to 0.5.11842
- [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-20 22:05:29 +00:00
BrewTestBot
cd8d7deef0
Update RBI files for spoom.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-02-20 19:37:10 +00:00
BrewTestBot
57e45b99df
brew vendor-gems: commit updates. 2025-02-20 19:37:02 +00:00
dependabot[bot]
62057f1221
build(deps-dev): bump spoom from 1.5.3 to 1.5.4 in /Library/Homebrew
Bumps [spoom](https://github.com/Shopify/spoom) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/Shopify/spoom/releases)
- [Commits](https://github.com/Shopify/spoom/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: spoom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 18:58:50 +00:00
Adrian Ho
ce60f412e6 diagnostic: recommend untap where possible
Addresses #19334.
2025-02-21 00:27:59 +08:00
Patrick Linnane
27a903212d
Merge pull request #19336 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0338d039d9
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-19 20:27:30 +00:00
Patrick Linnane
8b6391796b
Merge pull request #19337 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-4.9.1
build(deps-dev): bump parallel_tests from 4.9.0 to 4.9.1 in /Library/Homebrew
2025-02-19 20:23:57 +00:00
BrewTestBot
772fbafd28
brew vendor-gems: commit updates. 2025-02-19 20:14:06 +00:00
BrewTestBot
4307234f63
Update RBI files for parallel_tests.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-02-19 20:13:37 +00:00
BrewTestBot
857441779b
brew vendor-gems: commit updates. 2025-02-19 20:13:31 +00:00
dependabot[bot]
5baae00d2a
build(deps-dev): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 4.9.0 to 4.9.1.
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v4.9.0...v4.9.1)

---
updated-dependencies:
- dependency-name: parallel_tests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 19:06:59 +00:00
dependabot[bot]
89894826f5
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.11834 to 0.5.11835
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11834 to 0.5.11835
- [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-19 19:06:47 +00:00
dependabot[bot]
31f5e81807
build(deps): bump pyarrow in /Library/Homebrew/formula-analytics
Bumps [pyarrow](https://github.com/apache/arrow) from 19.0.0 to 19.0.1.
- [Release notes](https://github.com/apache/arrow/releases)
- [Commits](https://github.com/apache/arrow/compare/apache-arrow-19.0.0...apache-arrow-19.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 18:58:39 +00:00
Mike McQuaid
7d41a93c76
diagnostic: skip duplicate formulae and casks check inside test-bot.
This makes the experience nicer for tap maintainers who may want to do
this but without hiding the actual warnings for users.
2025-02-19 08:38:31 +00:00
Douglas Eichelberger
a4cdbaa966 Fix type error in DependenciesHelpers#dependents 2025-02-18 20:48:56 -08:00
Douglas Eichelberger
cf635bc28a
Merge pull request #19314 from Homebrew/typed-dep-helpers
Enable strict typing in DependenciesHelpers
2025-02-18 18:47:06 +00:00
Nanda H Krishna
1f9cc89926
test/rubocops/text: update assert tests 2025-02-18 10:52:32 -05:00
Nanda H Krishna
cf0b00a05c
rubocop/lines: prefer assert_path_exists and refute_path_exists 2025-02-18 10:52:32 -05:00
Adrian Ho
46b49ff34d diagnostics: add formula/cask dup check
Duplicate names across taps are a real pain to deal with, so let's warn the user.
2025-02-18 22:38:40 +08:00
Mike McQuaid
2bd665f65a
Merge pull request #19310 from gromgit/formula/patch-data-outside-git
formula: don't include DATA patches in initial Git repo
2025-02-18 12:46:17 +00:00
Adrian Ho
2df84408c1 formula: don't include DATA patches in initial Git repo
Currently, existing DATA patches are subsumed into the initial Git repo
created by `brew install --git`, which makes creating a new DATA
patch after more fixes a tedious and error-prone process.

This PR delays DATA patch processing till after the Git repo is
created, so a `git diff` at the end creates a correct and consolidated
DATA patch block ready for insertion/replacement, or even migration
to a proper remote patch URL.

The difference is clearly seen in `gromgit/fuse/dislocker-mac`,
which has both remote and DATA patches.

Before:
```
% brew install -sig dislocker-mac
==> Fetching gromgit/fuse/dislocker-mac
==> Downloading 2cfbba2c8c.patch?full_index=1
Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/37276859cbebc1711941278db00cd8b25b98d69e15e31e33915a98d01a13febc--2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch
==> Downloading https://github.com/Aorimn/dislocker/archive/refs/tags/v0.7.3.tar.gz
Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/b1ba1098c95535574936051eca45cc472955a5a024b81cc72e1c3b006e1950b3--dislocker-0.7.3.tar.gz
==> Installing dislocker-mac from gromgit/fuse
==> Patching
==> Applying 2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch
Initialized empty Git repository in /private/tmp/dislocker-mac-20250215-35534-8qlxtp/dislocker-0.7.3/.git/
==> Entering interactive mode...
Type `exit` to return and finalize the installation.
Install to this prefix: /opt/homebrew/Cellar/dislocker-mac/0.7.3_2
This directory is now a Git repository. Make your changes and then use:
  git diff | pbcopy
to copy the diff to the clipboard.
% git diff
```

After:
```
% brew install -sig dislocker-mac
==> Fetching gromgit/fuse/dislocker-mac
==> Downloading 2cfbba2c8c.patch?full_index=1
Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/37276859cbebc1711941278db00cd8b25b98d69e15e31e33915a98d01a13febc--2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch
==> Downloading https://github.com/Aorimn/dislocker/archive/refs/tags/v0.7.3.tar.gz
Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/b1ba1098c95535574936051eca45cc472955a5a024b81cc72e1c3b006e1950b3--dislocker-0.7.3.tar.gz
==> Installing dislocker-mac from gromgit/fuse
==> Applying non-DATA patches
==> Applying 2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch
Initialized empty Git repository in /private/tmp/dislocker-mac-20250215-32462-zh1akh/dislocker-0.7.3/.git/
==> Applying DATA patches
==> Entering interactive mode...
Type `exit` to return and finalize the installation.
Install to this prefix: /opt/homebrew/Cellar/dislocker-mac/0.7.3_2
This directory is now a Git repository. Make your changes and then use:
  git diff | pbcopy
to copy the diff to the clipboard.
% git diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bd854d2..9ab137d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -92,7 +92,7 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
        # Don't use `-read_only_relocs' here as it seems to only work for 32 bits
        # binaries
        set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-bind_at_load")
-       set (FUSE_LIB osxfuse_i64)
+       set (FUSE_LIB fuse)
 else()
        # Useless warnings when used within Darwin
        set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wconversion")
diff --git a/src/dislocker-fuse.c b/src/dislocker-fuse.c
index f93523f..3dd106c 100644
--- a/src/dislocker-fuse.c
+++ b/src/dislocker-fuse.c
@@ -33,11 +33,7 @@

-#ifdef __DARWIN
-# include <osxfuse/fuse.h>
-#else
-# include <fuse.h>
-#endif /* __DARWIN */
+#include <fuse.h>

 /** NTFS virtual partition's name */
```
2025-02-18 18:12:35 +08:00
Mike McQuaid
156ce5b9dc
Revert "cmd/info: only display keg info if tap matches" 2025-02-18 08:35:04 +00:00
Douglas Eichelberger
0a8c8e2c50 Fix test 2025-02-17 19:11:48 -08:00
BrewTestBot
bd5ff8b41a Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-02-17 18:56:31 -08:00
BrewTestBot
fe6cd6744a brew vendor-gems: commit updates. 2025-02-17 18:56:31 -08:00
Douglas Eichelberger
bafce2a81f Exclude lint_roller from git and rbi_generation 2025-02-17 18:56:31 -08:00
Douglas Eichelberger
8763fb6d29 Resolve rubocop violations 2025-02-17 18:56:31 -08:00
dependabot[bot]
a1b24c5675 build(deps-dev): bump rubocop from 1.71.2 to 1.72.2 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.71.2 to 1.72.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.71.2...v1.72.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 18:56:31 -08:00
Patrick Linnane
5f4d8f2c49
Merge pull request #19316 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-02a8d8691f
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-02-17 18:37:53 +00:00
Patrick Linnane
e57de22cd3
Merge pull request #19319 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.23.11
build(deps-dev): bump ruby-lsp from 0.23.10 to 0.23.11 in /Library/Homebrew
2025-02-17 18:36:20 +00:00
BrewTestBot
41c5397609
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-02-17 18:24:29 +00:00
BrewTestBot
2349261325
brew vendor-gems: commit updates. 2025-02-17 18:24:20 +00:00
BrewTestBot
1fb569d4e9
brew vendor-gems: commit updates. 2025-02-17 18:24:00 +00:00
BrewTestBot
f919f639cb
brew vendor-gems: commit updates. 2025-02-17 18:23:50 +00:00
dependabot[bot]
4ffd5021dc
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.10 to 0.23.11.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.10...v0.23.11)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 18:16:04 +00:00
dependabot[bot]
de82e4187c
build(deps-dev): bump rexml from 3.4.0 to 3.4.1 in /Library/Homebrew
Bumps [rexml](https://github.com/ruby/rexml) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.4.0...v3.4.1)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 18:15:43 +00:00
dependabot[bot]
8b49291ed0
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.11826 to 0.5.11834
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

Updates `sorbet-static` from 0.5.11826 to 0.5.11834
- [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-17 18:15:30 +00:00
Sean Molenaar
22ed703c2b fix: use bottle naming for sha256
Signed-off-by: Sean Molenaar <smillerdev@me.com>
2025-02-17 14:30:44 +01:00
Rylan Polster
f874603a21 Add implicit macOS dependency to casks without explicit depends_on stanza 2025-02-17 14:30:44 +01:00