14001 Commits

Author SHA1 Message Date
Thomas Maurer
22a37b2f5d
Add failing reinstall test with invalid install option 2017-02-04 13:23:41 +01:00
Markus Reiter
0802ad734f Simplify CaskLoader. 2017-02-03 22:00:28 +01:00
Markus Reiter
4eef60c6a6 Remove TestCask class. 2017-02-03 21:52:51 +01:00
Alyssa Ross
70b1c6de0b Merge pull request #1943 from alyssais/missing_requires
formulary: handle ScriptError in formula
2017-02-03 19:13:05 +00:00
Markus Reiter
574a5274c0 Merge pull request #1913 from reitermarkus/testing-env
Use array of constants to set up test directories.
2017-02-03 20:08:28 +01:00
Markus Reiter
77401b787f Reorder testing_env. 2017-02-03 17:27:36 +01:00
Markus Reiter
98b6766f4e Require formulary and tap in Homebrew::TestCase. 2017-02-03 17:27:36 +01:00
Markus Reiter
d0c5b98a62 Don’t require formulary in testing_env. 2017-02-03 17:27:36 +01:00
Markus Reiter
ac92144654 Add comment about FSLeakLogger to Homebrew::TestCase. 2017-02-03 17:27:36 +01:00
Markus Reiter
b765853969 Use constant array of constants in Homebrew::TestCase. 2017-02-03 17:27:36 +01:00
Markus Reiter
f35c6c8cf1 Don’t use before_setup and after_teardown. 2017-02-03 17:27:36 +01:00
Markus Reiter
e40c63f77c Use array of constants to set up test directories. 2017-02-03 17:27:36 +01:00
Markus Reiter
01c1372074 Merge pull request #1897 from trevorpowell/master
Proposed fix for "Failed to eject" errors with DMGs
2017-02-03 11:45:18 +01:00
Markus Reiter
04637e8d37 Merge pull request #1883 from reitermarkus/override-macos-version
Allow overriding `MacOS.version`.
2017-02-03 11:31:43 +01:00
David Broder-Rodgers
64c83f3286 Use file checksum rather than file diffing 2017-02-02 21:25:29 +00:00
Alyssa Ross
ade8128a18 formulary: handle ScriptError in formula
I added a new `FormulaUnreadableError` subclass of
`FormulaUnavailableError` so existing `rescue`s of
`FormulaUnavailableError` handle this as well.

The new subclass will output the name of the formula with the error
(because this isn't always obvious from the original exception message)
followed by the original error message.

Fixes #1927.
2017-02-01 18:34:20 +00:00
Markus Reiter
b6f3399cb3 Merge pull request #1930 from vitorgalvao/set-permissions-sudo
cask: staged: no sudo in set_permissions
2017-01-31 19:32:00 +01:00
Trevor Powell
e11b8b68cd Update dmg.rb based on feedback
Try "diskutil eject" twice before "diskutil unmount force".
2017-01-30 22:31:09 -06:00
David Broder-Rodgers
d4aa98d230 Updated mirror checks to compare ETags, Content-Lengths and binary files 2017-01-30 21:49:42 +00:00
David Broder-Rodgers
13a3a57fa8 Merge remote-tracking branch 'origin/master' into insecure_audit 2017-01-30 18:31:52 +00:00
Mike McQuaid
664d0c67d5 Merge pull request #1931 from MikeMcQuaid/update-performs-migrations
update: note migrations may be performed.
1.1.9
2017-01-30 10:15:06 +00:00
Xu Cheng
6f4cf7bdd6 Merge pull request #1934 from xu-cheng/cleanup-fix
cleanup: consider version_scheme
2017-01-30 17:39:56 +08:00
Xu Cheng
f3df412e77
cleanup: consider version_scheme
`brew cleanup` should cleanup formulae which have the older
version scheme.
2017-01-30 17:16:56 +08:00
Mike McQuaid
d3d9ae3344 Merge pull request #1932 from reitermarkus/fix-tab-test
Don’t use `assert_nil` in `tab_test`.
2017-01-30 08:06:50 +00:00
Markus Reiter
6215c6a5e1 Don’t use assert_nil in tab_test. 2017-01-30 00:18:52 +01:00
Mike McQuaid
73fd972391 Merge pull request #1914 from MikeMcQuaid/test-gem-updates
*/Gemfile*: remove rake, version pins, master simplecov.
2017-01-29 17:49:49 +00:00
Mike McQuaid
276d8805ca update: note migrations may be performed.
As requested in https://github.com/Homebrew/homebrew-core/issues/9316.
2017-01-29 17:30:44 +00:00
Mike McQuaid
f7b1991626 Use dedicated upload_coverage script. 2017-01-29 17:23:05 +00:00
Vítor Galvão
c0b84a0479 cask: staged: no sudo in set_permissions 2017-01-28 18:29:59 +00:00
Mike McQuaid
c507222687 Merge pull request #1924 from DomT4/rubocop
Rubocop 0.47.1
2017-01-28 17:25:12 +00:00
Dominyk Tiller
10e81b1672
rubocop: automatically update rubocop_todo.yml 2017-01-28 14:13:00 +00:00
Dominyk Tiller
8b5dc01604
Library/.rubocop.yml: fix renamed EndAlignment setting 2017-01-27 21:42:45 +00:00
Dominyk Tiller
9b2951fb29
Library/.rubocop.yml: fix renamed CaseIndentation setting 2017-01-27 21:40:16 +00:00
Dominyk Tiller
c2b3f1db27
style: update rubocop to 0.47.1 2017-01-27 21:32:50 +00:00
Markus Reiter
ad4fd014e1 Merge pull request #1919 from miccal/patch-1
Update brew-cask.1.md to include _stanza internal command
2017-01-27 18:01:05 +01:00
Mike McQuaid
fc0d46c0a0 Merge pull request #1923 from Homebrew/revert-1916-cellar-check-etc
Revert "formula_cellar_checks: check for prefix/etc."
2017-01-27 15:34:31 +00:00
Mike McQuaid
e8148c3b4f Merge pull request #1922 from MikeMcQuaid/pull-missing-bottles
pull: better handle missing bottles.
2017-01-27 14:13:57 +00:00
Mike McQuaid
aec3d1fe3d Revert "formula_cellar_checks: check for prefix/etc." 2017-01-27 14:09:19 +00:00
Miccal Matthews
9cefb269f9 Update brew-cask.1 2017-01-27 19:24:30 +08:00
Mike McQuaid
eff70115b5 pull: better handle missing bottles.
If we make a PR in which we're building many formulae (e.g.
https://github.com/Homebrew/homebrew-core/pull/9249) then we may want
to pull those that built and publish their bottles and discard those
that did not. Instead of saying bottles will be published when they
won't and then blowing up just avoid publishing them and print a warning
instead.
2017-01-27 09:36:47 +00:00
Mike McQuaid
e444488bfe Merge pull request #1915 from MikeMcQuaid/keg-only-caveats-newline
caveats: add newline after keg only reason.
2017-01-27 08:55:37 +00:00
Mike McQuaid
858b406da1 Merge pull request #1917 from MikeMcQuaid/homebrew-audit-tweak
audit: improve homepage audit reliability.
2017-01-27 08:46:19 +00:00
Mike McQuaid
5a67cc4fd6 Merge pull request #1920 from saagarjha/master
Split two headers so that both render
2017-01-27 08:12:11 +00:00
Saagar Jha
b5b8e4cad7 Split two headers so that both render
The "Messaging" heading was failing to be rendered due to a missing newline between it and "Convenience Tools".
2017-01-26 21:09:34 -08:00
Miccal Matthews
d68fc389e3 Update brew-cask.1.md 2017-01-27 09:26:57 +08:00
Markus Reiter
39ce9c890e Try uploading coverage report in .simplecov. 2017-01-26 23:11:37 +01:00
Mike McQuaid
78d584f42f Merge pull request #1918 from MikeMcQuaid/update-reset-force
update-reset: checkout with --force.
2017-01-26 18:29:55 +00:00
Mike McQuaid
d8a5a33eeb Merge pull request #1916 from MikeMcQuaid/cellar-check-etc
formula_cellar_checks: check for prefix/etc.
2017-01-26 18:29:25 +00:00
Markus Reiter
dd0bc83eca Move require "bundler/setup“ to top of cask-tests. 2017-01-26 18:28:08 +01:00
Mike McQuaid
3c91f5858a update-reset: checkout with --force.
Otherwise it won't overwrite unmerged changes.
2017-01-26 16:29:39 +00:00