aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2013-03-17Temporarily omit bottle source warning.Mike McQuaid
Pending a decent fix. Fixes Homebrew/homebrew#18540.
2013-03-16Fix `brew update` so that it doesn't show doublesPeter Aronoff
Under certain conditions, `brew update` will show doubles. It's a rare edge-case, but if you have a tap where the name of the formula is identical with the name of the insalled file, then you see output like this: ==> Updated Formulae aalib ssh-copy-id casperjs sshuttle jack telemachus/anytap/brew-any-tap mogenerator telemachus/anytap/brew-any-tap I believe this should fix that. Closes Homebrew/homebrew#18495. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-16ENV: clear influential include path varsJack Nagel
2013-03-16Decouple CompilerSelector from ENVJack Nagel
2013-03-16Use a priority queue to select compilersJack Nagel
The existing case-statement with nested if-statements is gross and hard to extend. Replacing it with a priority queue simplifies the logic and makes it very easy to add new compilers to the fails_with system, which we will likely want to do in the future.
2013-03-16Replace custom collection with SetJack Nagel
The original constraints that led to using a custom collection rather than Array or Set here no longer exist, so let's avoid the pointless abstraction here.
2013-03-16fix gcc tap suggestionAdam Vandenberg
Closes Homebrew/homebrew#18520.
2013-03-15audit github downloadsAdam Vandenberg
We want the new-style "/archive/" downloads.
2013-03-15audit: Improve url audits.Tobias Lidskog
* Add url check for GitHub home pages using http. * Add url check for GitHub repo urls using http. * Include url in error messages about url issues. Closes Homebrew/homebrew#18372.
2013-03-14Xcode 4.6.1 is releasedJack Nagel
Closes Homebrew/homebrew#18481.
2013-03-14add brew linkapps --systemIain Beeston
Added an option to linkapps to allow linking to /Applications rather than ~/Applications Closes Homebrew/homebrew#18196. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-13doctor: add check for coreutils in pathAdam Vandenberg
2013-03-13doctor: mess with indentationAdam Vandenberg
2013-03-12Blacklist plain gcc formula with caveat pointing to homebrew-versionsXiyue Deng
Closes Homebrew/homebrew#17911. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-12Switch compilers when no build is specifiedJack Nagel
Given the current state of OS X compilers, the original fails_with behavior is becoming less useful, mostly resulting in build failures each time the compiler is updated. So make the following changes: When a build is specified, we retain the old behavior: switch compilers if the available compiler is <= the build, don't switch if it is > the build. When no build is specified, unconditionally switch compilers, and don't output the advice message. This allows us to mark formulae as perpetually failing, avoiding the need to update formulae each time a new compiler build is made available. As a bonus, this makes the logic much easier to reason about. Closes Homebrew/homebrew#18175.
2013-03-12Revert "Update `brew tap` to work without 'homebrew-'"Mike McQuaid
This reverts commit d72901f92b7385d44d8c980976db6a4336572e7e. References Homebrew/homebrew#18366. Closes Homebrew/homebrew#18432.
2013-03-12brew switch: change optlinks for keg-only formulaeMisty De Meo
2013-03-12Update `brew tap` to work without 'homebrew-'Peter Aronoff
Currently `brew tap` only works on repos with 'homebrew-' in their name. This version tries the repo name as is and then falls back to try 'homebrew-repo' only if that fails. I've also tweaked the regex in tap_args to allow '-' in repo names. The previous regex required a match on \w. This made it impossible for people to tap repos with names like 'username/why-not'. Closes Homebrew/homebrew#18366. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-12Pass filename and lineno arguments to class_evalJack Nagel
2013-03-11mach.rb: remove incorrect commentJack Nagel
IO#read does not raise EOFError, it just returns an empty string for each call after it consumes the underlying file or stream. This module is going to be refactored and the begin/rescue is going to be removed anyway.
2013-03-11Relocate bottles using install_name_tool.Mike McQuaid
This has two parts: 1. Bottles are temporarily relocated on bottling and tested if that is sufficient for them to contain no longer reference the prefix or cellar. If so, they are marked as relocatable. 2. On installation if bottles are marked as relocatable they will be relocated using install_name_tool to the current prefix and cellar. Closes Homebrew/homebrew#18374.
2013-03-11Portability fixes to run Homebrew on Linux systemsShaun Jackman
Closes Homebrew/homebrew#16344. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-11Don't run certain functions on non-MACOS.Mike McQuaid
2013-03-11Add with_system_path to run using system PATHs.Mike McQuaid
Needed for Linux compatibility.
2013-03-11Add current Ruby globals.Mike McQuaid
Allows access to the Ruby path. Needed for Linux porting.
2013-03-11blacklist latexAdam Vandenberg
Closes Homebrew/homebrew#18404.
2013-03-11doctor: skip git origin check without brew repoMisty De Meo
Likely fixes Homebrew/homebrew#18324.
2013-03-10audit: allow ARGV.findTobias Lidskog
This fixes a false positive for mongodb. Closes Homebrew/homebrew#18370. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-10Fix test failure on ivybridge cpus.Tobias Lidskog
Closes Homebrew/homebrew#18371. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-09Remove redundant attr_readersJack Nagel
These are redefined later for use in the bottle DSL.
2013-03-09tests: allow setting MACOS_VERSION from the environmentJack Nagel
This makes it easy to test things that vary depending on this constant without editing testing_env.rb.
2013-03-09Adjust BOTTLE_EXTNAME_RX for :snow_leopard_32Jack Nagel
2013-03-09Fix tests under 32-bit SLJack Nagel
2013-03-09Use attr_accessor to suppress warningJack Nagel
2013-03-09Rename these collections for clarityJack Nagel
2013-03-09Add pkgconfig dirs for all deps under superenvJack Nagel
Fixes Homebrew/homebrew#18367.
2013-03-09Warn on bottles skipped due to non-default Cellar.Mike McQuaid
Closes Homebrew/homebrew#18333.
2013-03-09bottles: remove unused 'version' from DSL.Mike McQuaid
2013-03-09Exclude global pkgconfig dirs under superenvJack Nagel
2013-03-09Index pkgconfig directories by MacOS.versionJack Nagel
2013-03-09audit: correct inverted has_trailing_newline conditionTobias Lidskog
has_trailing_newline? checked if formula did not have a trailing newline. Invert regex and invert audit check. Closes Homebrew/homebrew#18359. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-09sshpass: add to blacklist.Mike McQuaid
We keep rejecting this again and again. See discussion in Homebrew/homebrew#9577, Homebrew/homebrew#12941, Homebrew/homebrew#13855. Closes Homebrew/homebrew#18332.
2013-03-07-std, not --stdJack Nagel
2013-03-06superenv/cc: keep exec monkeypatch out of ObjectJack Nagel
2013-03-06superenv/cc: make file loadableJack Nagel
2013-03-05Added '--installed' option to `deps` command.Matt Torok
When deps command is passed this option, it will only show the dependencies for the installed forumas. This option overrides the '--all' option. Closes Homebrew/homebrew#18276. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-04tap: adjust formula count for unsymlinked filesMisty De Meo
Relying on the output of `tapped` results in ignoring formulae which already exist in core, with messages like "Tapped 0 formula" for non-empty taps.
2013-03-03brew-test-bot: fix bottle function name.Mike McQuaid
2013-03-03brew-switch: don't link keg-only brewsAdam Vandenberg
Closes Homebrew/homebrew#18169.
2013-03-02Save a subshell hereJack Nagel