1123 Commits

Author SHA1 Message Date
Markus Reiter
30c313b7b9 Refactor cask command parsing logic. 2020-04-11 01:29:44 +02:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Dario Vladovic
3a21ca8956
Implement mdimporter cask stanza 2020-04-06 15:24:14 +02:00
Vítor Galvão
9c342b5dca cask-caveats-kext: retry installation if it fails 2020-03-23 16:13:50 +00:00
Mike McQuaid
1e265247ca
rubocop: apply autofixes. 2020-03-13 21:16:18 +00:00
Mike McQuaid
c48352aa6c
cask/cmd/list: fix ambiguous params. 2020-03-13 21:16:18 +00:00
Markus Reiter
19db7bb14b Ensure formula dependencies for casks are linked. 2020-02-21 17:36:55 +01:00
Mike McQuaid
dfa22680df
Autofix rubocop checks. 2020-02-19 11:24:12 +00:00
Daniel Bayley
f3a0fcfb6d Make rmdir: recursive 2020-02-11 07:56:15 +00:00
Vítor Galvão
497a160cda cask version MAJOR_MINOR_PATCH_REGEX: allow any word character instead of only digits 2019-12-07 14:04:55 +00:00
Mike McQuaid
ef34fbc634
cask/cmd/style: don't hide warnings.
These sometimes display useful RuboCop deprecations.
2019-12-01 14:19:26 +00:00
Markus Reiter
e3e514144c Show appcast contents if it doesn't contain the version. 2019-11-23 17:25:10 +01:00
Markus Reiter
fbf4b0432d Rescue more errors during cask upgrade. 2019-11-22 02:50:44 +01:00
Mike McQuaid
5f07a1e9bf
cask_loader: fix URI detection.
Fixes #6678
2019-11-14 07:39:07 -08:00
Mike McQuaid
6670ae6202
global: require rubygems for activesupport. 2019-11-06 10:36:40 +00:00
Markus Reiter
46c9dc3807 Add /Library/Java subdirectories to SYSTEM_DIRS. 2019-11-03 19:26:35 +01: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
Markus Reiter
54ab3dd7c4 Install pkg before app. 2019-10-24 15:04:01 +02:00
Markus Reiter
e6cfb4a3c2
Merge pull request #6629 from timsly/manpage-artifact
Add Manpage artifact
2019-10-24 13:48:52 +02:00
Tim Masliuchenko
6d1fafae13 Final tweaks 2019-10-24 09:43:59 +03:00
Tim Masliuchenko
87f29857f0 Pass section to the constructor 2019-10-23 18:34:16 +03:00
Tim Masliuchenko
22d821323c Feedbacks 2019-10-23 16:28:00 +03:00
Markus Reiter
1ea1f31d0b
Merge pull request #6634 from reitermarkus/trash
Fix `trash.swift` without arguments.
2019-10-23 12:08:09 +02:00
Markus Reiter
04493e2dde Fix trash.swift without arguments. 2019-10-23 06:59:39 +02:00
L. E. Segovia
a02ef65f68
cask: fix xattr error detection
Fixes Homebrew/homebrew-cask#71209
2019-10-23 01:49:09 +00:00
Tim Masliuchenko
3ef5e06943 Add Manpage artifact 2019-10-22 15:21:49 +03:00
Markus Reiter
7a5e4d1269 Remove User::automation_access?. 2019-10-22 07:38:35 +02:00
Markus Reiter
16b3cb0d71 Skip quarantining symlinks. 2019-10-15 18:32:37 +02:00
Markus Reiter
d24f3c3b99
Merge pull request #6605 from reitermarkus/missing-command-method
Fix missing `command` method.
2019-10-15 18:05:22 +02:00
Markus Reiter
40a0b8b10a Fix missing command method. 2019-10-15 17:39:15 +02:00
L. E. Segovia
ed7327296a
Cask: only quarantine working symlinks
Fixes Homebrew/homebrew-cask#70796
2019-10-14 15:38:41 +00:00
Issy Long
1f6168fe8a
Change regexp.match?(string) to string.match?(regexp) everywhere
- Only try to call `.match?` on strings that aren't nil.
2019-10-13 23:22:51 +01: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
Issy Long
b78028b9c2
Auto-fix Performance/RegexpMatch offenses 2019-10-13 16:04:26 +01:00
ytqh
24ef7fa5c8 remove xattr unsupported option in macOS 10.15 2019-10-11 21:18:53 +08:00
Mike McQuaid
9e56a8625d
Merge pull request #6531 from jpninanjohn/master
Show correct message when invalid arguments are passed to brew
2019-10-11 09:30:12 +01:00
Markus Reiter
77412ad14e
Merge pull request #6514 from amyspark/workaround-trash
Cask: refuse to trash root-owned files
2019-10-09 14:01:24 +02:00
Markus Reiter
b6b9cd248c Refactor brew cask style. 2019-10-04 23:43:48 +02:00
Markus Reiter
e351e6b31c
Merge pull request #6482 from alecclarke/run-style-checks-on-test-casks
Include test casks in the cask style check.
2019-10-04 23:15:59 +02:00
Jacob Ford
ea0150f7a3 Make invalid command error language consistent with brew core 2019-10-04 14:27:32 -04:00
L. E. Segovia
eccdc4c253
Cask: address @reitermarkus's comments 2019-10-03 20:21:32 +00:00
L. E. Segovia
1ddafee614
Cask: address @reitermarkus's comments 2019-10-03 20:16:01 +00:00
Ninan John
aed6bc194d Show correct message when invalid arguments are passed to brew 2019-10-03 14:21:24 +05:30
L. E. Segovia
70c49809fe
Cask: typo in trash_paths 2019-10-02 14:09:26 +00:00
L. E. Segovia
b9a3884ebf
Cask: output files requiring sudo to console 2019-10-02 13:36:05 +00:00
L. E. Segovia
aa85bec73e
Fix style issues 2019-10-02 00:25:38 +00:00
L. E. Segovia
caf7df5840
Cask: add doctor check for xattr
CC: Homebrew/homebrew-cask#69660
2019-10-01 11:17:27 +00:00