Xu Cheng
c5536e1e08
Descriptions.cache_formulae: secure formulae loading
2015-09-10 13:37:58 +08:00
Xu Cheng
71be19235f
Descriptions.cache_fresh?: return early
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
657f4ca2ce
rubocop: allow consistent trailing commas.
...
Makes diffs nicer. Could maybe be changed to `comma` to be stricter.
2015-09-09 09:42:21 +01: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
3638c057f0
FormulaInstaller: reset git_available? when installing git
...
Closes Homebrew/homebrew#43693
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-09 12:22:03 +08: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
31ddce85e7
Homebrew.git_*: check git available
2015-09-09 12:19:17 +08:00
Xu Cheng
aae5b4f721
config: use Homebrew.git_origin
2015-09-09 12:19:16 +08:00
Xu Cheng
4529df1246
git_available?: cache the result
2015-09-09 12:19:16 +08:00
Xu Cheng
1b531492ca
utils: add Homebrew.git_origin
2015-09-09 12:19:16 +08:00
chdiza
edbb3a9e53
Use system tar for bottle TOC inspection
...
Closes Homebrew/homebrew#43717 .
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2015-09-08 15:51:01 -07:00
Dominyk Tiller
48ba192a3b
formula_support: add Pre El Capitan keg_only
2015-09-08 15:28:22 +01: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
e3299bb7a3
quiet_system: don't print cmd even when verbose mode
...
It's kinda annoying that quiet_system wasn't really quiet. This commit
fixes that.
2015-09-08 17:36:28 +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
Mike McQuaid
0a39474bcf
Add El Capitan testball bottle.
2015-09-07 15:04:16 +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
Vlad Shablinsky
8d2e757253
app-engine-python: rename from google-app-engine
...
Closes Homebrew/homebrew#42941 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-07 12:05:18 +01:00
Vlad Shablinsky
b34979b870
app-engine-java: rename from app-engine-java-sdk
2015-09-07 12:05:18 +01:00
Vlad Shablinsky
a55054f325
app-engine-go-64: rename from go-app-engine-64
2015-09-07 12:05:17 +01:00
Vlad Shablinsky
aa6eb521e0
app-engine-go-32: rename from go-app-engine-32
2015-09-07 12:05:17 +01:00
Mike McQuaid
3ee2edbe9b
README: remove Gratipay.
2015-09-07 12:01:28 +01:00
Vlad Shablinsky
a3505b29c6
update rename documentation
...
Update commit format for formula renames
Closes Homebrew/homebrew#43644 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-06 13:57:25 +01:00
Xu Cheng
ccc7a5f1bd
add test_formulary
...
Closes Homebrew/homebrew#43506 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-06 20:47:40 +08:00
Xu Cheng
ee1dd24b19
FromUrlLoader: allow file:// scheme
2015-09-06 20:47:04 +08:00
Xu Cheng
11f0979dfb
FormulaVersions: load from contents to reduce io
2015-09-06 20:47:04 +08:00
Xu Cheng
61c8f69c25
add Formulary.from_contents
2015-09-06 20:47:04 +08:00
Xu Cheng
ff0f6598ce
Formulary: allow loading formula from contents
2015-09-06 20:47:03 +08:00
Mike McQuaid
cbb91c5516
exceptions: handle HOMEBREW_NO_GITHUB_API case.
...
Closes Homebrew/homebrew#43618 .
2015-09-06 13:30:02 +01:00
Mike McQuaid
881d68d355
tap-readme: create README in tap path.
2015-09-06 13:21:21 +01:00
Xu Cheng
f279a13977
formula_installer: fix syntax warning
...
Library/Homebrew/formula_installer.rb:636: warning: shadowing outer local variable - conflict_file
Library/Homebrew/formula_installer.rb:636: warning: shadowing outer local variable - backup_file
Closes Homebrew/homebrew#43602 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-06 20:15:38 +08:00
Xu Cheng
db2552828b
test_integration_cmds: fix syntax warning
...
Library/Homebrew/test/test_integration_cmds.rb:68: warning: ambiguous first argument; put parentheses or even spaces
2015-09-06 20:15:38 +08: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
Jan Lehnardt
93f7ef6f42
download_strategy: add Apache mirror lua.
...
The ASF now has a preferred .lua mirror script on top of the .cgi file
Closes Homebrew/homebrew#43521 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-06 12:44:00 +01:00
Vlad Shablinsky
7d573034bb
mpich: rename from mpich2
...
Closes Homebrew/homebrew#42945 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-06 12:37:36 +01:00