8545 Commits

Author SHA1 Message Date
Xu Cheng
1b33c70d46 FormulaInstaller: cleanup files when pouring bottle failed
Closes Homebrew/homebrew#44325.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-26 13:51:56 +08:00
Xu Cheng
7b97dca554 use skip_deps_check? instead of ignore_deps? hack
We previously set `ignore_deps?` as true for DependencyInstaller to
avoid duplicated dependencies resolution. (See a9fc82aea30506eeacbddeb8b53fb85de8acb9d4)

However, this will cause problem when pouring bottle of a dependency is
failed. In this case, it will try to build dependency from source but
failed due to uninstalled build deps for this formula.

Another disadvantage for using `ignore_deps?` hack is we cannot
distinguish users passing `--ignore-dependencies` flag from we are in
`DependencyInstaller`.

So, let's differentiate these using `skip_deps_check?`
2015-09-26 13:51:56 +08:00
Xu Cheng
5045fc95bf FormulaInstaller: raise if pouring bottle failed and no Xcode/CLT installed 2015-09-26 13:51:56 +08:00
Mike McQuaid
be45e6a0c5 migrator: link Cellar and opt before the keg.
When there's absolute symlinks in a linked directory in the `keg`
(e.g. `bin`)that point to the `Cellar` or `opt` then linking the `keg`
will fail before the `Cellar` or `opt` has been linked.

Closes Homebrew/homebrew#44306.

Closes Homebrew/homebrew#44329.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-25 16:53:34 +01:00
Mike McQuaid
d0cfad03dd travis.yml: always run git reset --hard once. 2015-09-25 15:51:22 +01:00
Mike McQuaid
74a2c3a509 test-bot: add comments, tweak argument handling. 2015-09-25 09:15:10 +01:00
Mike McQuaid
5a11970d63 travis.yml: try to refetch PR commit if missing. 2015-09-25 08:39:13 +01:00
Xu Cheng
afff98d700 travis: run --ci-master for non-PR
Closes Homebrew/homebrew#44302.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-24 20:35:26 +08:00
Xu Cheng
a3bb757507 travis: organize matrix config 2015-09-24 20:35:26 +08:00
Xu Cheng
c3813230c1 Formula#system: fix log output for travis 2015-09-24 16:44:39 +08:00
Mike McQuaid
711e079901 Export more Travis debugging and fix Git issue. 2015-09-24 08:33:08 +01:00
Alex Gaynor
00480edf9d docker-compose: renamed from fig 2015-09-24 03:34:41 +01:00
Dominyk Tiller
87769ee970 style: update rubocop to 0.34.2 2015-09-24 02:18:50 +01:00
Mike McQuaid
f154f4898a bottle: output maximum number of strings matches.
`brew bottle --verbose` outputs all the matches for a string found
in the files inside the Cellar. Instead of outputting all of these just
output the first 100.

Closes Homebrew/homebrew#44266.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-23 15:17:35 +01:00
Xu Cheng
322a93bce0 test-bot: use IO#read instead of IO#gets
IO#gets will only return for every new lines, which will be bad for
`brew install` since we print dots in single line.

Closes Homebrew/homebrew#44264.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-23 21:46:45 +08:00
Xu Cheng
8c9f0120ca Formula#system: print dot for travis 2015-09-23 21:46:44 +08:00
Mike McQuaid
9c5427d9a9 travis.yml: retry git fetch. 2015-09-23 21:46:44 +08:00
Mike McQuaid
a782406cc3 travis.yml: check /usr/local permissions. 2015-09-23 21:46:44 +08:00
Mike McQuaid
43f3ba9caa test-bot: configure log lines instead of verbose.
The `--verbose` seems to cause some issues with compiling software like
`boost` under Xcode 7.
2015-09-23 21:46:43 +08:00
Mike McQuaid
9aecb1be2b formula: increase fail log lines, allow config.
The default is almost never useful. 15 seems like a good medium as it'll
not fill a 80x24 default but provides a bit more context. Also allow it
to be overriden for developers and `test-bot`.
2015-09-23 21:46:43 +08:00
Mike McQuaid
b5a20e79ee travis.yml: add 10.11 image. 2015-09-22 21:05:57 +01:00
Scott Beamer
15875ade93 add link to RISC-V toolchain
Closes Homebrew/homebrew#44196.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-21 15:19:40 +01:00
Martin Afanasjew
366440b5bb commands: sort external commands by name
Closes Homebrew/homebrew#44125.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-21 15:14:42 +01:00
Mike McQuaid
036aab567d test-bot: allow bottle --merge to fail.
It may still write some bottles so let's allow them to be uploaded.
2015-09-21 14:02:28 +01:00
Xu Cheng
76488216b7 test-bot: remove obsolete empty line 2015-09-21 17:28:58 +08:00
Dominyk Tiller
6e5bef5ee1 Troubleshooting: add El Cap doc link 2015-09-20 18:20:59 +01:00
Dominyk Tiller
bf5482216b El_Capitan_and_Homebrew: add permissions doc 2015-09-20 18:16:35 +01:00
Martin Afanasjew
37ce555104 update: fix test for non-master update support
Commit a71d4a9b (PR Homebrew/homebrew#44058) brought support for updating repositories
with a default branch different from master. This fixes the tests broken
by that commit.

Closes Homebrew/homebrew#44135.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-19 16:28:16 +01:00
Misty De Meo
520b8496d4 Fix brew update for taps with non-master branches
Fixes Homebrew/homebrew#43865.
2015-09-19 00:52:23 -07:00
Mike McQuaid
e34033310a test-bot: optionally disable verbose install. 2015-09-19 08:19:49 +01:00
Dominyk Tiller
359cdafb86 doctor: don't false-flag sdk with clt 2015-09-18 15:55:21 +01:00
Xu Cheng
ccbb2ce786 test-bot: Formula#tap is not tap object 2015-09-18 22:19:53 +08:00
Dominyk Tiller
722a43aabe doctor: add xcode 7 SDK check 2015-09-18 15:11:48 +01:00
Xu Cheng
badea99097 test-bot: fix bottle uploading 2015-09-18 22:09:04 +08:00
Xu Cheng
9e2c0601e3 test-bot: fix bottle uploading 2015-09-18 22:08:07 +08:00
Xu Cheng
347a215361 test-bot: better fold id for travis
* Only use first two word in command to keep id short
* Append unique number in the id.

Closes Homebrew/homebrew#44104.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 22:04:24 +08:00
Xu Cheng
4114a75039 test-bot: add sanitize_ARGV_and_ENV
Closes Homebrew/homebrew#44102.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 21:54:02 +08:00
Xu Cheng
8228993624 test-bot: make ci-upload a standalone method 2015-09-18 21:54:02 +08:00
Xu Cheng
70d31838c6 test-bot: use tap object 2015-09-18 21:54:01 +08:00
Xu Cheng
658bdc2565 test-bot: make ci-reset-and-update a standalone method 2015-09-18 21:54:01 +08:00
Xu Cheng
a6c5fca3a9 test-bot: use ruby method instead of shellout to remove files 2015-09-18 21:54:01 +08:00
Xu Cheng
896ba576cc test-bot: tweak output for travis
Closes Homebrew/homebrew#44098.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 19:22:23 +08:00
Mike McQuaid
fab6b6c19d test-bot: fix syntax error. 2015-09-18 11:56:03 +01:00
Mike McQuaid
1d4c99e008 test-bot: do fewer unnecessary brew updates. 2015-09-18 11:23:53 +01:00
Mike McQuaid
70d2da0364 test-bot: don't mark every job as failed. 2015-09-18 10:40:36 +01:00
Mike McQuaid
07e550d525 test-bot: unify, fix Travis and Jenkins output. 2015-09-18 10:28:35 +01:00
Xu Cheng
4d83331c51 travis: no email 2015-09-18 17:11:39 +08:00
Mike McQuaid
49241473ec Add Travis CI configuration.
Closes Homebrew/homebrew#43976.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-18 09:54:29 +01:00
Mike McQuaid
e39cd2e9b2 test-bot: use Travis CI environment variables. 2015-09-18 09:54:29 +01:00
Xu Cheng
a25fc67813 update-test: use git clone --local instead of copy
The .git directory in BrewTestBot is huge(1GB) which results to poor
performance of `brew update-test`. Therefore, let's use `git clone
--local` here which will create hard symlink to boost performance.

Closes Homebrew/homebrew#44005.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 14:24:54 +08:00