Mike McQuaid
f59eb358c2
missing_formula: subsume historic logic.
...
These methods belong together so combine them in a single class to
provide a simpler API.
2017-03-20 20:37:12 +01:00
Mike McQuaid
80e95b684e
blacklist: move to missing_formula class instead.
...
This will allow extending this class so it can be used by more than
just blacklisting.
2017-03-20 18:20:31 +02:00
Mike McQuaid
623c95b3f8
cmd/log: improve output messaging.
...
This wasn’t adapted to the new, multiple repository world.
2017-03-20 18:20:31 +02:00
Zhiming Wang
1c10a6260f
Hint at new location of migrated formulae
...
Partial implementation of
https://github.com/Homebrew/brew-evolution/pull/15 , along with the ability to
search for deleted formulae in git history (inspired by #1996 ) which is not
described in the proposal.
See also: #1371 .
2017-03-20 18:20:31 +02:00
Joshua McKinney
437db065ca
Be a little less specific in cask output tests
...
These tests seemed a little over-specified and were failing on the CI
server. Reducing the specificity a little to try to get them to pass.
2017-03-19 19:56:41 -05:00
Joshua McKinney
d11e417105
Hide output from brew cask uninstall test
...
This test showed extraneous info in the test output
2017-03-19 13:14:16 -05:00
Joshua McKinney
3703ef1885
Show messages when (un)installing Casks
...
Addresses an issue where it can be unclear at times exactly which part
of the (un|re)installation processes is reporting an error. See
https://github.com/caskroom/homebrew-cask/issues/30968
2017-03-19 13:14:16 -05:00
Markus Reiter
ed10135da4
Replace Hbc.load
with CaskLoader.load
.
2017-03-16 19:16:42 +01:00
Markus Reiter
d7af864be0
Replace Hbc.path
with CaskLoader.path
.
2017-03-16 12:10:19 +01:00
Markus Reiter
d1995dad4b
Use a Formulary
-like approach to load Casks.
2017-03-16 12:10:19 +01:00
Markus Reiter
c4d8b1696c
Merge pull request #2309 from axiac/cask-outdated
...
add command 'cask outdated'
2017-03-16 11:37:49 +01:00
Markus Reiter
2c8544832e
Add test for command help strings.
2017-03-16 09:00:57 +01:00
Valentin VĂLCIU
7532545140
add command 'cask outdated'
2017-03-15 22:58:25 +02:00
Mike McQuaid
4d88cc4c41
Merge pull request #2326 from vszakats/sprot
...
secure urls + remove -k from in-doc curl command
2017-03-15 15:11:35 +00:00
Markus Reiter
e9e6dcf893
Merge pull request #2311 from nath/highlightInstalledCasks
...
Added highlighting of installed casks to cask search
2017-03-15 14:01:28 +01:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
Nath Tumlin
48e4463f5b
Fixed test case wording
2017-03-13 19:43:08 -05:00
Nath Tumlin
b42ccece49
Style changes
2017-03-13 19:15:41 -05:00
Nath Tumlin
2080c360e2
Added tests for highlight installed and fixed style errors
2017-03-13 17:52:32 -05:00
Markus Reiter
2b4c3ee1d7
Default to sudo: false
for installer/uninstall :script
.
2017-03-13 11:38:37 +01:00
Numbermaniac
b704b48b2f
Change instances of caskroom.io to caskroom.github.io
2017-03-12 23:23:22 +11:00
Markus Reiter
44d367edca
Deprecate #plural
.
2017-03-11 21:16:37 +01:00
Markus Reiter
00306a4ced
Add test for Formatter::pluralize
.
2017-03-11 21:12:51 +01:00
Mike McQuaid
717f68eb36
Merge pull request #2292 from MikeMcQuaid/fix-shallow-clone-tests
...
test: fix tests with a shallow clone.
2017-03-11 18:37:52 +00:00
Markus Reiter
bb3e509ee0
Merge pull request #2315 from reitermarkus/hombrew-typo
...
Fix “Hombrew” typo.
2017-03-11 15:46:25 +01:00
Markus Reiter
30a2f270b9
Merge pull request #2303 from reitermarkus/fix-pkg-not-uninstalling-apps
...
Fix `uninstall :pkgutil` leaving empty `.app` directories.
2017-03-11 12:02:24 +01:00
Markus Reiter
49416d10b7
Fix “Hombrew” typo.
2017-03-11 12:00:35 +01:00
ilovezfs
76db07e1b5
env: make prepend_path ignore system paths
...
`ENV.prepend_path "PATH", which("emacs").dirname` in the emacs
requirement was causing us to end up invoking /usr/bin/clang instead
of /usr/local/Homebrew/Library/Homebrew/shims/super/clang.
2017-03-11 01:59:50 -08:00
Markus Reiter
642e355b4f
Save flags in with_full_permissions
.
2017-03-11 10:47:39 +01:00
Markus Reiter
9393b16930
Fix uninstall :pkgutil
leaving empty .app
directories.
2017-03-11 10:47:39 +01:00
Mike McQuaid
0e30d34d27
test: fix tests with a shallow clone.
...
In this case `HOMEBREW_VERSION` is `>1.1.0 (no git repository)` so these
tests failed. This was the cause of the Homebrew/homebrew-test-bot
Linux CI failures as it was testing a shallow clone.
2017-03-10 16:16:01 +00:00
Markus Reiter
621b67e531
Refactor artifacts.
2017-03-10 09:44:50 +01:00
Markus Reiter
b38c52f930
Merge pull request #2289 from reitermarkus/cask-refactor-uninstall
...
Refactor `pkg`, `uninstall`, and `zap` artifacts.
2017-03-08 20:03:56 +01:00
Markus Reiter
6ec55a93eb
Merge pull request #2293 from reitermarkus/cask-version
...
Move `brew cask --version` into separate file.
2017-03-08 19:34:24 +01:00
Markus Reiter
88bc68f3b5
Always chmod +x
binary
stanzas.
2017-03-08 16:49:28 +01:00
Markus Reiter
b24dc2268a
Move brew cask --version
into separate file.
2017-03-08 15:49:37 +01:00
Markus Reiter
17bd6fe3ca
Refactor Cask pkg
artifact.
2017-03-08 08:16:16 +01:00
Markus Reiter
2691eb6f65
Refactor Cask uninstall
and zap
stanza.
2017-03-08 08:16:16 +01:00
Markus Reiter
9105acab6b
Merge pull request #2283 from reitermarkus/cask-cli-argumenterror
...
Use `ArgumentError` instead of `CaskError` in `CLI`.
2017-03-08 03:35:37 +01:00
Markus Reiter
fe694f6db9
Merge pull request #2284 from reitermarkus/cask-refactor-cli
...
Refactor CLI options.
2017-03-08 02:43:22 +01:00
Markus Reiter
e0acaeef81
Remove redundant Utils
.
2017-03-07 18:02:31 +01:00
Markus Reiter
536a377d71
Use ArgumentError
instead of CaskError
in CLI
.
2017-03-07 17:18:35 +01:00
Markus Reiter
3b8524d770
Refactor CLI options.
2017-03-07 00:06:34 +01:00
Markus Reiter
6bc1d0b5c1
Add missing :cask
metadata to specs.
2017-03-06 04:31:16 +01:00
Markus Reiter
eed5a69a51
Try fixing coverage.
2017-03-05 23:08:15 +01:00
Markus Reiter
4944d43d58
Move coverage reporting into brew tests
.
2017-03-05 23:08:14 +01:00
Markus Reiter
9fc6c7b2be
Move Cask specs into brew tests
.
2017-03-05 23:08:14 +01:00
Markus Reiter
d0c5aec9ea
Merge pull request #2267 from reitermarkus/move-cask-spec-helpers
...
Move Cask test helpers to `test/support`.
2017-03-05 20:43:53 +01:00
Markus Reiter
b9c9f0f687
Move Cask test helpers to test/support
.
2017-03-05 19:13:06 +01:00
Markus Reiter
88676633ef
Use described_class
in Tap
spec.
2017-03-05 18:58:30 +01:00