Lionell
fb4db63e3b
Merge branch 'master' into license
2020-06-30 22:25:17 +08:00
EricFromCanada
68947f2af9
cmd/options: add flag to list a command's options
2020-06-28 12:42:23 -04:00
Lionell
5f6917ae7c
Merge branch 'master' into license
2020-06-28 02:07:53 +08:00
Michka Popoff
6eb80c67a4
install: add backtrace on failure
...
The error message might be useless alone
2020-06-27 09:59:56 +02:00
William Ma
1044cb91c3
Merge branch 'master' into integrate-uninstall-reinstall
2020-06-26 09:18:19 -04:00
EricFromCanada
910c85f782
docs: improve commands' help output
2020-06-25 12:01:52 -04:00
Lionell
ff7a80ebf5
Merge branch 'master' into license
2020-06-25 21:51:39 +08:00
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
...
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
Lionell
57fd1fdc7e
Merge branch 'master' into license
2020-06-25 13:42:27 +08:00
William Ma
e733fa16a2
uninstall: Refactor to use AbstractCommand instead of declaring a class method
2020-06-24 15:08:42 -04:00
William Ma
d1004c8143
reinstall: Add ability to reference casks from brew reinstall
2020-06-24 15:03:35 -04:00
William Ma
90c26dadc7
uninstall: Add ability to reference casks from brew uninstall
2020-06-24 11:59:55 -04:00
Mike McQuaid
1dbbb5e58c
Merge pull request #7789 from MLH-Fellowship/cask-integration
...
Integrate `--cache` and `home` with cask
2020-06-24 09:02:25 +01:00
William Ma
d0c138ad98
cache: Remove slashes from documentation
2020-06-23 11:50:50 -04:00
William Ma
efdf9ce1aa
style: Fix style
2020-06-23 09:50:45 -04:00
William Ma
27abc8c50b
home: Print info for each formula/cask opened
2020-06-23 09:44:17 -04:00
William Ma
11fbf9d035
cache: Add flags for printing only formulae or casks
2020-06-23 09:30:24 -04:00
William Ma
78ccb05166
Fix style issues
2020-06-22 16:07:18 -04:00
William Ma
2a11bcf501
rework error handling to show the error for both formula and cask loading
2020-06-22 15:39:15 -04:00
William Ma
0495281325
home: write tests using cask as argument
2020-06-22 10:46:59 -04:00
rmnull
0f4e61062c
brew info --analytics --days=30 and --days 30 both are valid. Added this for --category as well.
2020-06-20 02:09:22 +05:30
Mike McQuaid
936c178aed
Merge pull request #7767 from alebcay/commands-cache
...
Cache commands list for faster shell completions
2020-06-19 20:00:32 +01:00
William Ma
9b1d58c53c
cache: alert user when no formula or cask matches the argument
2020-06-19 14:00:26 -04:00
William Ma
46d344c0d1
home: print message when formula is not found
2020-06-19 11:46:33 -04:00
William Ma
ceb56df834
home: integrate brew home and cask home
2020-06-19 10:37:58 -04:00
William Ma
cf76f6e721
cache: integrate brew --cache and cask --cache
2020-06-19 10:37:31 -04:00
Sean Molenaar
3f6d3e5cf0
Support casks in readall
2020-06-18 20:15:07 +02:00
Caleb Xu
a53c92bd7f
Cache commands list for faster shell completions
2020-06-18 11:06:31 -04:00
Shaun Jackman
b4fc3ead1e
update-reset: Use the default branch origin/HEAD
...
Use the default branch of the repo, origin/HEAD.
2020-06-17 17:26:15 -07:00
Shaun Jackman
aeafbd1c8f
Merge pull request #7758 from sjackman/origin-head
...
update: Fetch the symbolic reference origin/HEAD
2020-06-17 17:09:23 -07:00
Lionell
f1cd404839
Merge branch 'master' into license
2020-06-17 22:58:12 +08:00
Mike McQuaid
748af9897e
Merge pull request #7738 from dankessler/infopath-fix
...
append colon (:) to end of INFOPATH for brew shellenv
2020-06-17 09:43:29 +01:00
Shaun Jackman
b5584fc035
update: Update the symbolic ref origin/HEAD
2020-06-16 23:20:04 -07:00
Misty De Meo
4305ff9602
vendor-install: upgrade to 2.6.3_2
2020-06-16 13:53:28 -07:00
Dan Kessler
30b04daa8a
append colon (:) to end of brew's part of INFOPATH in brew shellenv
...
The behavior of some programs (e.g., emacs) differs depending on
whether INFOPATH is terminated in a colon or not. For example, the
info viewer built into emacs has a default list of places from which
it will draw info files, and it will only check this if either (a)
INFOPATH is unset, or (b) INFOPATH ends in a colon.
Currently brew shellenv prepends to the existing $INFOPATH and will
separate with a colon if $INFOPATH already exists, but if it does not
it will not terminate in a colon. As a result, info
pages (like emacs and elisp) are missing from the info viewer.
The existing brew shellenv logic used a parameter expansion trick to
include a colon only if it was prepending to an extant INFOPATH, but
because we want brew's contribution to the INFOPATH to always end in a
colon (whether there's an existing INFOPATH or not), we don't have to
use the parameter expansion trick
This commit only changes behavior for "other" shells (i.e., not fish,
csh, or tcsh) since I don't know how to append a colon to variables in
these shells.
2020-06-12 20:47:43 -04:00
Lionell
8a6fa73dc1
Merge branch 'license' of https://github.com/MLH-Fellowship/brew into license
2020-06-13 01:04:39 +08:00
Misty De Meo
f4ff5a22f8
vendor-install: remove ARM
2020-06-10 13:08:09 -07:00
Misty De Meo
0c1cf592b7
Bump minimum OS to Yosemite
2020-06-10 13:08:01 -07:00
William Ma
864cc76b3b
Print license information in brew info
2020-06-10 12:29:54 -04:00
Mike McQuaid
0b6ae538d1
Merge pull request #7545 from maxim-belkin/keep_ruby_path_set
...
utils/ruby.sh: search PATH for Ruby on Linux. update.sh: keep HOMEBREW_RUBY_PATH set.
2020-05-27 15:19:12 +01:00
April Arcus
0b4febceaf
fix undefined variable interpolation in tcsh
2020-05-25 10:46:10 -07:00
Mike McQuaid
fd343c0578
cmd/info: fix missing formula reference.
...
Fixes #7639
2020-05-23 16:32:39 +01:00
Mike McQuaid
e1f3c8d2b3
Merge pull request #7579 from MikeMcQuaid/deprecations
...
Update deprecations
2020-05-23 14:38:10 +01:00
Mike McQuaid
11cf77be17
formula_installer: prelude before fetch.
...
This ensures that dependencies are verified and tapped before they are
fetched. `FormulaInstaller#lock` has been moved into
`FormulaInstaller#install` to avoid locking until necessary.
While we're here, don't compute dependencies before fetching if we're
not going to use them.
2020-05-23 13:40:13 +01:00
Mike McQuaid
4f75a77b08
Update deprecations
...
Add more deprecations, disable deprecations and remove disabled code.
2020-05-18 13:50:46 +01:00
Maxim Belkin
328c75fc33
Move logic related to HOMEBREW_RUBY_PATH to utils/ruby.sh
2020-05-15 10:30:45 -05:00
skim
bb27478de0
fixes uninstall if formula is unavailable
2020-05-13 17:56:36 -07:00
Shaun Jackman
133ee7966d
shell: Use .profile unless .bash_profile exists
2020-05-13 09:30:02 -07:00
Maxim Belkin
1cba5821fd
cmd/update.sh: define conditions for unsetting HOMEBREW_RUBY_PATH
2020-05-12 11:50:12 -05:00
Maxim Belkin
9124e07b54
cmd/update.sh: keep HOMEBREW_RUBY_PATH set when updating
2020-05-11 10:47:03 -05:00