Pass the tab to FormulaInstaller

Callers of FormulaInstaller now usually unlink the existing keg prior to
running the installer. However, Tab.for_formula uses the LinkedKeg
record to obtain the tab.

Since we need the tab to persist install options across upgrades, we
must start creating the Tab object before unlinking the old keg and
passing it to the FormulaInstaller.

Fixes #11086.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
GNU parallel 20120322

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
sdl_sound: fix head build with XCode-4.3

sdl_sound contains critical fixes for OSX in head only.
Requests have been made upstream for them to bump their version
that has not changed since 2008.

 * Adds autotools deps when XCode is >= 4.3 and building head
 * Changes from bootstrap to autoreconf.  Bootstrap hardcodes
   a path to /usr/bin/glibtoolize and uses a non-standard flag.
 * Use env vars to send the flags.

Closes #10667.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Parse raw diff output in `brew update`

Using each_cons() "works", but to report all changes correctly we need
to look at the last elements even after we've looked at the last 3
consecutive elements.

Instead, let's parse each line of the raw diff output using a regexp.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
xapian: use versioned python lib directory

Fixes #8070.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Tab completion for `brew tap`

Using an inline Ruby script we can hit the GitHub API and look for
repositories that match the tap naming scheme. The results are cached
for the duration of the current shell session, so going over the network
is a once-per-shell-session cost.

There are a few false positives, but not much we can do about that at
this point, as taps do not have to be in the fork network of any
specific repository.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Fix typo in --config.rb

Closes #11183.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
node 0.6.14

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Google-app-engine 1.6.3

Closes #11185.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
New formula: htpdate 0.9.1

Closes #9421.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
New formula: mrfast 2.1.0.3

Closes #10275.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Relocate game formulae to homebrew-games

https://github.com/Homebrew/homebrew-games

Just `brew tap homebrew/games` to get them back.

Closes #11189.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Delete dead aliases
Search Homebrew/games
Speed-up brew-unlink under certain conditions

This massively speeds up upgrades for certain formula, ie. formula with lots of files that aren't in the directories we link. I found upgrading android took ages before the un-tar step and it was indeed for this reason.
Fix `brew unlink`

Whoops.
libgphoto2 2.4.13

Closes #11199.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Document how formula arguments can be specified

Closes #11037.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
qscintilla: use versioned python lib directory

Fixes #10366.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
tup 0.6

Signed-off-by: Adam Vandenberg <flangy@gmail.com>