Xu Cheng
5241932b45
keg_relocate: fix absolute symlink
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
Tim D. Smith
c7d82a3881
env block is not inherited
2015-09-10 23:10:26 -07:00
Tim D. Smith
5997812ed2
Revert "python_requirement: fix ENV for python3"
...
This reverts commit 85271644b0083cbc0fd6fea71120d1ad859fbc2a.
Alex noticed that setting PYTHONPATH causes weirdness if we depend_on
something which may be optionally built --with-python3; PYTHONPATH
unexpectedly contains python3 modules in the depending formula if
the formula upon which it depends was built --with-python3 even
though the depending formula may only use python2.
Closes Homebrew/homebrew#43724 . Closes Homebrew/homebrew#43744 .
2015-09-10 23:10:26 -07:00
Xu Cheng
0357673f21
config: fix ruby path for ruby 1.8
2015-09-10 15:44:46 +08:00
Xu Cheng
43ba72fb57
descriptions: use each instead of map
2015-09-10 13:38:51 +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
65996b5887
use json to cache descriptions
...
We need to use `atomic_write` when saving the cache. And it seems that
CSV module doesn't support dump, so let's use JSON instead.
2015-09-10 13:37:58 +08:00
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