Eric Knibbe
f5c5d26173
cmd/dev-cmd: fetch HOMEBREW_EVAL_ALL for --eval-all
2025-07-03 12:59:12 -04:00
Peter Wu
770335f72e
Remove unused --force-auto-update option
...
Remove the `brew tap --force-auto-update` option and the
`force_auto_update` configuration file option from Homebrew Bundles.
Fixes #19856
2025-06-12 14:16:12 +02:00
Adrian Ho
7fe2f3b045
cmd/tap: don't stacktrace on user error
...
Resolves #19427 .
2025-03-05 17:32:35 +08:00
Ryan Rotter
ba67ccfc6e
tap command: correct helptext for --repair
2025-02-01 00:45:16 -05:00
Mike McQuaid
bbf5a9f479
env_config: use environment variables consistently
...
- use e.g. `$HOMEBREW_*` for cases where only the environment variable
is the entire backtick-quoted string
- use e.g. `${HOMEBREW_*}` for cases where the environment variable is
part of a backtick-quoted string to make clear what parts are variable
and what parts are not
- use `export HOMEBREW_*=...` for cases where we're talking about
setting the environment variable (because it likely needs to be
exported to work how they want)
Inspired by https://github.com/Homebrew/homebrew-bundle/pull/1579 making
similar changes for Homebrew/homebrew-bundle.
2025-01-27 14:21:27 +00:00
Ryan Rotter
5fdb1865f9
tap command: add -f alias to --force flag
2024-12-21 22:51:47 -05:00
Douglas Eichelberger
e1fdd2eda4
Enable strict typing in NamedArgs
2024-12-03 17:43:22 -08:00
Patrick Linnane
4b749546aa
cmd/tap: add missing require
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-07-14 23:20:50 -04:00
Douglas Eichelberger
841cfd9fdc
Port Homebrew::Cmd::Tap
2024-04-01 11:43:52 -07:00
Mike McQuaid
b1990ed4b6
Merge pull request #16863 from apainintheneck/memoize-installed-tap-loading-v2
...
Memoize installed tap loading v2
2024-03-12 08:36:09 +00:00
apainintheneck
fb8c0d2b30
s/Tap.select(&:installed?)/Tap.installed/
2024-03-08 23:22:00 -08:00
Mike McQuaid
9ac31827a0
Various brew update
behaviour improvements
...
- Output a message every time auto-update is run rather than a 3 second
timer. This makes it more obvious that Homebrew isn't just sitting
doing nothing for 2.9 seconds.
- Output a message when running `brew update` so Homebrew doesn't just
sit there silently doing nothing.
- Update all taps when `brew update` is run, not just those hosted on
GitHub. This makes it more obvious that people don't need to explictly
run `brew update` "just in case".
- As a result of this, remove `brew tap --force-auto-update` as it's no
longer necessary.
2024-03-08 16:21:09 +00:00
Markus Reiter
e08e873921
Only show installed taps in brew tap
output.
2024-02-28 20:18:55 +01:00
Markus Reiter
ab27efbd9d
Make Tap::each
respect the API.
2024-02-22 17:56:47 +01:00
Eric Knibbe
4662678b3b
cmd+dev-cmd: adjust description line breaks
...
Use to distinguish additional notes from initial explanation and usage info
2023-09-11 02:29:21 -04:00
Mike McQuaid
a1c9a21548
cmd/tap: remove --list-pinned option.
...
Not deprecating as it's broken and has been for several major versions.
2023-07-18 10:23:52 +01:00
Bo Anderson
8d1aabba81
tap: warn if tapping core taps under API mode
2023-07-05 21:57:00 +01:00
Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
Markus Reiter
bdd6523ce8
Deprecate appcast
.
2023-03-30 03:29:06 +02:00
EricFromCanada
dfc9906184
internal messaging fixes
2023-02-10 23:17:16 -05:00
Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
...
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.
Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
xxyzz
2e899da7c7
Add --no-force-auto-update
option to brew tap
...
Enable this option to delete `homebrew.forceautoupdate` git config option
2022-05-11 07:17:17 +08:00
Bo Anderson
6e37c67fba
Fix disabled args appearing in documentation.
2021-12-17 02:02:45 +00:00
Mike McQuaid
f65d525693
Deprecations/disables for 3.3.0/4.0.0.
...
Deprecate, disable and remove code for Homebrew 3.3.0 or 4.0.0
(whichever the next release ends up being).
2021-10-19 16:36:42 +01:00
XuehaiPan
63f2f6cca7
tap: allow to change tap remote with brew tap --custom-remote
2021-10-12 01:11:34 +08:00
Mike McQuaid
30a65342e8
Deprecate, disable, delete code for Homebrew 3.2.0
...
Do the usual deprecation, disable, delete dance for Homebrew 3.2.0.
2021-06-17 11:34:32 +01:00
Connor Mann
29d50f57b3
Add tap --shallow deprecation TODO
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-07 16:47:58 -04:00
Connor Mann
e649a7d09e
Update Library/Homebrew/cmd/tap.rb
...
Add tap --full deprecation TODO
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-07 16:47:58 -04:00
cnnrmnn
8f7621edb8
Remove trailing whitespace
2021-05-07 16:47:58 -04:00
Connor Mann
bfd4ddfa5a
Fix style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-07 16:47:58 -04:00
Connor Mann
986089d4f2
Fix style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-07 16:47:58 -04:00
Connor Mann
5b6b400c58
Remove deprecation comment
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-07 16:47:58 -04:00
Connor Mann
18bb644ce7
Remove deprecation comment
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-07 16:47:58 -04:00
Connor Mann
1e0551fca4
Add no-op message
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-07 16:47:58 -04:00
cnnrmnn
b5a7337b05
Add deprecation paths for tap --full/--shallow
2021-05-07 09:29:19 -04:00
cnnrmnn
674594f75c
Stop using shallow clones for taps
2021-05-06 10:10:56 -04:00
Rylan Polster
4bdc11ddc9
tap: fix renamed branches with brew tap --repair
2021-01-28 09:10:13 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Markus Reiter
a0d6f45bd7
Add signatures for cmd/tap
.
2020-11-29 22:37:24 +01:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
2bdf3deb6f
Reduce shallow clone usage
...
GitHub has requested we request our usage of shallow clones. As a
result:
- do default to shallow clones on CI
- do not do --shallow-since when setting up new repositories in
`brew update`
- do not support shallow clones of homebrew-core at all
We may consider in future unshallowing all clones unconditionally.
2020-10-09 09:57:04 +01:00
Markus Reiter
c61f4ce879
Pass args
correctly in brew tap
.
2020-07-31 19:34:22 +02:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
EricFromCanada
9d6eb41fc5
cmd/dev-cmd: misc. usage and wording fixes
2020-04-19 13:31:54 -04:00
Jonathan Chang
bec303de86
tap: update shallowing logic
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-04-11 22:41:04 +10:00
Jonathan Chang
945fb11d51
tap: default to --shallow on CI
2020-04-11 13:12:09 +10:00