11870 Commits

Author SHA1 Message Date
David Broder-Rodgers
64c83f3286 Use file checksum rather than file diffing 2017-02-02 21:25:29 +00: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
Alyssa Ross
35045b2934 Merge pull request #1885 from alyssais/remove_1.8.7
Remove some remnants of Ruby 1.8.7 support
2017-01-24 11:54:44 +00:00
Alyssa Ross
5480a84114 tests: give e helper in UtilTests a better name 2017-01-24 11:25:26 +00:00
Alyssa Ross
65dde58057 tests: add some emoji tests 💯 2017-01-24 11:25:24 +00:00
Mike McQuaid
714c1013f4 Merge pull request #1903 from MikeMcQuaid/minimum-clt-version
xcode: reduce minimum CLT version.
2017-01-24 08:31:44 +00:00
Mike McQuaid
50c1fea4ea xcode: reduce minimum CLT version.
This should be 1.0.0 to be nicer to 10.7 users.

Fixes #1893.
2017-01-23 21:22:54 +00:00
Mike McQuaid
da54f39556 Merge pull request #1877 from ilovezfs/audit-wine-deps-exemption
audit: exempt wine's deps from the universal deprecation
2017-01-23 21:17:00 +00:00
Alyssa Ross
b0fea9eb6c fileutils: update Ruby documentation URL 2017-01-23 17:56:33 +00:00
Alyssa Ross
13488183bd emoji: remove hack required for Ruby 1.8.7
Since this hack is no longer required, and `Emoji.tick` and `.cross` are
only called in one place, I think it's better to just inline them there
rather than having methods on `Emoji` that just return a one-character
String.
2017-01-23 17:56:33 +00:00
Alyssa Ross
2c1fbe1693 Merge pull request #1890 from alyssais/global_teardown_env
tests: automatically restore ENV in teardown
2017-01-23 17:54:31 +00:00
Markus Reiter
d6932548f8 Merge pull request #1899 from reitermarkus/fix-installer
Fix installer deleting artifacts if they already exist.
2017-01-23 18:00:04 +01:00
Markus Reiter
e59ada5087 Merge pull request #1894 from reitermarkus/appcast-checkpoint
Add internal command to calculate appcast checkpoint.
1.1.8
2017-01-23 17:17:50 +01:00
Markus Reiter
4459669617 Merge pull request #1896 from vitorgalvao/cleanups-internal-stanzas
Cask: cleanups internal stanzas
2017-01-23 16:33:02 +01:00
Markus Reiter
2076b494a6 Add manpage entry for _appcast_checkpoint. 2017-01-23 16:23:01 +01:00
Mike McQuaid
e12c1db231 official_taps: remove homebrew/gui.
This was deprecated and had all formulae removed in:
https://github.com/Homebrew/homebrew-gui/pull/52
2017-01-23 15:04:01 +00:00
Markus Reiter
2d5b659b0e Add support for calculating appcast checkpoint from URLs. 2017-01-23 15:48:20 +01:00
Vítor Galvão
53e232fc7e Add --calculate (print current checkpoint without it) 2017-01-23 15:30:44 +01:00
Vítor Galvão
a64e2835ad cask - internal_stanza: use cask_tokens_from(args) 2017-01-23 14:24:01 +00:00
Vítor Galvão
e8f67eb13d cask - internal stanzas: lowercase help 2017-01-23 14:24:01 +00:00
Markus Reiter
56eaf9d4cd Merge pull request #1898 from reitermarkus/remove-old-cache
Remove legacy cask cache instead of migrating.
2017-01-23 14:52:54 +01:00
Alyssa Ross
62a0c3a6f5 tests: remove env helper 2017-01-23 13:39:33 +00:00
Markus Reiter
f23c127cde Fix installer deleting artifacts if they already exist. 2017-01-23 14:19:14 +01:00
Markus Reiter
f7c6fc058f Remove legacy cask cache instead of migrating. 2017-01-23 13:33:08 +01:00
Markus Reiter
b7dc56a8aa Delete with_environment from cask tests. 2017-01-23 12:31:25 +00:00
Markus Reiter
7d131de57d tests: slightly stricter match in tab test
Suggested by @reitermarkus in
https://github.com/Homebrew/brew/pull/1890#discussion_r97234536, and
then I added the \A and \Z.
2017-01-23 12:31:02 +00:00
Markus Reiter
2de6d96a10 Change regex to catch multi-line pubDate tags. 2017-01-23 09:33:12 +01:00
Markus Reiter
16f4130dd8 Add internal command to calculate appcast checkpoint. 2017-01-23 09:33:12 +01:00
Mike McQuaid
3be56aee71 Merge pull request #1895 from xu-cheng/bottle
bottle: fix regex
2017-01-23 07:51:23 +00:00
Vítor Galvão
70a5ebafc4 cask - internal_stanza: arguments to args 2017-01-23 01:13:58 +00:00
Alyssa Ross
19e61355b3 tests: remove with_git_env method
A common git environment is now used in all tests, so this is no longer
required.
2017-01-22 20:54:37 +00:00
Alyssa Ross
b53ce62ffb tests: use more recent git committer date
This will allow the `brew bundle` test to use the default git
environment.
2017-01-22 20:45:15 +00:00
Alyssa Ross
9c3d01c682 tests: remove unnecessary comment
See https://github.com/Homebrew/brew/pull/1890#discussion_r97229473.
2017-01-22 19:59:13 +00:00
Markus Reiter
cbc9e5dd3b tests: re-use with_environment in using_git_env
Proposed by @reitermarkus in
https://github.com/Homebrew/brew/pull/1890#discussion_r97210285.

I made one slight adjustment of preserving the previous date string in
case anything was relying on it.
2017-01-22 19:53:58 +00:00
Alyssa Ross
1e1de8c111 tests: remove remainder of ARGV stubs
I was waiting for confirmation that there wasn't a good reason for these
to be stubbed before I removed them.
2017-01-22 19:53:58 +00:00
Alyssa Ross
a736c7e317 tests: set verbose in ENV instead of stubbing ARGV 2017-01-22 19:53:58 +00:00
Alyssa Ross
0c1d665568 tests: set developer in ENV rather than stubbing 2017-01-22 19:53:58 +00:00
Alyssa Ross
116ed3ec80 tests: automatically restore ENV in teardown 2017-01-22 19:53:58 +00:00
Alyssa Ross
6e0f1366b0 tests: extract a common using_git_env method 2017-01-22 19:52:34 +00:00
Alyssa Ross
6f305ad3dc Merge pull request #1892 from alyssais/global_teardown_fs
tests: clean up file system for all tests
2017-01-22 19:47:38 +00:00
Xu Cheng
22f294af90
bottle: fix regex
Noted that this is intended for the revision of this formula instead of
rebuild of a bottle.
2017-01-22 19:50:14 +08:00
Alyssa Ross
6861451f87 tests: remove more per-test file system cleanup
These locations are now all automatically cleaned up after every test.
2017-01-22 11:15:18 +00:00
Alyssa Ross
1aee7c6945 tests: remove explicit tmpdir deletions
These are no longer necessary.
2017-01-22 11:15:18 +00:00
Alyssa Ross
d7b8420aaa tests: clean up file system for all tests
(No longer just integration tests.)
2017-01-22 11:15:18 +00:00
Alyssa Ross
7c27bfd37a Merge pull request #1891 from alyssais/global_teardown_argv
tests: reset ARGV in teardown
2017-01-22 11:06:07 +00:00
Alyssa Ross
d86342a251 tests: reset ARGV in teardown 2017-01-21 15:08:20 +00:00
Alyssa Ross
c9d7bab6ca Merge pull request #1889 from alyssais/clear_tab_cache_in_teardown
tests: clear tab cache in global teardown
2017-01-21 14:55:12 +00:00
Alyssa Ross
2d550b5008 tests: clear tab cache in global teardown 2017-01-21 14:24:19 +00:00
Alyssa Ross
ab9d8df792 Merge pull request #1888 from alyssais/tests_enforce_lifecycle
tests: enforce `super` in lifecycle hooks
2017-01-21 13:24:54 +00:00