127 Commits

Author SHA1 Message Date
Mike McQuaid
0031e1947d brew-test-bot: build changed dependencies first.
And don't uninstall them in-between. This should fix the issues where
if e.g. OpenSSL changes in a pull request then it's only the dependents
after it alphabetically would be built against the new version.
2014-09-16 09:59:09 +01:00
Mike McQuaid
babcad25e3 brew-test-bot: add --dry-run mode. 2014-09-15 14:23:12 +01:00
Jack Nagel
6a3a370603 Fix file descriptor leak 2014-09-08 19:50:32 -05:00
Jack Nagel
9321873eef Use predicate method and eliminate local 2014-09-08 19:50:15 -05:00
Jack Nagel
f6eedf9464 Avoid early return 2014-09-08 19:50:13 -05:00
Jack Nagel
6b423c8cfb Make sure redirected stdout and stderr share the same offset
This fixes broken output like this:

  Error: No such file or directory - non_existent_file
  ee/src/tree-1.7.0.tgz
  Already downloaded: /Library/Caches/Homebrew/tree-1.7.0.tgz
  ==> Verifying tree-1.7.0.tgz checksum
  tar xf /Library/Caches/Homebrew/tree-1.7.0.tgz
2014-09-07 20:25:12 -05:00
Jack Nagel
829b6289f5 brew-test-bot: check for hg in requirements 2014-09-07 12:53:50 -05:00
Jack Nagel
51ffcc761f Fix typo 2014-09-07 12:39:09 -05:00
Jack Nagel
4652be33b9 brew-test-bot: install hg before fetching if necessary 2014-09-07 12:32:40 -05:00
Jack Nagel
50f0146f51 brew-test-bot: less code in begin block 2014-09-07 12:31:46 -05:00
Jack Nagel
97f89877e3 Convert deps collections to arrays first 2014-08-30 16:36:40 -05:00
Jack Nagel
73956a1b77 Use different variable name 2014-08-30 10:24:42 -05:00
Mike McQuaid
efb02aa79d brew-test-bot: check dependencies' compilers too. 2014-08-30 13:28:53 +01:00
Mike McQuaid
2559ee76b2 brew-test-bot: fix upload type bug. 2014-08-04 12:23:08 +01:00
Maurus Cuelenaere
e311583fe4 brew-test-bot: support taps.
Closes Homebrew/homebrew#30540.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-04 09:34:17 +01:00
Mike McQuaid
8ad07144f7 brew-test-bot: handle changed formulae deps.
If both a formula and its dependencies are changed in a single pull
request it'll fail because the bottle block may no longer be correct.

Handle this case by ignoring bottle pour failures and fetching the
source packages instead of bottles.
2014-07-29 13:38:18 +02:00
Mike McQuaid
d2d2b3c888 brew-test-bot: clear compiler version cache.
This fix means that brew-test-bot can bottle formulae that require GCC
again.
2014-07-24 08:51:09 +01:00
Jack Nagel
a9c5e81a48 Remove a conditional and always pass the spec to satisfied_requirements 2014-07-19 22:19:02 -05:00
Jack Nagel
5d1977363f Tighten up bottle ruby file glob 2014-07-15 16:11:35 -05:00
Jack Nagel
f906d13ef2 Remove dead code 2014-07-11 20:34:33 -05:00
Jack Nagel
a2ef43b2a4 Only compute the log file path once per call 2014-07-11 20:28:17 -05:00
Jack Nagel
a7ca4bc300 Remove intermediate variable 2014-07-11 20:27:57 -05:00
Jack Nagel
6cad17caef brew-test-bot: use git to do the diff filtering 2014-07-11 16:15:45 -05:00
Jack Nagel
32d84377d5 Move constants so we don't have to load all of ENV to get them 2014-07-02 21:58:43 -05:00
Jack Nagel
729ee39994 Add missing require 2014-07-02 21:50:07 -05:00
Jack Nagel
4d9d01893e Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Jack Nagel
8976a960df brew-test-bot: use Dir[] for globbing 2014-06-20 19:27:38 -05:00
Jack Nagel
0e3249e188 brew-test-bot: use multiple argument form of system 2014-06-20 19:01:04 -05:00
Jack Nagel
1cd31db1a8 brew-test-bot: don't pass formula name to fetch twice 2014-06-18 23:33:32 -05:00
Jack Nagel
89ba5b2b0a brew-test-bot: fix FormulaUnavailableError handling 2014-06-15 20:23:21 -05:00
Jack Nagel
a57e49db39 brew-test-bot: use path-limited diff 2014-06-15 20:23:21 -05:00
Jack Nagel
4e29bab683 brew-test-bot: make git commands shell-safe 2014-06-15 20:23:20 -05:00
Jack Nagel
299b272c6c brew-test-bot: make test commands shell-safe 2014-06-15 20:23:20 -05:00
Jack Nagel
d487c3d978 brew-test-bot: remove dead code 2014-06-14 21:46:26 -05:00
Jack Nagel
03488424cb Handle non-ASCII output encoded as ASCII
Some tool involved in `brew install node` is emitting UTF-8 even though
LANG and LC_ALL are unset. Since the external encoding is US-ASCII, we
need to guard against bad data here.
2014-06-14 00:07:24 -05:00
Mike McQuaid
eebef9b2d4 brew-test-bot: strip bell/alert character. 2014-06-04 16:21:42 +01:00
Jack Nagel
104b725c88 String isn't enumerable in 1.9+ 2014-06-03 11:04:06 -05:00
Adam Vandenberg
d4b0599a86 --config -> config 2014-04-30 19:09:29 -07:00
Mike McQuaid
ec852045b1 brew-test-bot: handle failing devel requirements. 2014-04-30 13:07:06 +01:00
Mike McQuaid
165fdf4617 Use gcc instead of apple-gcc42 when needed. 2014-04-23 08:15:30 +01:00
Mike McQuaid
5883f1675d brew-test-bot: check CompilerSelectionError twice.
It may be that even installing a new compiler doesn't fix things so
detect that case and skip the formula installation rather than erroring
out.
2014-04-15 08:29:30 +01:00
Mike McQuaid
bcb82edea0 brew-test-bot: set Git author/committer correctly. 2014-03-13 12:15:35 +00:00
Mike McQuaid
a6b46347a1 brew-test-bot: use install_args for building deps. 2014-03-13 10:31:22 +00:00
Mike McQuaid
ca0133cf5b brew-test-bot: hide --retry flag. 2014-03-13 10:30:49 +00:00
Mike McQuaid
281494c255 brew-test-bot: use fetch --retry.
Closes Homebrew/homebrew#27110.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-01 16:45:31 +00:00
Mike McQuaid
57769d7448 brew-test-bot: don't force-fetch deps. 2014-02-23 10:41:22 +00:00
Mike McQuaid
690060578c brew-test-bot: further tweak cleanup handling. 2014-02-23 10:34:22 +00:00
Mike McQuaid
bf57ddf302 brew-test-bot: only cleanup cache once. 2014-02-22 17:57:55 +00:00
Mike McQuaid
b33203604e brew-test-bot: push master with tags. 2014-02-22 17:27:04 +00:00
Mike McQuaid
a35fb6a192 brew-test-bot: force dep fetches on cleanup. 2014-02-22 17:01:38 +00:00