38785 Commits

Author SHA1 Message Date
Mike McQuaid
beb9799265
cmd/untap: fix untapping syntax failure.
If an installed cask is invalid on attempting an untap: it will
prevent untapping that cask.

Fix this in two ways: one more specific to `untap` and one more
generally to other commands too:
- specific: only read the actual formulae/casks from the tap we're
  untapping instead of all of those that are installed
- general: rescue more exceptions in `Cask::Caskroom.casks` (like we
  already do for `Formula.installed`
2023-12-13 13:54:37 +00:00
Mike McQuaid
ef934391f7
Merge pull request #16328 from MikeMcQuaid/cask_full_name
Cask#full_name: properly output Homebrew org names
2023-12-13 13:35:02 +00:00
Mike McQuaid
79a6091d08
Cask#full_name: properly output Homebrew org names
This was not returning the full name correctly for e.g. anything in
Homebrew/homebrew-fonts.

While we're here, fix up a few other places where `tap.core_cask_tap?`
can be used more appropriately.
2023-12-13 13:17:12 +00:00
Mike McQuaid
cd8a9c02cb
Merge pull request #16301 from apainintheneck/update-pinned-formula-messaging
cmd/pin: Update pinned formula messaging
2023-12-13 12:17:21 +00:00
Mike McQuaid
d0da6bdf7c
cmd/upgrade: deprecate --ignore-pinned. 2023-12-13 12:03:54 +00:00
Mike McQuaid
ecf4045348
Merge pull request #16324 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-12-13 11:58:53 +00:00
apainintheneck
9a00f2795d cmd/upgrade: Error when attempting to explicitly upgrade a pinned pkg
The idea here is that it should be expected that `brew upgrade` will
not upgrade pinned packages but will attempt to upgrade everything else.
For that reason, it will only show a warning about pinned packages
in that case.

If, on the other hand, you pass the name of a pinned package explicitly
to the upgrade command, like in `brew upgrade PINNED`, we want to show
an error since we cannot upgrade that package until it gets unpinned.
2023-12-13 00:15:00 -08:00
BrewTestBot
4d1322ad72
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-12-13 00:30:39 +00:00
Bo Anderson
de224796be
Merge pull request #16322 from Homebrew/dduugg-patch-1
Bump VENDOR_VERSION in gems.rb
2023-12-12 22:00:39 +00:00
Douglas Eichelberger
4c96eaf56f
Update gems.rb 2023-12-12 13:39:29 -08:00
Mike McQuaid
7755004325
Merge pull request #16320 from dduugg/use-native-except
Use native Hash#except, remove ActiveSupport 🐵-patch
2023-12-12 19:46:28 +00:00
Douglas Eichelberger
0ce84387fd Also remove Hash#slice! 2023-12-12 10:41:47 -08:00
Douglas Eichelberger
4a062b117c Rename block var 2023-12-12 10:19:58 -08:00
Douglas Eichelberger
2f22ad40c8 Add h Hash#except to gitignore list 2023-12-12 10:12:35 -08:00
Douglas Eichelberger
7ebee52614 Remove monkey-patched Hash#except 2023-12-12 10:12:01 -08:00
Douglas Eichelberger
e8d87fe256 Strict type livecheck/livecheck 2023-12-12 10:10:18 -08:00
Douglas Eichelberger
c75fc63d61 refactor out except! calls 2023-12-12 10:09:49 -08:00
Patrick Linnane
23f6ad6d10
Merge pull request #16319 from cho-m/docs-pip-search
docs: remove `pip search` recommendation
2023-12-12 10:08:05 -08:00
Michael Cho
f00c9277ae
docs: remove pip search recommendation
This is no longer supported and will just error with:
```
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search).
Please use https://pypi.org/search (via a browser) instead. See
https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods
for more information.
```
2023-12-12 12:21:35 -05:00
Bo Anderson
b3064d16c1
Merge pull request #16311 from Homebrew/dependabot/bundler/Library/Homebrew/addressable-2.8.6
build(deps): bump addressable from 2.8.5 to 2.8.6 in /Library/Homebrew
2023-12-12 16:41:22 +00:00
Bo Anderson
6938fb7781
Merge pull request #16316 from Bo98/goodbye-ruby-2.6
Sayonara Ruby 2.6
2023-12-12 16:15:27 +00:00
Bo Anderson
cd4a2862de
Merge pull request #16313 from Bo98/goodbye-2.6-gems
Remove vendored Ruby 2.6 gems
2023-12-12 16:14:04 +00:00
Mike McQuaid
4b90ac2116
Merge pull request #16318 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-12-12 09:12:42 +00:00
BrewTestBot
972a011a9e
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.
2023-12-12 08:48:04 +00:00
Mike McQuaid
9b58b12bb4
Merge pull request #16317 from yoshida-ryuhei/dev/update_completions_bundle
Improve fish completions of brew bundle
2023-12-12 08:47:12 +00:00
Ryuhei Yoshida
64fc295e38 :completions: Add brew-bundle-list 2023-12-12 16:07:37 +09:00
Ryuhei Yoshida
1029549b6a :completions: Add brew-bundle-install 2023-12-12 16:07:37 +09:00
Bo Anderson
688d87e839
Remove Ruby 2.6 & macOS system Ruby support code 2023-12-12 03:44:31 +00:00
Bo Anderson
e4b03d1de0
Merge pull request #16315 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-12-12 03:16:56 +00:00
BrewTestBot
73788ddab0
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-12-12 00:31:36 +00:00
Mike McQuaid
4c20298ea5
Merge pull request #16310 from EricFromCanada/dependency-warn-false
dependency: disable renamed formula warning
2023-12-11 19:29:41 +00:00
Eric Knibbe
77c23df526
dependency: disable renamed formula warning 2023-12-11 14:14:52 -05:00
Bo Anderson
0bc2028c44
Remove vendored Ruby 2.6 gems 2023-12-11 16:30:01 +00:00
Bo Anderson
5ee6e967da
Merge pull request #16306 from Bo98/4.2.0-deprecations
Deprecate, disable & delete code for Homebrew 4.2.0
2023-12-11 15:44:00 +00:00
Bo Anderson
df979295a9
Merge pull request #16294 from Bo98/ruby-3.1-minimum
Require Ruby 3.1
2023-12-11 15:42:29 +00:00
Mike McQuaid
439598073c
Merge pull request #16312 from Homebrew/sync-triage-config
Synchronize triage configuration
2023-12-11 15:37:17 +00:00
Mike McQuaid
cf8681247f
Merge pull request #16307 from Bo98/no-stderr-silence
cmd/vendor-install: don't silence stderr
2023-12-11 15:32:07 +00:00
BrewTestBot
40bb54bb83
triage-issues.yml: update to match main configuration 2023-12-11 15:15:41 +00:00
BrewTestBot
738839cf1b
Update RBI files for addressable.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-12-10 17:57:45 +00:00
BrewTestBot
ce78f52163
brew vendor-gems: commit updates. 2023-12-10 17:51:03 +00:00
dependabot[bot]
e7eb1858a9
build(deps): bump addressable from 2.8.5 to 2.8.6 in /Library/Homebrew
---
updated-dependencies:
- dependency-name: addressable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-10 17:48:15 +00:00
apainintheneck
b3a6e59f96 cmd/pin: Update pinned formula messaging
The hope is that this will be clearer and less annoying for users.

A user came to us a couple weeks ago stating that it was confusing
that the `brew upgrade` command printed an error when a pinned
formula had a new version available and didn't get upgraded.

This PR changes that message to a warning from an error. While looking
into this we found that there is another message that gets printed
when a package dependency doesn't get upgraded because it is pinned
and that got turned into a warning from a normal message. Honestly,
that should be more worrying for the user anyway; it could lead to
a program not working correctly in the worst case.

I also added a message to the `brew pin` command warning about
potential unintended behavior if a dependency gets pinned and another
package requires a newer version of it.

Lastly, I added a commented out deprecation notice for the
`brew upgrade --ignore-pinned` command since it's now the default.
2023-12-07 23:43:02 -08:00
Bo Anderson
7ba5480dff
cmd/vendor-install: don't silence stderr 2023-12-08 00:10:56 +00:00
Bo Anderson
b42256d286
Deprecate, disable & delete code for Homebrew 4.2.0 2023-12-07 23:42:13 +00:00
Bo Anderson
c32bd1c7cc
Merge pull request #16304 from Bo98/generic-service
utils/service: assume no service system during generic OS tests
4.1.25
2023-12-07 22:02:21 +00:00
Bo Anderson
03b6a83135
utils/service: assume no service system during generic OS tests 2023-12-07 20:58:01 +00:00
Mike McQuaid
8b984114b1
Merge pull request #16305 from Bo98/pour_bottle-api
Partially support `pour_bottle?` in API
2023-12-07 15:36:00 -05:00
Mike McQuaid
cd6f3fe56d
Merge pull request #16303 from Bo98/test-fixes
test: fix a couple failures on certain systems
2023-12-07 15:34:49 -05:00
Bo Anderson
fe011ca0f9
Partially support pour_bottle? in API 2023-12-07 18:05:41 +00:00
Bo Anderson
246a73b644
test: fix a couple failures on certain systems 2023-12-07 03:12:22 +00:00