aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/update.rb
AgeCommit message (Collapse)Author
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
2010-10-16update - consistent quoting; use INIT_COMMANDAdam Vandenberg
2010-08-30Fix typo in update.rbRyan Pavlik
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-07Show changed examples on update [telemachus]Adam Vandenberg
* Also move updater output into the class itself
2010-07-29Just use Pathname.cdAdam Vandenberg
2010-07-03Move data into updater classAdam Vandenberg
2010-07-01Use http URL for "brew update".Adam Vandenberg
This allows users behind firewalls to pull down updates to Homebrew itself. Fixes Homebrew/homebrew#1086
2010-06-15Modify brew update to show if any formulae were removed.Trevor Stevens
2010-05-12Fix the update testsDavid Porter
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-01Move license block to separate LICENSE file.Adam Vandenberg
2010-02-13Fixes Homebrew/homebrew#571; brew update doesn't report "Already up-to-date"Max Howell
2009-12-07Brew update will git init if requiredMax Howell
This is necessary for those who installed Homebrew using the suggested tarball method. Too late for them though.
2009-09-29Add HOMEBREW_REPOSITORY prefix for `brew up`Andre Arko
Signed-off-by: Max Howell <max@methylblue.com> I removed whitespace changes and changed readlink to realpath as readlink raises if it's not a link.
2009-09-28Properly distinguish between added and updated formulae.Eloy Duran
2009-09-18Update references to masterbrewMax Howell
I left update_from_masterbrew! as a historical reference.
2009-09-17Add license header to update.rbMax Howell
2009-09-17Rename refresh_brew.rb to update.rbMax Howell
I didn't change the class name, it's clear from the context where it is used what it does. However when just looking at files to figure out the nature of Homebrew I believe in clear naming. Otherwise funny names earn you points.