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
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
Mike McQuaid
68dbf12220
Revert "Make some of the bundle
commands Sorbet typed: true
"
2025-06-23 13:52:35 +01:00
Carlo Cabrera
6a7416c296
language/*: fix *_SHEBANG_REGEX
anchors
...
We should use `\A` to pick up shebangs at the start of files instead of
just anywhere in a given script.
See Homebrew/homebrew-core#227654 for an example where this can cause
problems.
2025-06-23 20:32:55 +08:00
Mike McQuaid
cfede01ea9
Merge pull request #20155 from Homebrew/core-caveats
...
rubocops/caveats: only apply dynamic logic check to core.
2025-06-23 08:17:08 +00:00
Mike McQuaid
984273be76
Merge pull request #20153 from Homebrew/brew-doctor-linux-cask-errors
...
Improve `brew doctor` warnings about `xattr` and cask quarantine
2025-06-23 08:07:30 +00:00
Mike McQuaid
afa5d50b36
rubocops/caveats: only apply dynamic logic check to core.
...
This doesn't really matter for non-API taps.
2025-06-23 08:58:34 +01:00
Mike McQuaid
a6b1d42488
Merge pull request #20154 from abitrolly/brew-audit-v-version
...
create: strip 'v' prefix from version
2025-06-23 07:30:03 +00:00
Eric Knibbe
2703f12875
Merge pull request #20150 from Homebrew/download_strategy-fossil
...
download_strategy: fossil now outputs `hash:`
2025-06-23 03:03:57 +00:00
Rylan Polster
2acd4e4293
Improve messaging with missing xattr
2025-06-22 18:59:52 +00:00
Eric Knibbe
8a4cac0238
download_strategy: fix cvs
checkouts
2025-06-22 14:38:19 -04:00
Eric Knibbe
7e79232512
download_strategy: fossil now outputs hash:
2025-06-22 14:38:19 -04:00
Rylan Polster
12e5e24ce3
Improve brew doctor
warnings about xattr
and cask quarantine
2025-06-22 14:24:22 -04:00
Anatoli Babenia
84505c714d
Fix brew style
"Prefer double-quoted strings"
2025-06-22 18:05:47 +03:00
Anatoli Babenia
eca98d036c
create: strip 'v' prefix from version
...
To fix subsequent `brew audit` error:
* line 8, col 3: Version v0.38.1 should not have a leading 'v'
2025-06-22 17:41:00 +03:00