3989 Commits

Author SHA1 Message Date
Bo Anderson
ab15c97c61 Fix dependents building from source when not requested 2020-08-02 00:46:17 +01:00
Michka Popoff
7348f3670a
Merge pull request #8176 from Rylan12/update-report-fix-args
update-report: fix args
2020-08-01 21:19:09 +02:00
Michka Popoff
fc4e784513
Merge pull request #8174 from Rylan12/deps-fix-args
deps: fix args
2020-08-01 21:17:44 +02:00
Rylan Polster
15cfb9a358 update-report: fix args 2020-08-01 13:33:42 -04:00
Rylan Polster
49678e585e outdated: fix args 2020-08-01 13:20:35 -04:00
Rylan Polster
c9c258cbfb deps: fix args 2020-08-01 12:52:37 -04:00
William Ma
72c672b814 Merge branch 'master' into integrate-uses 2020-08-01 12:12:09 -04:00
Rylan Polster
c494789d70 list: pass args properly 2020-08-01 10:56:21 -04:00
Markus Reiter
c61f4ce879 Pass args correctly in brew tap. 2020-07-31 19:34:22 +02:00
Markus Reiter
1d0ac5c6b3 Pass args correctly in brew outdated. 2020-07-31 19:34:22 +02:00
Markus Reiter
005e9dd5b3 Pass args correctly in brew options. 2020-07-31 19:24:13 +02:00
Markus Reiter
62a080d410 Pass args correctly in brew gist-logs. 2020-07-31 19:19:37 +02:00
Markus Reiter
0ac6939a91 Pass args correctly in brew fetch. 2020-07-31 19:14:25 +02:00
Markus Reiter
096377abf2 Pass args correctly in brew deps and brew uses. 2020-07-31 19:10:45 +02:00
Markus Reiter
05aada4333 Fix flags for brew log. 2020-07-31 17:46:54 +02:00
William Ma
e05538a7d9 Create DependenciesHelpers file, add tests 2020-07-31 11:35:45 -04:00
Markus Reiter
d4c2ffd705 Refactor CLI::Parser. 2020-07-31 15:07:17 +02:00
William Ma
7be2b943cb uses: Print cask uses 2020-07-30 12:59:01 -04:00
Mike McQuaid
17fb1b6dd8
cmd/deps: add missing require.
Fixes https://github.com/Homebrew/brew/pull/8126#issuecomment-666345260
2020-07-30 14:20:58 +01:00
Markus Reiter
8d97029b03
Merge pull request #8084 from reitermarkus/cli-parser
Refactor usage of global `Homebrew.args`.
2020-07-30 11:44:12 +02:00
Mike McQuaid
4888a677c7
Merge pull request #8126 from MLH-Fellowship/integrate-deps
deps: Print cask dependencies
2020-07-30 10:20:30 +01:00
Markus Reiter
6b0678e8ed Remove args from FormulaInstaller. 2020-07-30 03:21:12 +02:00
Markus Reiter
05365b5542 Pass args more explicitly in FormulaInstaller. 2020-07-30 03:21:12 +02:00
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