9434 Commits

Author SHA1 Message Date
Baptiste Fontaine
9bdd6619e2 cleanup: move code away from cmd/
Closes Homebrew/homebrew#47484.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-04 13:17:21 +01:00
Zhiming Wang
d7b6230aed download_strategy: untar verbosely when --verbose is present
Closes Homebrew/homebrew#47555.
Closes Homebrew/homebrew#47649.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-04 11:10:32 +01:00
Dominyk Tiller
e7738d067f utils: extend brewed_curl recommended usage to 10.8
Closes Homebrew/homebrew#47646.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-04 03:10:10 +00:00
Dominyk Tiller
821dbab5f8 doctor: extend curl warning 2016-01-04 03:10:10 +00:00
Dominyk Tiller
8183f75dda config: split conditional
Stops Rubocop moaning about one line conditionals.

Closes Homebrew/homebrew#47537.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-03 19:08:11 +00:00
Dominyk Tiller
c7c9919d3a compilers: use comma consistently 2016-01-03 19:08:11 +00:00
Dominyk Tiller
d91caa2b92 languages/haskell: style nits 2016-01-03 19:08:11 +00:00
Dominyk Tiller
fff140cb9d language/haskell: wrap options in parens
Fixes:
language/haskell.rb:65: warning: `*' interpreted as argument prefix
2016-01-03 19:08:10 +00:00
Dominyk Tiller
abd4c699d1 pathname: remove redundant spacing 2016-01-03 19:08:10 +00:00
Dominyk Tiller
7e7838b5ba pathname: become less introspective
These self references are unnecessary.
2016-01-03 19:07:55 +00:00
Dominyk Tiller
cff0c63d03 test_intergration_cmds: fix minor typo 2016-01-03 19:06:26 +00:00
Dominyk Tiller
49f7c8d6a9 test_intergration_cmds: paren-wrap regex
Fixes this `brew readall` warning:

test_integration_cmds.rb:116: warning: ambiguous first argument; put parentheses or even spaces
2016-01-03 19:06:26 +00:00
Xu Cheng
15fe924484 RubyRequirement: check all available ruby
Closes Homebrew/homebrew#47605.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-03 21:00:11 +08:00
Xu Cheng
17a57f529b test_utils: add test_which_all 2016-01-03 21:00:11 +08:00
Xu Cheng
66c0b06d72 utils: add which_all
Similar to which, except it returns all of paths where binary is found.
i.e. it's equivalent to `which -a`.
2016-01-03 21:00:11 +08:00
Baptiste Fontaine
f29699f77c Cookbook: clearer wording 2016-01-02 23:27:56 +01:00
Xiyue Deng
e1dfafa54c Improve dash separated version detection.
* Also with test case.

Closes Homebrew/homebrew#47584.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-02 20:06:17 +01:00
Misty De Meo
c6f45a9e06 DependencyCollector: add lua51 language module 2016-01-01 20:10:34 -04:00
Misty De Meo
575b75fced LanguageModuleRequirement: remove jruby support 2016-01-01 20:10:34 -04:00
Misty De Meo
aa1461b7d6 LanguageModuleRequirement: remove ocaml support 2016-01-01 20:10:34 -04:00
Misty De Meo
36cef3c974 LanguageModuleRequirement: remove node support 2016-01-01 20:10:34 -04:00
Misty De Meo
1ad2aeef86 LanguageModuleRequirement: remove chicken support 2016-01-01 20:10:34 -04:00
Misty De Meo
d4db443b19 LanguageModuleRequirement: remove rbx support
This test wasn't running by default, so we missed that it wasn't
actually being executed - or that it was failing when running in the
testing environment.

As far as I can tell this is not, and has not, been used either in core
or in any tap, third party or otherwise, so just remove the feature and
its test.
2016-01-01 20:10:34 -04:00
Misty De Meo
31501e7b38 Add more tests for DependencyCollector inferred deps 2015-12-31 19:52:41 -04:00
Misty De Meo
00c51a2480 DependencyCollector: infer dep for .lzh archives
Refs Homebrew/homebrew-games#383.
2015-12-31 19:48:07 -04:00
Xu Cheng
8444bb742e LICENSE: year bump
Happy new year 🎉 🎆
2015-12-31 23:15:52 +08:00
Misty De Meo
21d70a2816 Haskell: call fails_with on correct object
Fixes Homebrew/homebrew#47533.
2015-12-30 15:51:57 -04:00
Mike McQuaid
0bca7ad9c3 pathname: don't try to calculate symlink size.
Closes https://github.com/Homebrew/homebrew/issues/47532
Closes https://github.com/Homebrew/homebrew-dupes/issues/542
2015-12-30 19:46:23 +00:00
Xu Cheng
5d39a9df10 pod2man wrapper: restore missing echo
`echo` is missing since f3f6552c.
2015-12-30 22:33:56 +08:00
Xu Cheng
3d8c334660 test_utils: add test_disk_usage_readable and test_number_readable 2015-12-30 17:05:52 +08:00
Xu Cheng
d043b9d40f utils: improve disk_usage_readable
* Avoid parallel assignment.
* Avoid string manipulation.
2015-12-30 16:56:05 +08:00
Xu Cheng
24224dc896 pathname: improve compute_disk_usage
* Avoid parallel assignment.
* Use Pathname#size instead of File#size
* Use Pathname#directory? instead of File#directory?
* Use basename to check `.DS_Store`. Original regex has poor
  performance, and may match with incorrect file.
2015-12-30 16:27:15 +08:00
Mike McQuaid
482481d24c pathname: fix use of find on Ruby 1.8. 2015-12-30 08:23:57 +00:00
Zhuoyun Wei
bb38d90bce FAQ: fix -- to — conversion.
Closes Homebrew/homebrew#47523.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-30 08:16:17 +00:00
Rakesh
090b133a01 cleanup: display total disk space to be cleared
Closes Homebrew/homebrew#45642.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-30 08:12:03 +00:00
Rakesh
e4f2a1e0ef pathname: store file count and disk usage.
especially for directory instances of `Pathname` class and all
instances of `Keg` class.
2015-12-30 08:11:23 +00:00
Rakesh
a96a9004f4 utils: add readable disk space, numbers methods. 2015-12-30 08:10:36 +00:00
Baptiste Fontaine
c15c9dbaf3 Tap#issues_url added
Closes Homebrew/homebrew#47454.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-30 00:44:46 +01:00
Jason Tedor
4b2eb86bbf audit: allow whitelisting of versioned Kibana.
This commit modifies the whitelisting of the Kibama formula from the
npm audit check to allow the versioned Kibana formulae to receive the
same whitelisting.

Closes Homebrew/homebrew#47500.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-29 19:17:55 +00:00
Mike McQuaid
cfd4c3a181 superenv/cc: don't filter out gdwarf-2.
It's needed by `cgo` which is used by a lot of Go software.
2015-12-29 14:58:56 +00:00
Dominyk Tiller
2af64920fa formula: pass sdk_path in std_cmake_args 2015-12-29 13:27:23 +00:00
Mike McQuaid
d73a97be6b test-bot: print ARGV temporarily.
Will help debug possible Travis issues.
2015-12-29 11:55:49 +00:00
Mike McQuaid
618123e4bf test-bot: skip more building.
There should be no compilation happening with `--fast`.
2015-12-29 11:54:43 +00:00
Jason Tedor
076cbf55be kibana 4.3.0
Closes Homebrew/homebrew#46593.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-28 19:08:51 +00:00
Misty De Meo
b2ca0e2331 pod2man wrapper: allow non-/usr/bin pod2men 2015-12-27 20:59:08 -04:00
Chi Trung Nguyen
1f0267bb6d SUPPORTERS.md: update a link.
Closes Homebrew/homebrew#47434.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-27 21:27:24 +00:00
Baptiste Fontaine
b7e98b129c cmd/options.rb: move common code in options.rb
Closes Homebrew/homebrew#47423.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-27 22:16:46 +01:00
Baptiste Fontaine
e224c2fc9e more formula tests
Closes Homebrew/homebrew#47404.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-27 02:20:41 +01:00
Baptiste Fontaine
169b8fc039 Revert "minor perf improvements"
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
2015-12-26 23:00:38 +01:00
Baptiste Fontaine
48681c3f3a minor perf improvements
Closes Homebrew/homebrew#47224.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26 22:58:26 +01:00