10909 Commits

Author SHA1 Message Date
Markus Reiter
2af4906456 Add test to ensure Zap does not have an uninstall_phase. 2017-02-10 08:17:47 +01:00
Markus Reiter
486fa0bf19 Fix uninstall also running zap. 2017-02-10 07:49:21 +01:00
Markus Reiter
f810bf6bcd Merge pull request #1969 from reitermarkus/valid-symlink
Create custom matchers for “valid symlink”.
2017-02-09 21:37:03 +01:00
Markus Reiter
31c51108ce Use explicit checks instead of custom matcher. 2017-02-09 19:02:38 +01:00
Markus Reiter
2d05c9d80c Merge pull request #1961 from vszakats/githuburl
audit: enforce https for github.com urls
2017-02-09 06:24:56 +01:00
ilovezfs
736556bd8b Merge pull request #1974 from ilovezfs/nonstandard-bump-subject-false-positives
pull: fix false positives for nonstandard bump subjects when untapped
2017-02-08 04:36:10 -08:00
Markus Reiter
526cab4010 Merge pull request #1970 from reitermarkus/at-exit-hack
Remove `kernel_at_exit_hacks.rb`.
2017-02-08 11:24:55 +01:00
ilovezfs
79280826f5 pull: fix false positives for nonstandard bump subjects when untapped
If the formula's tap isn't tapped yet when running `brew pull`, a false
positive occurs for the nonstandard bump subject check, and a bogus
warning is printed, which claims the bump subject should refer to the
old version not the new version.
2017-02-08 00:58:20 -08:00
Markus Reiter
9c623a273b Remove Sha256Helper. 2017-02-08 07:32:36 +01:00
Markus Reiter
1281a3f94b Remove kernel_at_exit_hacks.rb. 2017-02-08 07:17:17 +01:00
Markus Reiter
6cd3642850 Create custom matchers for “valid symlink”. 2017-02-08 07:14:28 +01:00
Markus Reiter
bef2c6c9bd Merge pull request #1956 from reitermarkus/refactor-artifacts
Refactor `Artifact`.
2017-02-07 22:22:46 +01:00
Vítor Galvão
917b9f445d Merge pull request #1908 from reitermarkus/cleanup-cask-doctor
Simplify `brew cask doctor`.
2017-02-07 15:18:06 +00:00
Viktor Szakats
11ebfdafb2 audit: enforce https for github.com urls 2017-02-07 00:19:58 +00:00
Markus Reiter
ac4969c331 Convert self.artifacts to TYPES. 2017-02-07 00:07:59 +01:00
Markus Reiter
4a4a162223 Let Artifact::for_cask return artifact instances. 2017-02-07 00:07:59 +01:00
Markus Reiter
e18a174607 Simplify check for :stage_only. 2017-02-07 00:07:59 +01:00
Markus Reiter
4e7062a9ce Use expect syntax in installer_test. 2017-02-07 00:07:59 +01:00
Mike McQuaid
73df504595 official_taps: games is deprecated. 2017-02-06 10:30:32 +00:00
Markus Reiter
11abfc39ab Merge pull request #1954 from reitermarkus/refactor-artifacts
Refactor Cask `Artifact`s.
2017-02-05 18:56:20 +01:00
Vítor Galvão
8535a8cd7f Merge pull request #1953 from reitermarkus/remove-xip
Remove XIP support.
2017-02-05 12:57:03 +00:00
Mike McQuaid
da9dd0a863 Merge pull request #1951 from tma/reinstall-with-options
Print warning when reinstalling with invalid options
2017-02-05 12:13:45 +01:00
Markus Reiter
e1ea7bb721 Refactor Cask Artifacts. 2017-02-05 07:47:54 +01:00
Markus Reiter
8113a9fed9 Remove XIP support. 2017-02-05 06:55:42 +01:00
Markus Reiter
d02a4d9e51 Fix test for brew cask doctor. 2017-02-05 06:48:23 +01:00
Markus Reiter
d8eab8c211 Simplify rendering of environment variables. 2017-02-05 06:48:23 +01:00
Markus Reiter
46e051b1c2 Simplify cache output. 2017-02-05 06:48:23 +01:00
Markus Reiter
b54c3d618e Add user_tilde method to shorten/anonymize output. 2017-02-05 06:48:23 +01:00
Markus Reiter
f0337a3183 Simplify output of environment variables. 2017-02-05 06:48:23 +01:00
Markus Reiter
7d312e4cca Remove legacy tap pattern. 2017-02-05 06:48:23 +01:00
Markus Reiter
324988e7a5 Simplify brew cask doctor. 2017-02-05 06:48:23 +01:00
Markus Reiter
33fa80944e Merge pull request #1743 from toonetown/robust-pkgutil-cleanup
Delete pkgutil directories that are really files.
2017-02-04 23:53:16 +01:00
Markus Reiter
d22cfd3866 Always use Pathname.new in pkg_test.rb. 2017-02-04 20:27:59 +01:00
Markus Reiter
fc712b0089 Make descriptions a bit clearer. 2017-02-04 20:27:59 +01:00
Thomas Maurer
6594650eb1
Pass invalid option names to formula installer
This is the same that happens in the command 'install'. By passing
the invalid option names, we enable the formula installer to output
warnings if necessary.
2017-02-04 18:10:37 +01:00
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
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
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