4360 Commits

Author SHA1 Message Date
hyuraku
a43e47cfaf cmd/--cache: refactor 2020-12-28 23:14:22 +09:00
Mike McQuaid
1b4993c9ce
cmd/install: add comment to deprecate --env.
We don't allow this on upgrade or reinstall so let's make `StdEnv`
essentially a private, internal API.
2020-12-28 13:45:24 +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
Mike McQuaid
879589583d
Merge pull request #10095 from hyuraku/add-options-to-search
search: add two options
2020-12-28 13:21:10 +00:00
Rylan Polster
5b360f35c5 update-report: use gitconfig to remember last tag 2020-12-25 14:14:57 -05:00
Issy Long
90868fff34
cmd/list: Remove help text about -l displaying file sizes
- It doesn't work on the `HOMEBREW_CELLAR` dir for some reason, and
  using `du -sh` instead (PR 10131) was an extra call that we don't
  need.
- (I had to edit the man page manually as `brew man` gives me "Broken
  pipe" errors.)
2020-12-25 19:03:57 +00:00
Rylan Polster
a0e663d833 update: show either changelog or release noted link 2020-12-24 19:05:23 -05:00
Issy Long
2424e58b91
Merge pull request #10133 from issyl0/constrain-brew-list-lrt-options-to-formulae-only
cmd/list: Constrain `-lrt` options to formulae
2020-12-24 18:14:37 +00:00
Maxim Belkin
45d67ef13e
brew.sh: define minimum required Glibc version 2020-12-24 09:10:53 -06:00
Issy Long
1b4646dee4
cmd/list: Limit -lrt options to being passed with --formula
- These are documented as only working on formulae, but users expect the
  same options (long format, reverse order or sort by modified time) to
  be passed to both formulae and casks in the default `brew list`. The
  output looks weird as they're not. Hence, constrain these to be
  `--formula`-only.
- This was added originally in 5adb76a5babdccd2c4edfb8752ac979ed14716ca,
  but then disappeared.
2020-12-24 13:33:36 +00:00
Rylan Polster
9fd2319afa update-report: add links to changelog and blog 2020-12-23 12:06:28 -05:00
hyuraku
0b574eff90 search: add two options 2020-12-23 23:06:02 +09:00
Rylan Polster
bade687f11 upgrade: fix style in help text 2020-12-20 13:45:33 -05:00
Mike McQuaid
74fb058c7e
More deprecations
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00: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
Mike McQuaid
f453c12dd4
Merge pull request #10021 from EricFromCanada/preinstall-cask-summary
update-report: summarize updated casks for --preinstall
2020-12-16 09:44:20 +00:00
Maxim Belkin
a9eb00fe3e
Merge pull request #9545 from maxim-belkin/vendor-tools/fail-for-old-glibc
cmd/vendor-install.sh: fail on systems with old Glibc

Closes: Homebrew/brew#8658
2020-12-16 03:06:59 -06:00
Dawid Dziurla
d73fc480a7
Merge pull request #9489 from dawidd6/untap-force
untap: add --force switch
2020-12-15 18:48:41 +01:00
Maxim Belkin
e6c08bd9a5
vendor-install: wrap ldd-checking code in a function
and call it in `homebrew-vendor-install()` on Linux.
2020-12-15 08:34:28 -06:00
Maxim Belkin
40cd44a45f
cmd/vendor-install.sh: fail for old Glibc 2020-12-15 08:34:27 -06:00
EricFromCanada
1acb085574 update-report: summarize updated casks for --preinstall
Also, show less output if --quiet is passed.
2020-12-15 08:47:34 -05:00
Mike McQuaid
77561fccc2
Merge pull request #9501 from rgant/double-shallow-clone-check
Check for both shallow clones at the same time.
2020-12-14 12:31:20 +00:00
J Rob Gant
54546c5f8f
Update Library/Homebrew/cmd/update.sh
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
2020-12-11 19:27:54 -05:00
J Rob Gant
68e2e48b63
Update the variable names 2020-12-11 12:47:47 -05:00
J Rob Gant
e0c1f9d9d1
Better newlines 2020-12-11 12:43:23 -05:00
hyuraku
16d13fe086 add two options to cmd/home 2020-12-11 23:09:14 +09:00
Dawid Dziurla
6248ab7725
untap: add --force switch
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2020-12-10 22:37:45 +01:00
J Rob Gant
290179091a
If the eariler code produced multiple messages I wouldn't have complained. 2020-12-10 13:22:15 -05:00
J Rob Gant
e084ba762c
fix typo 2020-12-10 11:20:46 -05:00
J Rob Gant
91df36e67c
Check for both shallow clones at the same time. 2020-12-10 11:14:30 -05:00
Mike McQuaid
23fccdb380
Merge pull request #9483 from Homebrew/revert-9422-untap-force
Revert "untap: add --force switch"
2020-12-09 13:58:52 +00:00
Rylan Polster
fbcf943d8c
Merge pull request #9437 from Rylan12/uses-flags
uses: add --formula and --casks flags
2020-12-09 08:58:42 -05:00
Mike McQuaid
026381d359
Revert "untap: add --force switch" 2020-12-09 13:01:35 +00:00
Dawid Dziurla
37fe150284
Merge pull request #9422 from dawidd6/untap-force
untap: add --force switch
2020-12-09 12:28:00 +01:00
Dawid Dziurla
e397f388f3
untap: add --force switch
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2020-12-09 12:03:40 +01:00
Mike McQuaid
949095c247
Merge pull request #9425 from maxim-belkin/cmd-info-bottled-other-prefix
cmd/info.rb: correctly check whether the formula is bottled
2020-12-08 17:11:13 +00:00
Maxim Belkin
44cdb0f66c
info.rb: correctly check if the formula is bottled
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-12-08 10:26:07 -06:00
Rylan Polster
cb4e473384 uses: further cleanup formula/cask argument handling 2020-12-07 11:12:56 -05:00
Mike McQuaid
9d90ef29eb
cmd/update: improve shallow clone message. 2020-12-07 15:23:08 +00:00
Rylan Polster
eab1c2ca53 uses: cleanup formula/cask argument handling 2020-12-06 22:21:02 -05:00
Rylan Polster
e3427fa64f uses: add --formula and --casks flags 2020-12-06 11:45:30 -05:00
Dawid Dziurla
5f9140f8a8
untap: add --force switch
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2020-12-06 17:16:02 +01:00
Markus Reiter
e0aa934219 Ensure default cask tap is installed on CaskUnavailableError. 2020-12-05 03:25:58 +01:00
hyuraku
e2ce4ab1b6 add flags to deps --installed 2020-12-04 10:11:17 +09:00
Mike McQuaid
c23db73e36
Revert "add two flag to deps --installed" 2020-12-03 19:39:32 +00:00
hyuraku
33fccb46ca
add two flag to deps --installed 2020-12-03 16:54:17 +00:00
Mike McQuaid
086ac7f4f7
Merge pull request #9383 from MikeMcQuaid/update-no-shallow
update.sh: refuse to update shallow homebrew-core/cask clones.
2020-12-03 15:28:54 +00:00
Mike McQuaid
10e73164f0
update.sh: refuse to update shallow homebrew-core/cask clones.
GitHub has requested this as these are extremely expensive operations.
2020-12-03 08:42:09 +00:00