aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2016-04-22Use GCC 4.2 as the default compiler when installedMisty De Meo
2016-04-22STANDARD_COMPILERS: add Xcode 2.0Misty De Meo
2016-04-22Set -faltivec in CFLAGS on TigerMisty De Meo
Setting -mcpu and -mtune on Tiger with gcc-4.2 exposes a bug in one of the system headers, causing certain builds to fail. This can be fixed by adding -faltivec to CFLAGS. See: http://trac.macports.org/ticket/34213
2016-04-22Mac: don't call xcrun on TigerMisty De Meo
2016-04-22subversion: don't use system APR on TigerMisty De Meo
2016-04-22Update CompilerSelectionErrorMisty De Meo
Fixes mistydemeo/tigerbrew#207. Fixes mistydemeo/tigerbrew#330.
2016-04-22Add a helper to determine make path on TigerMisty De Meo
2016-04-22Hardware: PPC970 needs -m64 to build 64-bitMisty De Meo
Fixes mistydemeo/tigerbrew#37.
2016-04-22config: return early if java_home is missingMisty De Meo
Fixes mistydemeo/tigerbrew#365.
2016-04-22stage: fix block signature back-compatibility under Ruby 1.8.7Andrew Janke
The new stage() signature introduced by #66 breaks back-compatibility under Ruby 1.8.7. This fixes it by switching back to a one-argument block signature and using a new class to wrap both the Resource and Mktemp info for the staging context, in a signature-back-compatible way. Addresses homebrew/homebrew-core#529. Closes #135. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-22update: rebase (rather than merge) by default.Mike McQuaid
We want to always avoid merge commits being committed to Homebrew so this feels like a better fit.
2016-04-22caveats: recommend brew services for plists.Mike McQuaid
It simplifies the number of commands and it's now an officially supported command again.
2016-04-22readall: also check 'brew.rb' for issuesMartin Afanasjew
Closes #119. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-22readall: stop using no longer needed 'nostdout'Martin Afanasjew
Since switching from `system` to `Utils.popen_read` we no longer need to suppress Ruby's output of `Syntax OK` to `$stdout`.
2016-04-22readall: fail on Ruby syntax warningsMartin Afanasjew
Previously, syntax warnings were printed, but didn't cause `readall` to exit with a non-zero exit code. Now they do, making it easier to catch accidentally introduced syntax warnings in the test bot.
2016-04-21Formula: include bad value in invalid-option error messageAndrew Janke
Makes identifying which line in a formula has the bad use of 'option' easier. Closes #120. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-21brew-audit: pull style checks in to main audit outputAndrew Janke
This collects all violations for each formula in a single place, instead of doing `brew style` outputs for all formulae first, and then the other audit checks. Closes #112. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-21Move OS::Mac::Xcode.provides_autotools? to compatMisty De Meo
Closes #125. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-04-21doctor: remove autotools checkMisty De Meo
2016-04-21stdenv: stop setting ACLOCAL_PATHMisty De Meo
2016-04-21analytics: roll tracking ID.Mike McQuaid
Someone else has been sending weird data to ours and it has bad initial test data so let's roll it before we ship it to everyone on Saturday.
2016-04-20tests: expand help and help-related testsMartin Afanasjew
Closes #114. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-20exceptions: add reason to 'UsageError' exceptionMartin Afanasjew
Use the `reason` attribute to be able to handle `UsageError` subclasses more uniformly and simplify logic in `brew.rb` to handle them together.
2016-04-20help: show command-specific help for invalid usageMartin Afanasjew
Instead of always printing the generic help text, print command-specific help if it is available and a command raised the `UsageError` exception. Put the error message underneath the help text (was above) to avoid that it scrolls off the screen. Thereby fix a regression where handling the invalid usage would fail to access `ARGV.usage` removed in c6536066dc39da653d265640c6ba6046bb5def98.
2016-04-20help: refactor (again) and fix code style issuesMartin Afanasjew
Turns out making `empty_argv` a boolean argument for `Homebrew.help` was not the best idea and having command-to-path mapping and help extraction in a single method is not flexible enough. Also only complain about missing help text when `HOMEBREW_DEVELOPER=1` and otherwise just print the generic help text.
2016-04-20help: improve styling of generic help textMartin Afanasjew
Format the usage examples more consistently (particularly parentheses instead of square brackets where one of several alternatives has to be picked). And add the now much more useful `brew help <command>`. Closes #113. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-20--version: move help to documentation commentMartin Afanasjew
This implies that `--version` is treated in most places like a regular command, e.g. being suggested in shell completion. Also fix the help text that claimed output goes to standard error, while it actually goes to standard output.
2016-04-20--repository: move help to documentation commentMartin Afanasjew
2016-04-20--prefix: move help to documentation commentMartin Afanasjew
2016-04-20--env: move help to documentation commentMartin Afanasjew
2016-04-20--cellar: move help to documentation commentMartin Afanasjew
2016-04-20--cache: move help to documentation commentMartin Afanasjew
2016-04-20man: put option-style commands after regular onesMartin Afanasjew
2016-04-20tests: fix Ruby 1.8 syntax warningsMartin Afanasjew
In `Library/Homebrew/test/`: test_integration_cmds.rb:431: warning: (...) interpreted as grouped expression test_integration_cmds.rb:502: warning: (...) interpreted as grouped expression test_integration_cmds.rb:507: warning: (...) interpreted as grouped expression test_integration_cmds.rb:585: warning: (...) interpreted as grouped expression test_integration_cmds.rb:709: warning: (...) interpreted as grouped expression test_integration_cmds.rb:710: warning: (...) interpreted as grouped expression test_integration_cmds.rb:711: warning: (...) interpreted as grouped expression
2016-04-19man: fix Ruby syntax warningXu Cheng
Library/Homebrew/cmd/man.rb:44: warning: assigned but unused variable - commands Closes #116. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-04-19test-bot: simplify the logicXu Cheng
Closes #115. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-04-19add Tap#default_remoteXu Cheng
* without `default_remote`, `CoreTap#install` won't be able to tell whether user has passed to custom remote to it. * simplify some part of logics
2016-04-19Tap#install: better TapRemoteMismatchError checkXu Cheng
* remote check requires `git` installed. * Do not perform check if user does not passing remote explicitly. Fixes #108
2016-04-19Revert "man: fix Ruby syntax warning"Xu Cheng
This reverts commit 2caf7b76bb3e09ffabf8c56d3934ba8190673fdc.
2016-04-19linkage: fix Ruby syntax warningXu Cheng
Library/Homebrew/dev-cmd/linkage.rb:113: warning: shadowing outer local variable - label
2016-04-19man: fix Ruby syntax warningXu Cheng
Library/Homebrew/cmd/man.rb:44: warning: assigned but unused variable - commands
2016-04-19test-bot: prevent infinite loop caused by unavailable formula.Xu Cheng
Noted, `brew tap foo` will not fail if the tap is already installed.
2016-04-19linkage: load formula from rackXu Cheng
This is to avoid TapFormulaAmbiguityError. We should load formula based on what we installed, rather than just name.
2016-04-18test-bot: check all dependents for broken dylibsAndrew Janke
Pulls 'brew linkage' in to main brew repo as a dev-cmd, and has test-bot use it to detect dylib breakage, which usually means a revision bump is needed. Checks all dependents, not just those with a 'test do' block defined, since we can do this without formula support. Closes #107. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-18test-bot: don't untap during cleanup_beforeDominyk Tiller
2016-04-18CLT: special case detect_version pre-3.xMisty De Meo
Fixes mistydemeo/tigerbrew#186. Closes #110. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-04-18Xcode: update version detection for 2.xMisty De Meo
2016-04-18XQuartz: detect Tiger's prefixMisty De Meo
2016-04-18XQuartz: add Tiger's versionMisty De Meo
2016-04-18XQuartz: support Tiger's prefixMisty De Meo