Eric Knibbe
a7471e449e
cmd/info: fix brew info <formula>
2025-07-04 10:33:11 -04:00
Eric Knibbe
94606f343a
Merge pull request #20200 from Homebrew/consider-content-type
...
download_strategy: preserve cache upon text response
2025-07-04 02:18:45 +00:00
Eric Knibbe
eff4523074
download_strategy: preserve cache upon text response
2025-07-03 22:05:49 -04:00
Eric Knibbe
f5c5d26173
cmd/dev-cmd: fetch HOMEBREW_EVAL_ALL for --eval-all
2025-07-03 12:59:12 -04:00
Carlo Cabrera
57024a9f2d
Merge pull request #20195 from tyuwags/ask-option-refactoring
...
Ask option refactoring
2025-07-03 12:28:46 +00:00
Issy Long
4b85b24531
Merge pull request #20201 from Homebrew/fix-dry-run-install
...
Fix "undefined method 'name' for an instance of FormulaInstaller"
2025-07-03 10:47:12 +00:00
Issy Long
c7af63488d
Be more explicit that we want the formula name
2025-07-03 11:29:50 +01:00
Thibaut Hérault
ea240e5aad
Update Library/Homebrew/reinstall.rb
...
Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-07-02 15:43:24 -04:00
BrewTestBot
2e963b2e06
spdx: update license data.
...
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/spdx.yml ).
2025-07-02 00:17:54 +00:00
Issy Long
5310c5e730
Fix "undefined method 'name' for an instance of FormulaInstaller"
...
- Because `name` is not a method on `FormulaInstaller`, instead
`formula` shows the name.
- Fixes issue 20199.
Before:
```
$ brew install -n hello
Error: undefined method 'name' for an instance of FormulaInstaller
Warning: Removed Sorbet lines from backtrace!
Rerun with `--verbose` to see the original backtrace
/opt/homebrew/Library/Homebrew/install.rb:330:in 'Array#map'
/opt/homebrew/Library/Homebrew/install.rb:330:in 'Homebrew::Install.install_formulae'
```
After:
```
$ brew install -n hello
==> Would install 1 formula:
hello
```
2025-07-01 22:25:22 +01:00
Eric Knibbe
f92e961ff1
github_runner_matrix: fix skipped runner creation
2025-07-01 15:07:24 -04:00
Thibaut Hérault
a6aad3d12f
Update Library/Homebrew/upgrade.rb
...
Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-07-01 09:59:54 -04:00
thibhero
006d3779f3
returning early if upgradeable is blank
...
resolves #20197
2025-06-30 10:58:33 -04:00
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
Issy Long
019a799fae
Merge pull request #20128 from Homebrew/some-bundle-files-werent-typed-at-all
...
Make the remaining `bundle` files `typed: true`
2025-06-29 23:10:59 +00:00
Douglas Eichelberger
fb01c0fa96
Update another overly narrow return type
2025-06-29 11:30:06 -07:00
Douglas Eichelberger
004c0a2a6c
Refactor exec.rb type fixes
2025-06-29 09:02:24 -07:00
Branch Vincent
ba178a8f10
extend/ENV/super: set MATURIN_NO_INSTALL_RUST
2025-06-27 21:49:56 -07:00
Eric Knibbe
fe4f472c8d
Merge pull request #20187 from Homebrew/github-release-notes-link
...
dev-cmd/bump-formula-pr: release notes as proper html link
2025-06-28 00:14:45 +00:00
Bo Anderson
01c8e42ea8
Merge pull request #20190 from Homebrew/local-main-fix
...
cmd/update: ensure local branch moves to main
2025-06-27 23:52:58 +00:00
Issy Long
c3ec61b7cd
Merge pull request #20182 from Homebrew/some-bundle-files-werent-typed-at-all-but-now-some-are
...
Reapply "Make some of the `bundle` commands Sorbet `typed: true`"
2025-06-27 21:37:41 +00:00
Bo Anderson
98b7bc8d11
cmd/update: ensure local branch moves to main
2025-06-27 22:05:17 +01:00
Issy Long
a2e39c4814
Make Bundle::BrewDumper
more Homebrew-y
...
- https://github.com/Homebrew/brew/pull/20182#discussion_r2170422499
2025-06-27 18:15:37 +01:00
Bo Anderson
4dabf8da16
Merge pull request #20186 from Homebrew/origin-head-fix
...
cmd/update: ensure we update remote main ref
2025-06-27 16:57:41 +00:00
Štefan Baebler
5627a90652
dev-cmd/bump-formula-pr: release notes as proper html link
...
The release notes link is not rendered as a proper hyperlink, this fixes it.
Few examples of PRs with unclickable links:
* https://github.com/Homebrew/homebrew-core/pull/228256
* https://github.com/Homebrew/homebrew-core/pull/228263
* https://github.com/Homebrew/homebrew-core/pull/228267
2025-06-27 18:52:43 +02:00
Bo Anderson
7f3f3c2d55
cmd/update: ensure we update remote main ref
2025-06-27 17:45:04 +01:00
Mike McQuaid
7019df7481
Provide more leeway to file Tier 2/3 issues.
...
Let's still continue to tell people to not file some issues but allow
them to file others.
While we're here, let's me a bit more chill with the language here.
2025-06-27 15:27:26 +01:00
Mike McQuaid
c9d3df2e54
Merge pull request #20176 from Homebrew/migrate_core_main
...
cmd/update: improve homebrew-core `main` migration.
2025-06-27 08:28:04 +00:00
Mike McQuaid
53bb328cbc
Merge pull request #20183 from tyuwags/correcting-Refine-ask‐option-dependency
...
Correcting refine ask option dependency
2025-06-27 08:05:34 +00:00
thibhero
e731b572f3
correcting rescue to use installer and not formula
2025-06-27 03:50:26 -04:00
thibhero
f9dab1561a
removing debugging symbol
2025-06-26 19:13:02 -04:00
thibhero
9e131d0794
correcting error of installation dependency
...
resolves #20181
2025-06-26 19:12:39 -04:00
Issy Long
5fed8f4210
Make the remaining Bundle file Sorbet typed: true
2025-06-26 23:21:54 +01:00
Issy Long
0d40f48e8d
Reapply "Make some of the bundle
commands Sorbet typed: true
"
...
- This reverts commit 68dbf12220f9a52ddf5ca5eb3aa1b356aa42da3a that was
a revert of commit 68596ec720a50f44ae9c30c5806aa7f2d4bcc96f because I
put the RBI file in the wrong place and Tapioca got rid of it, causing
this week's release to be blocked.
2025-06-26 23:15:23 +01:00
thibhero
06cb0cd197
returning previously if there is no formulae to upgrade
...
resolves #20177
2025-06-26 13:06:57 -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
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
aa596d3e6b
cmd/update: improve homebrew-core main
migration.
...
Let's avoid people sticking on the master branch unnecessarily.
2025-06-26 12:13:48 +01: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
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
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