5541 Commits

Author SHA1 Message Date
Jack Nagel
b174012b17 Initialize ivars to silence warnings 2013-12-12 15:42:35 -06:00
Jack Nagel
6c04ccfb3b Remove unused variables 2013-12-12 15:42:35 -06:00
Mike McQuaid
55db2f7e11 uses: fix weird colon output.
Closes Homebrew/homebrew#24145.
2013-12-12 21:24:42 +00:00
Mike McQuaid
38d2ffb2b8 audit: remove deprecated Python features.
These will be removed soon so don't check for them.
2013-12-12 21:07:41 +00:00
Mike McQuaid
16aeb7bca4 example-formula: deprecate some Python features.
These will be removed soon so don't recommend them.
2013-12-12 21:07:41 +00:00
Jack Nagel
1aadc83e70 Put positive case first, drop redundant is_a? check 2013-12-12 14:53:53 -06:00
Jack Nagel
a55f66839a Add another fails_with test 2013-12-12 14:53:53 -06:00
Jack Nagel
00d0de5b24 Report correct file/line in backtraces for attr_rw methods 2013-12-12 14:20:46 -06:00
Mike McQuaid
c0d199759f brew-pull: remove empty if block. 2013-12-12 18:58:47 +00:00
Mike McQuaid
01c2d40f6c brew-pull: add --bottle to pull from BrewTestBot. 2013-12-12 18:45:17 +00:00
Adam Vandenberg
e523262dfa monkey around for emacs' code highlighter
The abv method has a construct that causes emacs to not highlight
the rest of pathname.rb, so move abv lower in the file.

Sorry.
2013-12-12 08:22:39 -08:00
Adam Vandenberg
7516cee374 +x wrapper scripts, so they work during post-install 2013-12-12 08:21:22 -08:00
Jack Nagel
5c18054341 Simplify prefix test 2013-12-11 19:18:23 -06:00
Larry Shaffer
a4355c9f67 brew-bundle: update usage info and move to --help function
Follow-up to 6697ff6c9d0d4301adfbb7c76628808a63f1324b

Closes Homebrew/homebrew#25130.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-11 08:10:11 +00:00
Jack Nagel
4f158f23b8 Set bottle version rather than re-parse it from the URL 2013-12-11 01:49:00 -06:00
Jack Nagel
8c5a49067e brew-test-bot: fix rsync for bottles with a revision number 2013-12-10 17:43:18 -06:00
Jack Nagel
1b7718f6a7 bottle: determine revision more reliably
Closes Homebrew/homebrew#25100.
2013-12-10 16:39:13 -06:00
Mike McQuaid
1d1bad98b7 brew-test-bot: remember to pull the PR. 2013-12-10 21:41:09 +00:00
Mike McQuaid
418b751aca brew-test-bot: only merge bottles if copy succeeds. 2013-12-10 21:32:29 +00:00
Mike McQuaid
9392e632bc brew-test-bot: fix testing job tag numbering. 2013-12-10 20:56:32 +00:00
Mike McQuaid
fea5fcf25b brew-test-bot: change upload job approach. 2013-12-10 20:52:11 +00:00
Mike McQuaid
b1331e62b1 brew-test-bot: upload job fixes. 2013-12-10 20:35:21 +00:00
Mike McQuaid
50aa91940d brew-test-bot: use global cache again. 2013-12-10 20:20:37 +00:00
Mike McQuaid
67840c691e brew-test-bot: move logic from Jenkins to Ruby. 2013-12-10 20:14:15 +00:00
Jack Nagel
a933b58507 versions: restore original constant
Before:

  f1 = Formula.factory('tree')
  f1.versions
  f2 = Formula.factory('tree')
  f1.class == f2.class # => false

After:

  f1 = Formula.factory('tree')
  f1.versions
  f2 = Formula.factory('tree')
  f1.class == f2.class # => true
2013-12-09 21:13:45 -06:00
Jack Nagel
b6cbd08e93 Implement hash equality for Version 2013-12-09 19:43:07 -06:00
Jack Nagel
8f42185e18 bottle: re-raise interrupt after cleanup 2013-12-09 19:38:20 -06:00
Jack Nagel
4afd633570 bottle: clean up after interrupts 2013-12-09 17:35:05 -06:00
Jack Nagel
c3ac88d8c7 versions: delete unused method 2013-12-09 17:34:04 -06:00
Jack Nagel
291cdea687 Extract constants for checkums in tests 2013-12-09 15:57:50 -06:00
Jack Nagel
5e0a8668fb Silence more warnings 2013-12-09 15:15:53 -06:00
Jack Nagel
bac0536730 keg_only_reason and cc_failures are not DSL methods 2013-12-09 15:15:53 -06:00
Jack Nagel
e1480953e6 Use accessors to silence uninitalized ivar warnings 2013-12-09 15:15:52 -06:00
Jack Nagel
f579d90458 Expand requirements of default deps added by other requirements
Dependencies built from requirements with a default formula may
themselves have requirements, and these requirements may have default
formulae, which may have more requirements, etc., so we have to keep
expanding until this isn't the case.

Fixes Homebrew/homebrew#25025.
Fixes Homebrew/homebrew#25037.
2013-12-09 14:36:10 -06:00
Jack Nagel
08055e1776 Ensure option names are consistent for default formula requirements 2013-12-09 14:36:10 -06:00
Jack Nagel
901902b53b Compute recursive deps for default_formula deps 2013-12-09 14:36:10 -06:00
Jack Nagel
293bde278a Rename filter_deps to expand_dependencies 2013-12-09 14:36:10 -06:00
Jack Nagel
be5f9545dd Move dependency expansion logic up one level 2013-12-09 14:36:10 -06:00
Jack Nagel
0b9c29a667 Use separate collection for requirement deps 2013-12-09 14:36:10 -06:00
Jack Nagel
677c78d77e Pass deps collection to be expanded as a parameter 2013-12-09 14:36:10 -06:00
Jack Nagel
109e9dc58b Silence some Ruby 2.1 warnings 2013-12-09 13:44:45 -06:00
Larry Shaffer
08ff164edd brew-bundle: exit on command failure
Closes Homebrew/homebrew#25053.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-09 10:24:13 +00:00
Jack Nagel
cc4776cc23 versions: fix bottle filename usage 2013-12-08 16:41:35 -06:00
Jack Nagel
b45cadd19a bottles: fix options hashes
Defaults can't be specified in the parameter list, as they will be
overwritten by whatever is passed in. Instead the defaults must be
merged with the argument in the method body.
2013-12-08 16:41:35 -06:00
Jack Nagel
b30f409995 bottle: fix typo'd option name 2013-12-08 16:41:35 -06:00
Jack Nagel
3d8bf53187 bottle: don't repeat output for hardlinked files 2013-12-08 16:18:12 -06:00
Mike McQuaid
0f7ae17699 formula: don't print verify message, use resource.
See discussion:
81d420492c (commitcomment-4804596)
2013-12-08 21:58:03 +00:00
Mike McQuaid
a762f21e33 formula, resource: output when verifying checksum.
References Homebrew/homebrew#24566.
2013-12-08 21:37:40 +00:00
Patrick Stadler
6e7e3317cf add "bundle" command to zsh completion
Closes Homebrew/homebrew#25055.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-08 13:11:44 -08:00
Benoit Daloze
ee1d8512bf Fix typo in example formula
Closes Homebrew/homebrew#25028.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-07 09:25:47 -08:00