Rylan Polster
e344cb6aff
Merge pull request #11648 from Rylan12/homebrew-json
...
Install formulae from JSON files
2021-07-13 02:54:49 -04:00
Mike McQuaid
0682239298
cmd/install: output missing formula name.
...
Otherwise if there's no search results then there's no indication what
was being searched for:
```
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
```
2021-07-12 12:07:10 +01:00
Rylan Polster
1e34b69cd4
Prioritize installing from JSON if env var is set
2021-07-12 03:23:42 -04:00
Nanda H Krishna
67b3562e9f
cmd/install: tweak --HEAD
description
2021-07-08 12:36:40 +05:30
Rylan Polster
b68e17552c
Only use BottleAPI::latest_pkg_version
with env var
2021-07-06 09:33:16 -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
Carlo Cabrera
d88576a89b
keg, cmd/--prefix: handle python3.10
2021-07-03 23:33:09 +01:00
Bevan Kay
9cf0a7409b
fix style
2021-07-03 11:58:16 +10:00
Bevan Kay
507fba73c4
update command line outputs
2021-07-03 11:57:32 +10:00
Bevan Kay
85082066f2
fix style
2021-07-01 23:02:15 +10:00
Bevan Kay
b1c70160f3
Split into two flags --greedy-latest and --greedy-auto-updates
2021-07-01 23:01:22 +10:00
Allen Reese
128f63db53
reinstall: add support for the --git option
2021-06-30 10:16:46 -07:00
Bevan Kay
057b3a3502
adds an option to skip unversioned casks in outdated and upgrade command
2021-06-30 11:13:21 +10:00
Alexander Bayandin
35288995bc
cmd/install: do not print similar error messages
2021-06-22 18:06:53 +01:00
hyuraku
af68ceff88
repair Diagnostic::Checks#all
2021-06-22 20:57:09 +09:00
Rylan Polster
46164a3054
Merge pull request #11555 from Rylan12/remove-homebrew-core
...
Allow for homebrew/core to be untapped
2021-06-18 16:05:24 -04:00
Rylan Polster
60203afdd5
Merge env variables into HOMEBREW_JSON_CORE
2021-06-18 12:10:26 -04:00
Rylan Polster
1d516b628b
Use #present?
and #blank?
to check env variable
2021-06-18 12:07:34 -04:00
Rylan Polster
2760d981d3
Allow for homebrew/core to be untapped
2021-06-17 14:18:43 -04: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
Rylan Polster
30be3e2340
Refactor install methods
2021-06-10 10:53:41 -04:00
Rylan Polster
08b44afcdf
cli/parser: allow options to be hidden
2021-06-08 22:02:32 -04:00
Rylan Polster
d60f549a48
info: add --bottle
option for JSON bottle info
2021-06-05 12:27:24 -04:00
Nanda H Krishna
47a549e944
Fix style using brew style --fix
2021-06-02 11:43:16 +05:30
Rylan Polster
d0f5a0832e
Merge pull request #11397 from cnnrmnn/add-link-head
...
Add `brew link --HEAD`
2021-05-26 11:46:58 -04:00
Connor Mann
074b2d65e4
Clean up and fix typecheck issue
2021-05-24 21:06:09 -04:00
Connor Mann
ef4c401687
Change kegs
map to array
2021-05-24 12:29:32 -04:00
Connor Mann
074facebd5
Start catching all nil kegs
2021-05-21 10:27:31 -04:00
Connor Mann
e977f3514d
Warn if no HEAD
keg installed w/ --HEAD
2021-05-21 09:33:29 -04:00
Connor Mann
b72f5ef353
Change brew link
to use to_latest_kegs
2021-05-20 12:58:44 -04:00
Connor Mann
3637924230
Fix style
2021-05-19 13:58:19 -04:00
Connor Mann
fe9a9bb24c
Rename to_keg
to to_default_kegs
2021-05-19 09:34:18 -04:00
Connor Mann
f23d4d4c75
Switch to using to_keg
and to_kegs
2021-05-18 11:00:17 -04:00
Connor Mann
d46881c5e2
Rename to_kegs
to to_keg
2021-05-18 09:52:19 -04:00
Connor Mann
f92300f129
Update Library/Homebrew/cmd/link.rb
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-18 09:35:05 -04:00
Gautham Goli
e4118bc4ca
Fix shellcheck style errors
2021-05-18 17:10:20 +05:30
Connor Mann
212b64836f
Update usage message
2021-05-17 12:42:06 -04:00
Connor Mann
8de9baa0f5
Add brew link --HEAD
2021-05-17 11:28:15 -04:00
Mike McQuaid
02a344d432
Merge pull request #11368 from cnnrmnn/add-leaves-flags
...
Add leaves --installed-on-request and --installed-as-dependency flags
2021-05-13 13:33:29 +01:00
Mike McQuaid
d849b5018d
cmd/leaves: tweak naming.
2021-05-13 13:15:40 +01:00
cnnrmnn
c20c7c8be5
Make flags mutually exclusive
2021-05-12 10:37:59 -04:00
cnnrmnn
8764c4fc21
Fix proc coercion
2021-05-12 10:08:11 -04:00
Connor Mann
e4e641cd77
Update Library/Homebrew/cmd/leaves.rb
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-12 10:05:02 -04:00
Connor Mann
47a64822ba
Update Library/Homebrew/cmd/leaves.rb
...
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-05-12 09:36:51 -04:00
Mike McQuaid
b914411ac8
Delete Bintray code
...
Remove all code related to Bintray. It no longer works so there's no
point keeping it around.
Some of this could arguably be deprecated/disabled first/instead but:
I'm not sure I see the sense in keeping stuff around that's known to be
broken.
2021-05-12 13:37:18 +01:00
cnnrmnn
5cc98d2819
Add --installed-(on-request/as-dependency) flags
2021-05-11 17:32:24 -04:00
John Bampton
1691e615fe
Fix spelling
2021-05-08 11:20:01 +10:00