2303 Commits

Author SHA1 Message Date
Xu Cheng
002f8f2eb7 audit: handle tap aliases 2015-09-13 17:33:35 +08:00
Xu Cheng
e6f260de27 aspell-dictionaries: move to dev-cmd 2015-09-13 01:03:38 +08:00
Xu Cheng
71f6d2d165 test-bot: always run brew tests 2015-09-12 22:15:23 +08:00
Xu Cheng
c5bb388653 commands: better output 2015-09-12 19:24:41 +08:00
Xu Cheng
14bb9accdf test-bot: run update-test
Closes Homebrew/homebrew#43648.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-12 19:15:46 +08:00
Xu Cheng
849f378d6a test-bot: only run necessary test for tap 2015-09-12 19:15:46 +08:00
Xu Cheng
ce390b9bd9 add dev-cmd folder 2015-09-12 19:15:45 +08:00
Xu Cheng
fa9c7cdc8e add update-test 2015-09-12 19:15:45 +08:00
Xu Cheng
635340e32e bottle: allow updating :any to :any_skip_relocation when keep old
Closes Homebrew/homebrew#43849.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-12 18:26:16 +08:00
Xu Cheng
ed87972e2d bottle: only set prefix if un-relocatable
Closes Homebrew/homebrew#43819.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-12 01:39:00 +08:00
Xu Cheng
e23cca8d84 bottle: auto detect any_skip_relocation 2015-09-12 01:39:00 +08:00
Xu Cheng
d911b5689a keg_relocate: split relocate_install_names and relocate_text_files
For bottle with `:any_skip_relocation`, relocating text files is
required.
2015-09-12 01:38:59 +08:00
Xu Cheng
7ce0a2dedb test-bot: check ARGV.include?("--skip-homebrew") once 2015-09-11 22:44:00 +08:00
Xu Cheng
e52a12a8b5 test-bot: fix syntax error 2015-09-11 22:36:27 +08:00
Mike McQuaid
96be0c2724 test-bot: skip some unnecessary tests. 2015-09-11 15:29:16 +01:00
Mike McQuaid
3e12ffa6a7 test-bot: support uploading keep-old bottles. 2015-09-11 15:09:24 +01:00
Mike McQuaid
cfc6f737f3 pull: allow pulling all testing jobs. 2015-09-11 14:59:46 +01:00
Xu Cheng
55616a4d01 bottle: improve --keep-old error message for merge as well 2015-09-11 18:36:40 +08:00
Xu Cheng
fe204fdf4b bottle: fix output for absolute symlinks
Closes Homebrew/homebrew#43816.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-11 18:32:35 +08:00
Mike McQuaid
6d6daae050 bottle: improve --keep-old error message. 2015-09-11 11:16:15 +01:00
Mike McQuaid
b1ff9c42d6 update: fix when HEAD doesn't exist.
e.g. when it's a detached `HEAD` through checking out a commit rather
than a branch.
2015-09-11 11:00:27 +01:00
Mike McQuaid
664e9e844a test-bot: add keep-old argument.
Will be useful for creating El Capitan bottles.
2015-09-11 10:15:21 +01:00
Xu Cheng
70f2b6f195 bottle: allow to keep old bottle specification
Closes Homebrew/homebrew#43766.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-11 14:17:28 +08:00
Xu Cheng
fb1789ad3d bottle: use if-else branch instead of exit 2015-09-11 14:17:28 +08:00
Xu Cheng
0357673f21 config: fix ruby path for ruby 1.8 2015-09-10 15:44:46 +08:00
Xu Cheng
c75207c1e0 desc: print descriptions directly by formulae instead of cache
We allow passing formulae by URL, file path, etc whose descriptions won't be cached

Closes Homebrew/homebrew#43726.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-10 13:37:58 +08:00
Xu Cheng
80514ee5d7 desc: better way to handle options
We allow to use options like --verbose and --debug for all commands.
And we should support switch format options, e.g. `brew desc -vs foo`
2015-09-10 13:37:57 +08:00
Xu Cheng
12a4cf3808 config: read ruby/python interpreter directly
Closes Homebrew/homebrew#43750.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-10 13:37:14 +08:00
Dominyk Tiller
9dc461cb9f style: update rubocop 2015-09-09 15:58:33 +01:00
Xu Cheng
63246fbc6c config: show all installed JDK
Closes Homebrew/homebrew#43730.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-09 20:44:09 +08:00
Mike McQuaid
312abc620c test-bot: don't output bottle output on success.
This can be extremely verbose and destroys the log. Instead look for
this in the Jenkins build test results.
2015-09-09 09:36:40 +01:00
Xu Cheng
2b835551d7 info: improve github_info
* use Homebrew.git_origin
* Handle the case git is unavailable or `.git` doesn't exist
* Handle the case origin isn't github repo
2015-09-09 12:21:24 +08:00
Xu Cheng
c8efb05826 doctor: use Utils.git_available? instead of git? 2015-09-09 12:21:08 +08:00
Xu Cheng
bff03ee5ba doctor: use Homebrew.git_origin 2015-09-09 12:19:17 +08:00
Xu Cheng
aae5b4f721 config: use Homebrew.git_origin 2015-09-09 12:19:16 +08:00
Dan Martinez
8374374168 Improve description searching and add a cache.
Closes Homebrew/homebrew#42281.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-08 15:23:37 +01:00
Tomasz Pajor
c4ceaabfc1 style: update to rubocop 0.34.0.
Closes Homebrew/homebrew#43650.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-08 15:08:46 +01:00
Xu Cheng
8a1495ef40 config: use quiet_system
Closes Homebrew/homebrew#43691.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-08 17:36:29 +08:00
Xu Cheng
67c3f8ff27 audit: cache formula names during audit_formula_name
Before `audit_formula_name: 15.094845999999986`
After `audit_formula_name: 0.5617120000000043`

Closes Homebrew/homebrew#43663.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-08 11:04:49 +08:00
Xu Cheng
e370f005c0 audit: simplify remote_official_taps 2015-09-08 11:04:49 +08:00
Mike McQuaid
adc077f188 doctor: don't always fail on 10.11.
Do this just for Homebrew developers (and the bot) currently.
2015-09-07 15:06:11 +01:00
Josh Hagins
f431e543a5 update: explicitly no-ff merge and rebase.
This overrides user configuration which may do otherwise.

Closes Homebrew/homebrew#41570.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-07 12:05:20 +01:00
Mike McQuaid
881d68d355 tap-readme: create README in tap path. 2015-09-06 13:21:21 +01:00
Xu Cheng
b38498d9dc outdated: fix syntax warning
Library/Homebrew/cmd/outdated.rb:27: warning: shadowing outer local variable - dir
2015-09-06 20:15:38 +08:00
Xu Cheng
ffdede2ac4 readall: put nostdout in outter layer
The previous code would fail to reset stdout after thread jobs are finshed.
2015-09-06 20:15:37 +08:00
Xu Cheng
7f3e3b5256 test-bot: check aliases 2015-09-06 20:15:37 +08:00
Xu Cheng
1555edf4d6 readall: add --aliases 2015-09-06 20:15:37 +08:00
Alex Dunn
818c65542d remove Formula#file_modified?
It's been more trouble than it's worth.

Fixes Homebrew/homebrew#43607.
Closes Homebrew/homebrew#43049.

Closes Homebrew/homebrew#43615.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-06 13:13:59 +01:00
Xu Cheng
488aa19d8f doctor: use inject_file_list
Also simplify the condition branch by early return

Closes Homebrew/homebrew#43574.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-06 20:02:31 +08:00
Ethan Piekarski
eff3d21350 Added --dry-run to unlink
Closes Homebrew/homebrew#43561.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-06 15:25:36 +08:00