Bo Anderson
82eaabf7fe
api_hashable: retain access to global gitconfig
2025-06-14 01:54:12 +01:00
Mike McQuaid
6fb115d342
Merge pull request #20099 from Homebrew/more_update_main_changes
...
cmd/update*: more fixes to allow migration from `master` to `main`.
2025-06-13 16:25:56 +00:00
Mike McQuaid
08eae94955
cmd/update*: more fixes to allow migration from master
to main
.
...
We're not migrating Homebrew/brew to `main` yet but this will allow us
to ensure we have a `brew update` ready in future when we're ready to do
this.
2025-06-13 17:13:51 +01:00
Mike McQuaid
dfd0cc8d85
Merge pull request #20098 from Homebrew/hide_main_branches
...
Hide `main` branches from `brew tap-info` and `brew info`
2025-06-13 16:11:23 +00:00
Mike McQuaid
9494385745
Merge pull request #20102 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2025-06-13 13:35:16 +00:00
Mike McQuaid
3cb4ba8c26
Merge pull request #20101 from Homebrew/homebrew_actions_main
...
Use Homebrew/actions/*@main in Actions workflows
2025-06-13 13:33:52 +00:00
BrewTestBot
6105a241f8
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml ) workflow.
2025-06-13 13:23:02 +00:00
Mike McQuaid
be6cee3006
Use Homebrew/actions/*@main in Actions workflows
...
We've migrated Homebrew/actions to use the `main` branch now so let's
update these references.
2025-06-13 14:22:09 +01:00
Sam Ford
4a4f7a541a
Cask: Initialize yet more instance variables
...
I previously added some instance variables in `Cask::DSL` to its
`initialize` method but I missed some last time, so we still see
warnings like `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.`
This initializes more instance variables in `Cask` classes to resolve
other situations where this warning may occur. I've been testing this
for a while and haven't see any warnings with these changes but
there's always a chance that there's still more work to be done.
2025-06-13 08:32:56 -04:00
Mike McQuaid
af997ea2ad
Hide main
branches from brew tap-info
and brew info
...
These are basically as "default" as `master` now so we can hide them.
2025-06-13 12:09:02 +01:00
Rylan Polster
e66bb7ece5
Merge pull request #20092 from Homebrew/revert-20080-cask-variations-only-supported
...
Revert "Only generate cask variations for supported macOS configurations"
2025-06-12 16:43:59 +00:00
Mike McQuaid
ec539147a7
Merge pull request #20089 from Homebrew/revert-20079-fix-tests-only-files
...
Revert "Filter `brew tests` spec files appropriately for each OS"
2025-06-12 16:40:34 +00:00
Rylan Polster
54b349bb89
Revert "Only generate cask variations for supported macOS configurations"
2025-06-12 11:53:01 -04:00
Mike McQuaid
f234423913
dev-cmd/tests: fix require ordering.
...
This needs to happen after `setup_environment!` so that
`HOMEBREW_TEST_GENERIC_OS` is set and `OS.linux?` and `OS.mac?` both
`return false`.
2025-06-12 16:43:50 +01:00
Eric Knibbe
8063291f7c
Merge pull request #20090 from Lekensteyn/remove-force-auto-update-option
...
Remove unused --force-auto-update option
2025-06-12 13:51:36 +00:00
Mike McQuaid
1a5afaf739
Merge pull request #20082 from alex/strict-check-for-duplicate-prs
...
Add strict parameter to `GitHub::check_for_duplicate_pull_requests`
2025-06-12 13:23:17 +00:00
Mike McQuaid
50bdb40efb
Merge pull request #20080 from Homebrew/cask-variations-only-supported
...
Only generate cask variations for supported macOS configurations
2025-06-12 13:22:45 +00:00
Alex Gaynor
efa0c9554a
fixes #19828 -- added a strict parameter to GitHub::check_for_duplicate_pull_requests
2025-06-12 08:45:16 -04:00
Peter Wu
770335f72e
Remove unused --force-auto-update option
...
Remove the `brew tap --force-auto-update` option and the
`force_auto_update` configuration file option from Homebrew Bundles.
Fixes #19856
2025-06-12 14:16:12 +02:00
Bo Anderson
bf6f813492
dev-cmd/bump-formula-pr: handle null body
2025-06-12 04:48:15 +01:00
Eric Knibbe
bb0bb27591
Merge pull request #20081 from Homebrew/ignore-intel-only
...
cask/audit: skip caveats check for Intel-only casks
2025-06-12 02:13:30 +00:00
Rylan Polster
e5667cb5ae
Only generate cask variations for supported macOS configurations
2025-06-11 20:30:14 -04:00
Rylan Polster
e5495d097e
Add missing require
2025-06-11 19:56:37 -04:00
Rylan Polster
b242abfdf0
Fix cask API tests
2025-06-11 19:44:26 -04:00
Rylan Polster
ce72e34b19
Filter brew tests
spec files appropriately for each OS
2025-06-11 15:59:21 -04:00
Eric Knibbe
689ff373d8
cask/audit: skip caveats check for Intel-only casks
2025-06-11 15:56:07 -04:00
BrewTestBot
755353570d
data/schemas: update schema data.
...
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/schemas.yml ).
2025-06-11 15:39:36 +00:00
Mike McQuaid
8aeb93ec98
Merge pull request #20073 from Homebrew/attempt_master_to_main_migration
...
cmd/update: attempt migration from `master` to `main` branch.
2025-06-11 07:51:00 +00:00
Mike McQuaid
837b28ba79
cmd/update: attempt migration from master
to main
branch.
...
This should allow any repositories that change from `master` to `main`
to be automatically migrated by `brew update` without requiring manual
intervention or displaying errors to the user.
2025-06-11 08:38:32 +01:00
Eric Knibbe
721def31a5
Merge pull request #20075 from Homebrew/no-nested-depends_on
...
rubocops/cask/no_overrides: avoid nested `depends_on macos:`
2025-06-10 20:47:19 +00:00
Eric Knibbe
ea8152757e
rubocops/cask/no_overrides: avoid nested depends_on macos:
2025-06-10 14:31:58 -04:00
Mike McQuaid
8d4395118c
dev-cmd/contributions: improve CSV output.
...
Output messages to stderr when CSV output is enabled.
This allows doing `brew contributions --csv > contributions.csv` to
save the output to a file.
2025-06-10 17:28:21 +01:00
Mike McQuaid
144113318e
Merge pull request #20071 from Homebrew/brew_deps_output_warning
...
cmd/deps: add warning when not using runtime dependencies.
2025-06-10 15:41:25 +00:00
Mike McQuaid
d2f9677cde
cmd/deps: add warning when not using runtime dependencies.
...
This should provide clarify as to why the output may differ from a
formula's declared dependencies.
2025-06-10 15:55:39 +01:00
Mike McQuaid
e9f55a8f71
tests: default to API mode enabled.
...
While we're here, also add `brew tests --no-parallel` which I relied
on during testing.
Pretty much anywhere we rely on a stubbed formula on disk to work: we
need to disable the API.
2025-06-10 15:53:27 +01:00
BrewTestBot
c086bdcbba
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2025-06-10 00:29:54 +00:00
Bo Anderson
7b4ef99fed
Merge pull request #20062 from Homebrew/macos-26
...
Preliminary macOS 26 (Tahoe) support
2025-06-09 23:22:53 +00:00
Bo Anderson
b8e2cddbbd
Preliminary macOS 26 (Tahoe) support
2025-06-09 21:41:49 +01:00
Bo Anderson
ecd0d99001
Merge pull request #20063 from Homebrew/vendor-install-fail-fix
...
cmd/vendor-install: fix exit code handling for curl
2025-06-09 19:38:07 +00:00
Bo Anderson
57ed94c421
cmd/vendor-install: fix exit code handling for curl
2025-06-09 19:59:41 +01:00
Mike McQuaid
dc71b7c8f6
Cleanup extend/
directory usage.
...
- move some things out of `extend` that don't really fit there e.g.
`Module`s that are included but not doing any
overriding/monkeypatching
- move some code into `extend/os` to fix all remaining
`rubocop:todo Homebrew/MoveToExtendOS`s
- remove some unneeded `bundle` skipper code that doesn't really make
sense given our current bottling strategy
- extract some `Pathname` extensions to `extend/pathname` for separate
files
- move a `ENV` `Kernel` extension into `kernel.rb`
- `odeprecate` a seemingly unused backwards compatibility method
- move `readline_nonblock` from a monkeypatch to a
`ReadlineNonblock.read` method as its only used in one place
- fix up a link in documentation
2025-06-09 19:06:16 +01:00
Mike McQuaid
cc03340af3
Reduce Homebrew/brew CI warnings
...
- Remove a bunch of non-actionable/unnecessary noise in GitHub Actions
CI.
- Limit number of threads used to generate analytics API data to avoid
reproducible failures producing errors and requiring retries.
- Move to Debian Old Stable for testing non-system `glibc`.
- Remove unneeded core taps/updates.
- Improve naming of CI jobs to clarify purpose i.e. we're testing
things work on Linux, not Ubuntu specifically.
- Remove dedicated non-online/non-generic Linux `brew tests` jobs from
3 to 1.
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2025-06-09 12:47:22 +01:00
Rylan Polster
1f37a11b79
Merge pull request #20051 from Homebrew/internal-api-bare-minimum
...
Reduce the internal formula API to contain the bare minimum data
2025-06-06 16:45:40 +00:00
Mike McQuaid
fda164535e
Merge pull request #20059 from Homebrew/improve_caveats_completions
...
Improve completions (and elisp) output in caveats
2025-06-06 16:44:33 +00:00
Mike McQuaid
ff710f8191
Improve completions (and elisp) output in caveats
...
Instead of repeatedly outputting the same identical messages across
multiple packages and repeating them all for every package after they
were all installed: just output the identical messages in the final
caveats output instead.
2025-06-06 17:09:28 +01:00
Mike McQuaid
e7f667c198
cask_loader: improve error handling.
...
Handle weird edge cases where we try to read a cask from invalid paths.
2025-06-06 14:19:00 +01:00
Rylan Polster
73b64390b3
Use existing Utils::Bottles::Collector#specification_for
method
2025-06-05 12:38:15 -04:00
Rylan Polster
e83dc1cb3c
Fallback to older bottle hashes when viable
2025-06-05 11:32:47 -04:00
Eric Knibbe
0c4672a323
Merge pull request #20055 from Homebrew/cop-cask-url-verified
...
rubocops/cask/url: put keyword parameters on a new line
2025-06-05 15:32:32 +00:00
Eric Knibbe
c75122c694
rubocops/cask/url: put keyword parameters on a new line
2025-06-05 10:53:34 -04:00