Markus Reiter
132a87aff5
Rename Tap#repo_var
to Tap#repo_var_suffix
.
2024-02-23 16:02:29 +01:00
Markus Reiter
ab27efbd9d
Make Tap::each
respect the API.
2024-02-22 17:56:47 +01:00
Mike McQuaid
89fd6964f9
Merge pull request #16715 from reitermarkus/tap-ensure-installed
...
Clean up `Tap#ensure_installed!` usage.
2024-02-22 08:47:48 +00:00
Markus Reiter
9f5e1f2870
Clean up Tap#ensure_installed!
usage.
2024-02-21 03:21:02 +01:00
Markus Reiter
771193c80a
Ensure readall
runs without API.
2024-02-20 20:44:14 +01:00
Mike McQuaid
d33efcda9c
Merge pull request #16556 from PauloPhagula/patch-1
...
fix: use recommended way of updating Fish shell $PATH
2024-02-19 14:44:49 +00:00
Sharon Azriel
a1fbbc323a
[update.sh] New test with protection of Homebrew directory
2024-02-13 10:02:18 +02:00
sazriel26
807b3e3394
Update Library/Homebrew/cmd/update.sh
...
https://github.com/Homebrew/brew/pull/16289#discussion_r1448765696
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:18 +02:00
Sharon Azriel
835762b289
Ready for review?
2024-02-13 10:02:18 +02:00
sazriel26
3d0f543b63
Update Library/Homebrew/cmd/update.sh
...
Remove one empty line?
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:18 +02:00
Sharon Azriel
d9a38e76a9
Brew style --fix (applied)
2024-02-13 10:02:18 +02:00
Sharon Azriel
4a37e81179
Rewrite of branching tests in parsing URL
2024-02-13 10:02:18 +02:00
Sharon Azriel
2833a217e9
[Library/Homebrew/cmd/update.sh] Add support for token provided w/o user in URL
2024-02-13 10:02:18 +02:00
Sharon Azriel
3619636f7f
[Library/Homebrew/cmd/update.sh] Release Candidate for pull request
2024-02-13 10:02:18 +02:00
Sharon Azriel
53c261814e
Fix brew style on update.sh (2)
2024-02-13 10:02:18 +02:00
Sharon Azriel
02a8de72d6
Fix brew style on update.sh
2024-02-13 10:02:17 +02:00
Sharon Azriel
07287982f2
Fix missing ;
2024-02-13 10:02:17 +02:00
Sharon Azriel
01d1e9b228
New implementation through BASH regexes match
2024-02-13 10:02:17 +02:00
sazriel26
a1e9e93902
Update Library/Homebrew/cmd/update.sh
...
better wording
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:17 +02:00
Sharon Azriel
154a8c398b
Release Candidate 2
2024-02-13 10:02:17 +02:00
Sharon Azriel
e24027ea57
Release Candidate 1
2024-02-13 10:02:17 +02:00
Sharon Azriel
c83172c8f4
[update.sh] Parse local token in git remote.origin.url config
2024-02-13 10:02:17 +02:00
Markus Reiter
29179e45a1
Refactor rename/migration handling in Formulary
.
2024-02-06 00:52:38 +01:00
Eric Knibbe
e63b1f4da5
docs: monospace suggested values
2024-02-04 15:42:26 +01:00
Paulo Phagula
8ae063acb1
Remove unnecessary pre-setting of PATH
2024-02-04 13:51:45 +01:00
Paulo Phagula
cf4876ac41
Use -P flag to Manipulate $PATH directly.
...
Based on https://github.com/Homebrew/brew/pull/7215
2024-02-04 13:51:45 +01:00
Paulo Phagula
dc4c827a51
fix: use recommended way of updating Fish shell $PATH
...
Akin to https://github.com/Homebrew/brew/pull/11349
2024-02-04 13:51:45 +01:00
Douglas Eichelberger
8156c5d140
Audit remaining commands
2024-01-31 20:02:33 -08:00
Michael Cho
6bc6aae0ca
cmd/upgrade: rename arg to installed_formula/cask
...
This avoids running `brew outdated` in shell completions, which is
noticeably slow.
2024-01-24 12:45:49 -05:00
Mike McQuaid
36024e2a4d
Merge pull request #16506 from MikeMcQuaid/adjust_installfromapimessage
...
cmd/update-report: adjust installfromapimessage.
2024-01-19 19:20:04 +00:00
Issy Long
c63723bd7d
Merge pull request #16501 from issyl0/rubocop-new-rules-style-redundant-freeze
...
Fix RuboCop `Style/RedundantFreeze` offenses
2024-01-19 15:05:08 +00:00
Mike McQuaid
6a8ac2bd0e
cmd/update-report: adjust installfromapimessage.
...
Only warn about `HOMEBREW_NO_INSTALL_FROM_API` and make this a one-time
message.
Fixes #16481
2024-01-19 08:55:03 +00:00
Kevin
5a297a7dd5
Merge pull request #16499 from p-linnane/vendor-install-wording
...
cmd/vendor-install: adjust wording
2024-01-18 21:49:49 -08:00
Issy Long
f682147598
Fix RuboCop Style/RedundantFreeze
offenses
2024-01-18 22:20:01 +00:00
Patrick Linnane
532fdc0f73
cmd/vendor-install: adjust wording
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-01-18 09:41:19 -08:00
Mike McQuaid
fd9775d512
cmd/vendor-install: fix some elses.
...
The logic in #16495 wasn't quite right.
2024-01-18 17:35:47 +00:00
Mike McQuaid
ebfa93c949
cmd/vendor-install: undocumented option to allow setting processor.
...
This can be useful when testing fetch on a different processor than the
one the user is running on.
While we're here, refactor code run on `source` to need a function call
instead.
2024-01-18 14:38:56 +00:00
Patrick Linnane
3fdba532a2
various: fix miscellaneous typos
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-01-12 10:56:49 -08:00
Mike McQuaid
11e4b66dcf
Merge pull request #16456 from Bo98/formulary-platform-cache
...
Introduce Formulary platform cache
2024-01-09 11:24:22 +00:00
Bo Anderson
310b5ecbe7
Introduce Formulary platform cache
2024-01-09 11:12:49 +00:00
Mike McQuaid
06752f032f
cmd/*env-sync: use *ENV_ROOT
...
Fixes https://github.com/Homebrew/brew/issues/16428
2024-01-09 10:13:33 +00:00
apainintheneck
b79778229c
Resolve Cask::Cask.all todo
...
Now it takes the :eval_all parameter that means we can remove
ARGV handling inside Cask::Cask.all.
2023-12-21 21:55:16 -08:00
Rylan Polster
641a80475e
Update cask logic to handle deprecations and disables
2023-12-16 20:01:47 -05:00
Bo Anderson
89531e9ff3
Update all dependencies
2023-12-15 16:24:46 +00:00
Mike McQuaid
fbd3d4e48a
cmd/untap: be more careful about formula tap.
...
`Formula#any_version_installed?` doesn't consider taps so we need to
manually check the tabs from the kegs instead.
See https://github.com/Homebrew/brew/pull/16330#issuecomment-1854007492
onwards for relevant discussion.
2023-12-13 15:24:37 +00:00
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
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
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
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