Markus Reiter
c470a6ff43
Pass args
directly to prevent_build_flags
.
2020-07-30 03:21:12 +02:00
Markus Reiter
20bd4280ff
Pass args.cc
to Install
.
2020-07-30 03:21:12 +02:00
Markus Reiter
620ca4177e
Pass args
to FormulaInstaller
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
919adcc216
Pass args
in update-report
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
e14506e589
Pass args
in uninstall
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
b3eca532fc
Pass args
in install
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
24eff8f81a
Pass args
in SoftwareSpec
instead of using global args
.
2020-07-30 03:21:12 +02:00
Markus Reiter
f8934c0255
Pass args
in Install
and Messages
instead of using global args
.
2020-07-30 03:21:12 +02:00
William Ma
4216da7629
deps: Move CaskDependencies to its own file
2020-07-29 09:38:07 -04:00
Mike McQuaid
5606817293
info: handle license array.
...
Fixes https://github.com/Homebrew/brew/issues/8132
2020-07-29 11:01:37 +01:00
William Ma
cc63cece76
deps: print cask dependencies
...
* Allow references to commands when using `brew deps`, e.g. `brew deps
cellery`
* Fix crash when using `brew deps <formula> --installed
--include-requirements`
* Do not include runtime dependencies as direct dependencies when using
`--tree`
2020-07-28 20:24:19 -04:00
Mike McQuaid
0be15fc4b7
Run brew update
before brew bundle
.
...
This should help with cases like
https://github.com/Homebrew/homebrew-bundle/issues/751
and is good practise in general.
Also, document the `brew update --preinstall` flag that is being used
here so others can run it manually e.g. as part of CI if needed.
2020-07-28 11:49:52 +01:00
Markus Reiter
c0d42dd922
Remove --force
from global_options
.
2020-07-28 10:31:11 +02:00
Mike McQuaid
e6b066a3d9
Merge pull request #8108 from mistydemeo/upgrade_avoid_unrequested_casks
...
upgrade: avoid upgrading unrequested casks
2020-07-28 08:47:00 +01:00
Markus Reiter
276c570c16
Pass individual args explicitly to ENV
extensions.
2020-07-28 02:52:45 +02:00
Misty De Meo
f6468ecf00
upgrade: avoid upgrading unrequested casks
...
Fixes #8107 .
2020-07-27 13:25:35 -07:00
Mike McQuaid
2ff56c9e71
Merge pull request #7927 from MLH-Fellowship/integrate-cask
...
Allow references to casks when running upgrade and outdated
2020-07-27 15:11:32 +01:00
William Ma
fa60d99265
outdated: vary deprecated message depending on flag
2020-07-27 09:34:52 -04:00
William Ma
f8708ae80c
Add todo for --json=v1 deprecation
2020-07-27 09:12:30 -04:00
Mike McQuaid
047738069f
Speed up timing-out tests.
...
- make `brew readall` only check Homebrew/brew syntax with no tap
passed.
- pass specified tap to `brew readall` test for speed
- only shell out once in `FormulaInfo` test for speed
2020-07-27 14:01:22 +01:00
Mike McQuaid
2100335441
Merge pull request #8049 from MLH-Fellowship/cask-commands
...
commands: Print cask commands
2020-07-27 12:44:21 +01:00
William Ma
f1b6a8debd
Fix style
2020-07-26 22:12:08 -04:00
William Ma
2188b268de
Apply suggestions from code review
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-26 22:03:04 -04:00
Dustin Rodrigues
e02d08f020
re-enable build from source for install, reinstall, upgrade
2020-07-25 22:27:54 -04:00
Markus Reiter
8a1f8ab858
Pass args
to FormulaInstaller
instead of using global args
.
2020-07-25 04:21:21 +02:00
Markus Reiter
6c050492ee
Pass args
to Analytics
instead of using global args
.
2020-07-25 03:57:43 +02:00
Markus Reiter
25b3632c4c
Pass args
to ENV
instead of using global args
.
2020-07-25 03:57:43 +02:00
Markus Reiter
a6bc9e155a
Add helper functions for --cache
and fetch
explicitly.
2020-07-25 02:37:10 +02:00
Markus Reiter
cfbe1fb3c7
Add helper functions for deps
and uses
explicitly.
2020-07-25 02:37:10 +02:00
William Ma
33f1c3164b
commands: Use a hash instead of nested arrays
2020-07-23 12:23:36 -04:00
William Ma
8d4a443e4d
outdated: Fix most code review comments
2020-07-22 22:52:18 -04:00
William Ma
de4f5c1095
commands: Fix code review comments
2020-07-22 22:47:42 -04:00
Seeker
fb2e228e9a
Merge pull request #8044 from SeekingMeaning/uses+dependents
...
cmd/uses: mention "dependents" in help text
2020-07-22 10:44:44 -07:00
Jonathan Chang
45c78ffe9c
Merge pull request #8060 from jonchang/update-report-speedup
...
update-report: speed up automatic updates
2020-07-23 00:57:37 +10:00
Jonathan Chang
26549d312b
update-report: faster autoupdate
...
This disables verbose reporting of new formulae versions when
automatically updating before e.g. `brew install`.
2020-07-22 22:53:03 +10:00
Mike McQuaid
e4eff8ebb6
Merge pull request #7974 from MLH-Fellowship/integrate-doctor
...
doctor: Run cask doctor checks in brew doctor
2020-07-22 13:27:53 +01:00
William Ma
b4f8e23ee1
outdated: Fix documentation style
...
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2020-07-20 14:35:27 -04:00
Seeker
de3edd1c24
cmd/uses: mention "dependents" in help text
2020-07-20 11:26:56 -07:00
William Ma
0b613d2fe3
commands: Deduplicate command print logic
2020-07-20 14:00:16 -04:00
William Ma
3bbffdd1d7
commands: Print cask commands
2020-07-20 13:18:09 -04:00
Tim Dorr
45368c8119
Add a default back to INFOPATH
...
It looks like #7738 removed the default unintentionally. This adds it back.
For scripts that `set -u`, this will fail if $INFOPATH is not already set (`INFOPATH: unbound variable`). This provides an empty default, but one that will still satisfy the trailing colon requirement.
2020-07-19 13:37:52 +10:00
William Ma
03857319c9
outdated: Update documentation about json versions
2020-07-17 10:28:09 -04:00
William Ma
8c5140f6e6
outdated: Implement json v2
2020-07-17 08:53:19 -04:00
William Ma
299db98dbf
Fix PR issues
2020-07-16 23:31:26 +10:00
William Ma
d81296f8dc
outdated: Rename --formula-only and --cask-only to --formula and --cask
...
For consistency with brew --cache
2020-07-16 23:31:26 +10:00
William Ma
ee0e9945e0
outdated: Update logic when handling --json to be more explicit
2020-07-16 23:31:26 +10:00
William Ma
966131f768
outdated: Fail when user supplies formulae and some are outdated
2020-07-16 23:31:26 +10:00
William Ma
a3da9fa350
outdated: Actually print json information for casks
2020-07-16 23:31:26 +10:00
William Ma
bdc99ebd98
outdated: Allow references to cask
2020-07-16 23:31:26 +10:00
William Ma
ad04284a20
upgrade: Move logic to find outdated formulae into upgrade method
2020-07-16 23:31:26 +10:00