| Age | Commit message (Collapse) | Author |
|
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.
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Max Howell <max@methylblue.com>
|
|
|
|
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
* Don't link .DS_Store files
* Don't list .DS_Store files in `brew info`
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Additional tweaks by me.
|
|
|
|
Also, call this function from a few places where the code was duplicated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Previously "brew cleanup" would complain if the most recent
version of a brew wasn't installed.
We now suppress this message if only one (outdated) formula is
present.
|
|
|
|
Tweak wording in X11 check and use the same X11 detection function
as ENV.x11; also move that function into utils.
|
|
Fixes Homebrew/homebrew#1980
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Also don't show any aliases if you just type `brew search` as there is so
little context, it just looks messy.
|
|
|
|
|
|
|
|
* Preference is for commands to take instantiated formulae as parameters
rather than formula names, so alias resolution can be centralized.
|
|
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
This was supposed to go in with the "brew-upgrade" external command,
but must have been lost in the merge.
|
|
|
|
The previous code works fine on ruby 1.8.x, but under 1.9 trying
find on a non-existent folder gives:
==> No such file or directory
/usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/1.9.1/find.rb:38:in `block in find'
Fixes Homebrew/homebrew#1633
|
|
The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.
The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.
Fixes Homebrew/homebrew#1087
|
|
|
|
The code to try to move man into share didn't seem to be working, since
the code that warns if a top-level man was found was firing off.
Removing this apparently dead code.
|
|
|
|
|
|
Different llvm binaries were used to check build numbers and to compile with.
Normalize this, and normalize the variable name used to hold the xcode location.
(Calling it "prefix" is confusing, since there are already concepts in Homebrew
called "prefx".)
|
|
|
|
|
|
|
|
|
|
into memory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
* Adds GCC 4.0 version info to --config output.
* Splits gcc_build into gcc_40_build and gcc_42_build.
* Adds alias gcc_build to gcc_42_build for compatibility.
* Updates Xcode checking to also check GCC 4.0 version.
These changes are a combination of work by AdamV and my work
on my Tiger branch. This information would be useful for all
installs since some formulae compile with GCC 4.0.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Lets stop removing docs and doc (though moving share/docs to share/doc would make sense) as I was being lame when I decided nobody ever needs local documentation.
I still wouldn't use it (the INTRAWEBS is pretty good nowadays), but I admit, for some people, it's essential.
|