7812 Commits

Author SHA1 Message Date
Dominyk Tiller
81e4f810c1 caveats: use two spaces instead of 4 2015-07-23 15:17:31 +01:00
Xu Cheng
de6a9ff055 keg_relocate: relocate libtool files 2015-07-23 16:29:37 +08:00
Xu Cheng
fd7f3b9496 Pathname#abv: handle the case du returns empty string
This can happen when read permission is denied.

Fixes Homebrew/homebrew#41925.

Closes Homebrew/homebrew#42011.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:35:01 +08:00
Xu Cheng
ebd0f34561 tests: show fs leak result
Closes Homebrew/homebrew#41956.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:27:20 +08:00
Xu Cheng
0ad82a29f9 tests: always run fs leak check 2015-07-22 20:27:20 +08:00
Xu Cheng
c39b0ef000 test_formula_installer: fix log file leak 2015-07-22 20:27:20 +08:00
Xu Cheng
c4ba428d54 gitignore: add fs_leak_log file from test 2015-07-22 20:27:20 +08:00
Xu Cheng
9e6f1412ad test-bot: run brew tests in no-compat mode
Closes Homebrew/homebrew#42009.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:27:02 +08:00
Xu Cheng
ea21f9bc4d audit: more fix on no-compat mode 2015-07-22 16:41:10 +08:00
Xu Cheng
2648684b3b audit: rename audit_patches to audit_legacy_patches 2015-07-22 16:34:08 +08:00
Xu Cheng
51810ae1ea audit: fix for no-compat mode 2015-07-22 15:27:58 +08:00
Xu Cheng
33befcf312 tests: fix patching test for no-compat mode
Closes Homebrew/homebrew#41977.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:31 +08:00
Xu Cheng
60600c824c test-bot: build bottle with verbose
It will print out what stops bottle being relocatable.

Closes Homebrew/homebrew#41958.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:23 +08:00
Xu Cheng
8cebb64eec auto disable sandbox for interactive shell
Closes Homebrew/homebrew#38792.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:15 +08:00
Dominyk Tiller
895983fed5 readall: use RUBY_PATH 2015-07-22 05:10:27 +01:00
polamjag
1b78fe240e exceptions: don't bracket url
Closes Homebrew/homebrew#41592.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-22 05:07:35 +01:00
Alex Dunn
d2c1a182d5 cmd/deps: --tree shows required dependencies only
Until we figure out how to allow --tree to show optional dependencies in
a way that fits on a normal screen, this helps to explain the
discrepancy between `brew deps` and `brew deps --tree`.

Closes Homebrew/homebrew#41841.
Closes Homebrew/homebrew#41947.
2015-07-21 09:44:15 -07:00
Xu Cheng
744de30089 move deprecated codes into compat
Closes Homebrew/homebrew#41974.
2015-07-21 21:58:10 +08:00
Xu Cheng
5433203fb4 coverage: stop recording compat codes
Closes Homebrew/homebrew#41973.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-21 21:32:50 +08:00
Xu Cheng
bc650a4f0d test_formula_installer: remove ScriptFileFormula test
It's deprecated and breaks `brew tests` in no-compat mode.
2015-07-21 21:32:38 +08:00
Xu Cheng
1ead0d4fe5 tests: use ARGV.include? instead of ARGV.flag? 2015-07-21 15:02:15 +08:00
Baptiste Fontaine
44a8ebdc7e 'brew tests' optional coverage measure added
Closes Homebrew/homebrew#41890.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-20 20:44:12 +02:00
Dominyk Tiller
9877b1e7b8 doctor: update xcode links 2015-07-20 17:32:08 +01:00
Dominyk Tiller
051ddf5545 blacklist: update xcode link 2015-07-20 17:32:07 +01:00
Zeb McCorkle
7fc6caf41e requirements: update xcode url
Closes Homebrew/homebrew#41722.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-20 17:31:43 +01:00
Mike McQuaid
70739e9f05 keg_relocate: also relocate executable text files.
There are times (e.g. `ocaml`) when the `text_executable?` test will
match even although `file` does not consider it a text file. Ensure
that it's relocated in this case correctly.

References Homebrew/homebrew#41663.
Closes Homebrew/homebrew#41926.
2015-07-20 12:06:13 +01:00
Andy Blyler
653053f184 test-bot: handle conflicted formulas and unlinked dependencies
these changes are primarily needed for php tap pull requests, as they usally contain multiple formulas depend on conflicting php versions:
- unlink any conflicted formulas
- link any dependencies that are installed and not linked

Closes Homebrew/homebrew#41602.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-20 08:34:53 +01:00
Mike McQuaid
5db82b46b1 keg_relocate: don't match "text" in filenames. 2015-07-20 08:34:03 +01:00
Xu Cheng
842c0227bc TapFormulaUnavailableError: add back user and repo method
Fixes Homebrew/homebrew#41888.
2015-07-19 16:42:40 +08:00
Xu Cheng
140f8e3df7 improve TapLoader and TapFormulaUnavailableError
* Restore the ability to load formula by `user/homebrew-repo/foo`.
* Only suggest to install tap when tap isn't installed.

Closes Homebrew/homebrew#41705.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-19 12:10:33 +08:00
Rainer M. Krug
86d04e94e9 audit: recognise head-only and devel-only taps.
add wildcard into expressions to identify head-only and dev-only taps
to avoid "head-only" and "devel-only" errors when formula is in
*head-only or *devel-only tap

Closes Homebrew/homebrew#41289.
Closes Homebrew/homebrew#41413.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-18 20:50:12 -07:00
Dominyk Tiller
ac523bac06 formula: always override user home
Closes Homebrew/homebrew#40444.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-18 20:48:00 -07:00
Mike McQuaid
b9cdfe21fc keg_relocate: relocate all text files.
Work out what's text and what's not using `file`. Also, rename
`keg_fix_install_names` to `keg_relocate` because that's a more
accurate description of what it does now.

Closes Homebrew/homebrew#41663.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-18 19:52:56 -07:00
Alex Dunn
da2e4d417d fetch/build formula from source when modified
closes Homebrew/homebrew#36068

Closes Homebrew/homebrew#41397.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-18 19:30:30 -07:00
Baptiste Fontaine
d88f84138e ydict: migrate to boneyard
The executable is not working and upstream hasn't been updated in more
than 1 year.

Closes Homebrew/homebrew#41853.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-18 13:29:09 +02:00
Xu Cheng
3f601e0e7f keg: mkpath for fish related directories
Fixes Homebrew/homebrew#41742.

Closes Homebrew/homebrew#41849.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-18 16:48:41 +08:00
Baptiste Fontaine
6303ff7e28 audit: missing spaces added in blocks order report
Closes Homebrew/homebrew#41783.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-18 10:45:47 +02:00
Xu Cheng
05c0fcb5ee formula_installer: remove duplicated hold_locks check
It'll be checked inside `FormulaInstaller#unlock` method.

Closes Homebrew/homebrew#41820.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-18 13:59:52 +08:00
Misty De Meo
5d5f01f35b xastir: move to homebrew-x11
Closes Homebrew/homebrew#41845.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2015-07-17 21:25:40 -07:00
Alex Dunn
c7e986d65e use ohai headers at the top of search results
Closes Homebrew/homebrew#41832.
2015-07-17 18:33:34 -07:00
Stephan van Eijkelenburg
c6fd7833be remove --all parameter from FAQ
The --all parameter was reverted in commit a45a34db0b
This should be updated in the documentation :)

Closes Homebrew/homebrew#41773.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-17 17:49:45 +08:00
Mike McQuaid
24b0639e27 audit: recommend use of assert_match.
It produces significantly easier output to debug than doing `assert` and
`.include?` (which just shows if it passed or failed).

Closes Homebrew/homebrew#41662.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-14 11:54:38 -07:00
Dominyk Tiller
b554c8bcca audit: clarify desc calculation 2015-07-14 17:15:51 +01:00
Baptiste Fontaine
587ab81074 manpage: new maintainers added to the list
I kept the same order as in README.md.

Closes Homebrew/homebrew#41655.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-14 13:31:22 +02:00
Dominyk Tiller
b1caa4c44b formula_cellar_checks: remove openssl expectation 2015-07-13 20:49:36 +01:00
Dominyk Tiller
52de5aa984 doctor: remove redundant EOS
Closes Homebrew/homebrew#41667
2015-07-13 18:13:45 +01:00
Mike McQuaid
fe68abf987 doctor: don't point to App Store for Xcode on 10.11.
Closes Homebrew/homebrew#41589.

Closes Homebrew/homebrew#41597.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-13 08:11:06 -07:00
Mike McQuaid
9011060c00 Merge test gitignore into root version.
libgit2 clients struggle at parsing these otherwise because of how we
set up our ignore rules.

And remove now unneeded formula ignore rule.

Closes Homebrew/homebrew#41593.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-13 08:11:04 -07:00
Baptiste Fontaine
3ba3ecba9d audit --online: check homepage reachability
Closes Homebrew/homebrew#41607.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-12 20:32:15 +02:00
Mike McQuaid
7d0d232fb6 cmd/install: fix install warning timeout. 2015-07-11 21:16:00 +01:00