Nanda H Krishna
2394a4c4fc
Rename metadata_master_container_path
to metadata_main_container_path
2021-07-08 12:36:40 +05:30
Issy Long
155feba8e0
cask/installer: Add Cask caveats to the end-of-operation summary
...
- Both formulae and casks can have caveats, but only formulae caveats
were shown at the end of a bulk install/upgrade/reinstall operation
via `Homebrew.messages.record_caveats`. This fixes that to show Cask
caveats too, for consistency (scrolling up all of the
multi-formulae-and-casks output to see caveats is time-consuming and
users might miss them).
- In doing this I had to change how `Messages#record_caveats` works
since the cask name is just a string, not an object.
2021-06-09 12:11:51 +01:00
Mike McQuaid
2ce6cd5e81
brew style --fix
2021-05-18 11:58:44 +01:00
Mike McQuaid
d73351251c
Deprecate, disable, delete code for next major/minor version.
...
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Markus Reiter
24c9b599a6
Revert "Revert "Merge pull request #10864 from reitermarkus/command-timeout""
...
This reverts commit 57b2660cae8cf43efd2b88d84a7174706328c001.
2021-04-03 20:10:32 +02:00
Rylan Polster
57b2660cae
Revert "Merge pull request #10864 from reitermarkus/command-timeout"
...
This reverts commit d55bdd3ddbe7ff2b1f106a41bd994dc117ca5142, reversing
changes made to 3c3bf1c74d1d7ef1d2c792719574623b6c3c4d25.
2021-03-24 01:22:18 -04:00
Markus Reiter
712a95fdd0
Allow specifying timeouts for commands and downloads.
2021-03-16 18:15:21 +01:00
Seeker
880a82d21a
uninstall: delete references to unused --binaries
flag
2021-02-22 19:48:43 -08:00
nandahkrishna
8e5451df2f
style: use parentheses for assignment in conditions
2021-02-12 18:33:37 +05:30
EricFromCanada
6fc116318e
fixes for grammar and wording
2021-01-26 16:19:47 -05:00
EricFromCanada
2ed324ebc0
use backticks around suggested input, flags, and binaries
2021-01-26 16:19:47 -05:00
EricFromCanada
a427de5bee
capitalization fixes
...
"curl" is the binary, while "cURL" is the umbrella project.
2021-01-26 15:36:44 -05:00
EricFromCanada
c0a753edd3
pluralize "artifacts"
2021-01-26 15:36:43 -05:00
Seeker
b9854bd4cf
rubocops: add unless_multiple_conditions
2021-01-08 10:33:54 -08:00
Cheng XU
72a346e6c8
cask/installer: do not install tap during conflict checking
...
If the tap of the conflicted cask is not installed, we should just skip it.
This matches the behavior of formula installation.
Without this, running `brew install dropbox` would result to install
the `homebrew/cask-versions` tap.
Fixes #9125 .
2020-12-22 15:32:11 -08:00
Markus Reiter
82c1e6fb0e
Fix basename for extracting cask downloads.
2020-12-21 15:43:25 +01:00
Markus Reiter
b57a448f2a
Add bump-unversioned-casks
command.
2020-12-07 23:03:47 +01:00
Markus Reiter
3c2ec1c60f
Deprecate remaining cask commands.
2020-11-21 19:56:12 +01:00
Markus Reiter
bf486c5397
Merge pull request #9212 from reitermarkus/brew-cask-fetch
...
Support casks in `brew fetch`.
2020-11-20 09:32:13 +01:00
Markus Reiter
c54a9937e7
Remove cask-specific checksum errors.
2020-11-19 19:46:59 +01:00
Markus Reiter
7a83f34dd1
Support casks in brew fetch
.
2020-11-19 19:46:59 +01:00
Markus Reiter
7c5d8a5288
Refactor FormulaInstaller
.
2020-11-18 09:30:11 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
5f005f67cf
Refactor global Cask::Config
.
2020-10-01 00:57:10 +02:00
Mike McQuaid
3923d331de
Fix brew style
2020-09-15 13:39:06 +01:00
Mike McQuaid
3b114736ce
Merge pull request #8572 from Akylzhan/patch-1
...
Update cask/installer.rb: check deps before download
2020-09-02 14:22:05 +01:00
Akylzhan Sauranbay
3fdab5a24d
Update cask/installer.rb: check dependencies before download
2020-09-02 18:14:24 +06:00
Seeker
98248a44a4
cask/installer: fix reference to opt_linked/optlinked
2020-09-01 14:14:41 -07:00
Mike McQuaid
8b97c27c21
brew style manual fixes
2020-09-01 14:26:45 +01:00
Markus Reiter
5f152f5dc3
Document Installer
.
2020-08-26 03:13:59 +02:00
Markus Reiter
e9d8f09da1
Pass debug?
, quiet?
and verbose?
to FormulaInstaller
.
2020-08-06 16:12:52 +02:00
Seeker
b4f25b5911
cask/installer: don't call installed?
if Formula
2020-07-12 17:14:10 -07: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
08a9f0e1c0
Use FormulaInstaller#fetch before #prelude.
2020-05-11 09:38:26 +01:00
Michelle Nguyen
2264c08cee
Fetch formula resources before unlinking during upgrade.
...
Fixes #6374 .
2020-05-11 09:37:56 +01:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig.
2020-04-07 09:58:26 +01:00
Markus Reiter
19db7bb14b
Ensure formula dependencies for casks are linked.
2020-02-21 17:36:55 +01:00
Mike McQuaid
6670ae6202
global: require rubygems for activesupport.
2019-11-06 10:36:40 +00:00
Markus Reiter
0b9a870e1c
Ensure @downloaded_path
is not nil.
2019-11-02 02:52:33 +01:00
Markus Reiter
add8885dd8
Add helper method for cask installer to get dependencies.
2019-11-01 20:28:36 +01:00
Markus Reiter
78725740e2
Refactor cask dependency resolution.
2019-10-31 20:20:55 +01:00
Markus Reiter
df3bbd0299
Reduce need for interpolating appdir
in casks.
2019-10-24 17:07:30 +02:00
Issy Long
341ea60807
Auto-fix Style/RedundantBegin offenses
...
- This also required auto-fixes for Layout/EmptyLinesAroundBlockBody and
Layout/InconsistentIndentation once the auto-fixer had got rid of the
"redundant begin"s.
2019-10-13 16:04:27 +01:00
Markus Reiter
16d2f8264c
Use MacOSRequirement
for casks.
2019-08-21 06:57:21 +02:00
Markus Reiter
e2369fcde0
Output all upgradable casks before upgrading.
2019-05-31 19:16:04 +02:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
fc6bd2ea1c
Fixup more frozen string handling.
2019-04-20 14:07:29 +09:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00