4360 Commits

Author SHA1 Message Date
Rylan Polster
aaaf92b905
update-report: still report homebrew/core changes if they are updated 2021-07-17 12:48:02 -04:00
Rylan Polster
a1ecb02736
update-report: don't try to report Homebrew/core if not needed 2021-07-16 11:35:51 -04:00
Rylan Polster
2524e80196
Revert outdated changes to brew info 2021-07-14 18:20:23 -04:00
Rylan Polster
fb04053833
info: show accurate bottle information 2021-07-14 18:16:23 -04:00
Rylan Polster
3e01e02a02
Improvements based on code review 2021-07-14 10:19:29 -04:00
Rylan Polster
a0f7711ab6
update: don't update homebrew/core for preinstall if using JSON 2021-07-14 02:13:23 -04:00
Rylan Polster
91fffeeff6
info: show latest version 2021-07-14 00:26:09 -04:00
Dawid Dziurla
2a9f962747
Merge pull request #11691 from dawidd6/fetch-bottle-tag
fetch: add --bottle-tag flag
2021-07-13 18:51:42 +02:00
Dawid Dziurla
793371a348
fetch: add --bottle-tag flag 2021-07-13 18:03:04 +02:00
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
Allen Reese
128f63db53 reinstall: add support for the --git option 2021-06-30 10:16:46 -07: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