hyuraku
a41a7c94d8
remove cask/cmd
2023-04-19 21:30:42 +09:00
hyuraku
869c8effb5
remocve Cask::Upgrade::OPTIONS
2023-03-09 20:41:26 +09:00
hyuraku
19f83ef67f
move cask/cmd/upgrade to cask/upgrade
2023-03-09 20:40:20 +09:00
Douglas Eichelberger
d56e2884aa
Enable typing in cmd/
2023-03-06 15:01:08 -08:00
Douglas Eichelberger
f9f73f3ef6
Tidy up
2023-02-27 21:42:47 -08:00
Douglas Eichelberger
1ab278f74c
Fix style/type violations
2023-02-27 20:34:07 -08:00
Douglas Eichelberger
0eccc0e987
git grep -l Utils::Inflection | xargs gsed -i 's|Utils::Inflection|Utils|g'
2023-02-27 20:18:27 -08:00
Douglas Eichelberger
3da68651e5
Port more call sites
2023-02-27 20:18:08 -08:00
Mike McQuaid
fbdec8738d
Warn more when building from source
...
We warn sometimes when we tell people to build from source and it's
not supported but we don't actually warn non-developers when invoking
the various install commands so: let's start doing so.
While we're here, also update the existing messaging to reflect the fact
we're on Mastodon now too and we don't want maintainers being
individually bothered about errors either.
I've tried to balance having messages here vs. having them be so long
at the beginning of installation that they will be missed or be overly
obnoxious.
2023-02-17 16:10:38 +00:00
EricFromCanada
dfc9906184
internal messaging fixes
2023-02-10 23:17:16 -05:00
Bo Anderson
9b99594753
Preliminary compatibility fixes for Ruby 3
2022-10-11 02:53:27 +01:00
Mike McQuaid
04ff6a18f4
Tweak --debug-symbols description.
2022-08-12 09:34:51 +01:00
Lukas Oberhuber
3d60d610dd
Merge branch 'master' into debug-symbols
2022-08-10 18:44:09 -10:00
fn ⌃ ⌥
71ab2f6e7a
Run periodic cleanup after installing all packages
2022-08-04 07:46:31 -07:00
Lukas Oberhuber
215e545660
brew style
2022-07-26 19:28:30 +01:00
Lukas Oberhuber
d195f22522
Connecting up --debug-symbols
flag
...
This connects the calling of dsymutil and the retention of temporary
files. Still need to connect compilation to flag.
2022-07-26 12:15:53 +01:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Rylan Polster
1e536217b2
Streamline loading casks from API
2022-06-15 16:35:49 -04:00
Bo Anderson
1d36c42fb7
Support offline usage under HOMEBREW_INSTALL_FROM_API
2022-06-14 16:06:05 -04:00
Mike McQuaid
11c5f8f05a
Improve discovery of some environment variables
...
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependents
- automatically reinstalling broken dependents
For each of these: let's improve the documentation of the commands
whose behaviour is changed and the environment variables themselves.
2021-11-25 09:10:59 +00:00
Rylan Polster
0b8032d421
Document HOMEBREW_INSTALL_FROM_API
2021-10-22 12:37:57 -04:00
fn ⌃ ⌥
8dc060c88b
upgrade: use greedy_* method parameters
2021-09-21 11:45:49 -07:00
Rylan Polster
50fac1737a
install: fix HEAD
installations with HOMEBREW_INSTALL_FROM_API
2021-09-17 23:46:28 -04:00
FnControlOption
eb16e10902
messages: record cask installations.
...
This is used to record installation times and also to determine
whether to display caveats.
2021-09-02 08:44:00 -07:00
EricFromCanada
c234d1ea03
upgrade: list upgradeable dependencies/migrations/cleanups on dry run
2021-08-31 12:27:14 -04:00
Rylan Polster
5d536d66fc
Rename HOMEBREW_JSON_CORE
to HOMEBREW_INSTALL_FROM_API
2021-08-27 00:24:15 -04:00
Rylan Polster
99635bf3ae
Remove need for homebrew/cask to be tapped
2021-08-14 16:17:26 -04:00
Rylan Polster
737dd1654b
Refactor API methods
2021-08-06 04:31:27 -04:00
Rylan Polster
1e34b69cd4
Prioritize installing from JSON if env var is set
2021-07-12 03:23:42 -04:00
Rylan Polster
e316c4f013
Rename Utils::BottleAPI
to BottleAPI
2021-07-05 11:45:15 -04:00
Rylan Polster
ca5f6026ed
Fix tests
2021-07-05 11:29:27 -04:00
Rylan Polster
36dd69dd60
Rename download_bottles
to fetch_bottles
2021-07-05 10:55:34 -04:00
Rylan Polster
22f986b89a
Install formulae from JSON files
2021-07-04 12:38:59 -04:00
Bo Anderson
3bf38a10ee
cmd/upgrade: fix --dry-run
...
Fixes #10909 .
2021-03-22 23:58:04 +00:00
Bo Anderson
d14a0bb131
Remove FormulaInstaller.prevent_build_flags
2021-03-22 16:11:27 +00:00
Bo Anderson
8e98ce69f3
Stricter handling of CLI args
2021-03-18 16:41:57 +00:00
Seeker
9a99c40e37
Fix remaining broken cask options in upgrade
2021-01-22 13:52:42 -08:00
António Meireles
19f41bddfd
Properly allow quarantine in 'upgrade'
...
issue was raised in #9139 for upgrade/reinstall --cask and was then
closed by #10284 . Issue is that #10284 only actually fixed the reinstall
command, leaving behindd the 'upgrade' one which this now fixes.
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2021-01-22 17:39:19 +00:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Rylan Polster
5286be91cb
Merge pull request #10229 from Rylan12/generate-completions
...
Generate bash completions automatically
2021-01-18 11:47:26 -05:00
Dawid Dziurla
332372469f
cmd: indicate multiple named args in usage banner
2021-01-15 13:04:00 +01:00
Rylan Polster
3af16832d9
Generate bash completions automatically
2021-01-15 00:03:28 -05:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Seeker
f476bcafcb
upgrade: show formula caveats after casks have been updated
2021-01-11 11:43:11 -08:00
Vítor Galvão
5dbe54d766
Docs: non-cask binaries are not overwritten by --force
2021-01-07 21:23:06 +00:00
Mike McQuaid
dc52ff620b
Merge pull request #10031 from hyuraku/only_path_formula_or_cask
...
add function to define path
2020-12-28 13:22:22 +00:00
Rylan Polster
bade687f11
upgrade: fix style in help text
2020-12-20 13:45:33 -05:00
hyuraku
0a97cd18a5
set default args
2020-12-17 21:14:18 +09:00
hyuraku
7be216fcbe
change function name
2020-12-17 21:07:43 +09:00
hyuraku
d7f9bb6247
add function to define path
2020-12-17 21:07:43 +09:00