thibhero
e3cc36a8b9
guard if keg or linked is nil
2025-06-30 10:57:41 -04:00
thibhero
c7f7ab5631
duplicate in ask_formulae
2025-06-29 23:29:18 -04:00
thibhero
c5036f3bba
removing debugging symbols
2025-06-29 23:24:04 -04:00
thibhero
dfab4bbab2
removing formula previously updated
2025-06-29 23:18:38 -04:00
Mike McQuaid
4fd7c6fa8d
Merge pull request #20174 from Homebrew/remove-migrated-symlinks
...
cask/installer: remove migration symlinks on uninstall
2025-06-26 14:52:14 +00:00
Mike McQuaid
66c11afa7c
Merge pull request #20175 from Homebrew/migrate_brew_cask_main
...
cmd/update: improve Homebrew/brew and homebrew-cask `main` migration.
2025-06-26 14:49:34 +00:00
Eric Knibbe
29122c0008
cask/installer: remove migration symlinks on uninstall
2025-06-26 10:37:52 -04:00
Mike McQuaid
c86a5a1b74
Merge pull request #20156 from abitrolly/url-from-latest-release
...
create: detect URL from latest release if it isn't archive
2025-06-26 13:02:56 +00:00
Anatoli Babenia
3e36e98db3
create: detect URL from latest release if it isn't archive
...
Detects source archive for GitHub URL without version. Both releases
and tags share the same URL pattern for source archive
https://github.com/Homebrew/brew/releases
https://github.com/Homebrew/brew/tags
2025-06-26 15:07:51 +03:00
Mike McQuaid
f649587d51
cmd/update: improve Homebrew/brew main
migration.
...
Let's avoid people sticking on the `master` branch unnecessarily.
2025-06-26 12:11:11 +01:00
Mike McQuaid
b87d2887fe
Merge pull request #20033 from tyuwags/master
...
Refine ask‐option dependency resolution and strengthen tests
2025-06-26 10:52:46 +00:00
Mike McQuaid
dfe8fde704
Merge pull request #20172 from Homebrew/cask_main
...
docs: homebrew-cask's default branch is now `main`
2025-06-26 10:37:05 +00:00
Mike McQuaid
db45e81d88
Merge pull request #20173 from Homebrew/named_args_old_tokens_warning
...
cli/named_args: don't warn about old tokens overlapping.
2025-06-25 16:38:07 +00:00
Mike McQuaid
c36389165c
cli/named_args: don't warn about old tokens overlapping.
...
This avoids e.g.
```
Warning: Treating angband as a formula.
For the cask, use homebrew/cask/angband-app or specify the `--cask` flag.
To silence this message, use the `--formula` flag.
```
when running `brew install angband`.
2025-06-25 17:24:35 +01:00
Mike McQuaid
f1e458a36a
Merge pull request #20117 from botantony/no_autobump
...
docs: add autobump related documentation
2025-06-25 15:27:51 +00:00
Mike McQuaid
505428e03b
docs/Formula-Cookbook: use autobumped terminology.
2025-06-25 15:42:24 +01:00
Mike McQuaid
9fa50e5e12
Merge pull request #20168 from tyuwags/json-update-migrator
...
updating json with `cask/migrator`
2025-06-25 14:41:41 +00:00
botantony
a85a9b84bb
rubocop.yml: add autobump_constants.rb
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-25 15:36:51 +02:00
botantony
0fb87af72c
autobump_constants: split NO_AUTOBUMP_REASONS_LIST
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-25 15:31:18 +02:00
Anton Melnikov
75146e032c
docs: suggestions from code review
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-06-25 15:30:06 +02:00
Mike McQuaid
b63ad37eeb
cask/migrator: tweak syntax.
2025-06-25 08:54:05 +01:00
Mike McQuaid
ec61b49ee9
docs: homebrew-cask's default branch is now main
...
Adjust documentation accordingly.
2025-06-25 08:50:36 +01:00
Mike McQuaid
ca510da620
Merge pull request #20169 from boblail/lail/invalidate-download-cache-logging
...
download_strategy: Add logging when a cached download is being ignored
2025-06-25 07:44:04 +00:00
Bob Lail
048f58123f
download_strategy: Add logging when a cached download is being ignored
2025-06-25 08:32:02 +01:00
Rylan Polster
36ae1ee429
Merge pull request #20170 from Homebrew/spdx-update
...
spdx: update license data.
2025-06-25 00:56:15 +00:00
BrewTestBot
71d788e156
spdx: update license data.
...
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/spdx.yml ).
2025-06-25 00:18:16 +00:00
Patrick Linnane
2c89b70f28
Merge pull request #20159 from Homebrew/paths_d_homebrew
...
package/scripts/postinstall: add Homebrew to PATH.
2025-06-24 20:27:16 +00:00
Patrick Linnane
f32f391fc4
Merge pull request #20165 from Homebrew/more_tab_types
...
tab, cask/tab: add more Sorbet types and signatures.
2025-06-24 20:27:11 +00:00
Patrick Linnane
f4491e0c8f
Merge pull request #20167 from Homebrew/update_report_display_descriptions
...
cmd/update-report: display descriptions for new formulae and casks.
2025-06-24 20:26:47 +00:00
thibhero
f34f1c4a33
updating json to add old_token when a migration is made
2025-06-24 12:03:41 -04:00
Mike McQuaid
28753ef002
cmd/update-report: display descriptions for new formulae and casks.
...
This parses Homebrew's API JSON data to display descriptions for new
formulae and casks if available.
While we're here also add tests for ReporterHub.
2025-06-24 16:59:24 +01:00
Mike McQuaid
3495ea576c
Merge pull request #20166 from Homebrew/sync-default-branches-force
...
workflows/sync-default-branches: force push instead of force-with-lease.
2025-06-24 15:29:14 +00:00
Mike McQuaid
b391d6f366
Merge branch 'main' into sync-default-branches-force
2025-06-24 15:58:51 +01:00
Mike McQuaid
f89387ac39
workflows/sync-default-branches: force push instead of force-with-lease.
...
Force-with-lease doesn't work as expected with a shallow clone.
2025-06-24 15:58:28 +01:00
Mike McQuaid
05c7b65f54
tab, cask/tab: add more Sorbet types and signatures.
...
I bailed before going all the way to `typed: strict` but this should at
least improve things and fix:
`Library/Homebrew/tab.rb:111: warning: The class Tab reached 8 shape variations, instance variables accesses will be slower and memory usage increased.`
2025-06-24 12:06:55 +01:00
Mike McQuaid
1ecd060b38
Merge pull request #20164 from Homebrew/more_master_to_main
...
Switch to using `main` as the default branch
2025-06-24 10:59:42 +00:00
Mike McQuaid
f83c5ee2ed
workflows/sync-default-branches: speed up with partial clone.
...
Let's avoid doing a full clone and instead use a partial clone and a
`git ls-remote` to get the target SHA and just push that without needing
to fully fetch it.
2025-06-24 11:46:49 +01:00
Mike McQuaid
d661cffc1f
Switch to using main
as the default branch
...
Homebrew/brew has moved to a `main` default branch so we can more move
references from `master` to `main`.
2025-06-24 11:14:57 +01:00
Mike McQuaid
e42084dc6f
Merge pull request #20163 from Homebrew/brew-doctor-xattr-linux-check
...
Remove redundant `xattr` doctor check on systems without quarantine support
2025-06-24 09:22:19 +00:00
Rylan Polster
426da94cc9
Remove redundant xattr
doctor check on systems without quarantine support
2025-06-24 03:07:04 +00:00
Mike McQuaid
27b9bf2377
Merge pull request #20161 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2025-06-23 16:06:13 +00:00
Mike McQuaid
2c16fe9184
Merge pull request #20160 from Homebrew/mcp_server_eof
...
mcp_server: fix EOF handling.
2025-06-23 16:04:29 +00:00
Mike McQuaid
818662352c
mcp_server: fix EOF handling.
...
We need to handle when `stdin` is closed but there's no interrupt
signal.
Without this, the server will be stuck an in infinite busy loop.
2025-06-23 16:50:39 +01:00
BrewTestBot
af14bcb69b
Update manpage and completions.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2025-06-23 15:45:42 +00:00
Mike McQuaid
4759ca9430
Merge pull request #20134 from Homebrew/homebrew_core_cask_name_audit
...
audit: ensure that official formula and cask names don't conflict.
2025-06-23 15:33:00 +00:00
Mike McQuaid
55f65ec375
audit: ensure that official formula and cask names don't conflict.
...
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2025-06-23 16:08:13 +01:00
Mike McQuaid
a9faa2cd8e
package/scripts/postinstall: add Homebrew to PATH.
...
This is automatic for `/usr/local/bin/brew` but let's do it manually
for `/opt/homebrew/bin/brew` too.
2025-06-23 15:16:49 +01:00
botantony
0dc48348af
docs: add autobump-related documentation
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-06-23 15:06:37 +02:00
Mike McQuaid
c19f08b3e8
Merge pull request #20158 from Homebrew/revert-20145-some-bundle-files-werent-typed-at-all-but-now-some-are
...
Revert "Make some of the `bundle` commands Sorbet `typed: true`"
4.5.8
2025-06-23 13:04:48 +00:00
Carlo Cabrera
d590e398fc
Merge pull request #20157 from Homebrew/shebang-regex
...
language/*: fix `*_SHEBANG_REGEX` anchors
2025-06-23 13:02:21 +00:00