aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-07-15update.sh: fix Git path.Mike McQuaid
Closes https://github.com/Homebrew/brew/issues/519 Closes https://github.com/Homebrew/homebrew-core/issues/3029
2016-07-15brew.{rb,sh}: move to Library/Homebrew. (#506)Mike McQuaid
2016-07-15ENV: move to new paths. (#507)Mike McQuaid
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
2016-07-15respect user's curlrc file (#516)Xu Cheng
Users may have ~/.curlrc file to include options like proxies. However, since we overwrite HOME environment variable during the build and test, curl won't be able to find it. This commit solves this issue by using CURL_HOME environment variable, which will be pointed to the original HOME path. From `curl(1)`: > 1) curl tries to find the "home dir": It first checks for the CURL_HOME and then the HOME environment variables. Failing that, it uses getpwuid() on Unix-like systems (which returns the home dir given the current user in your system). On Windows, it then checks for the APPDATA variable, or as a last resort the '%USER- PROFILE%\Application Data'.
2016-07-15test-bot: remove Jenkins Git debugging.Mike McQuaid
2016-07-15test-bot: more reset/cleanup tweaks.Mike McQuaid
2016-07-15test-bot: print out git commands on Jenkins.Mike McQuaid
2016-07-15test-bot: don't cleanup brew repo twice.Mike McQuaid
2016-07-15formulary: add missing keg.rackXu Cheng
2016-07-15add more testXu Cheng
Closes #514. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-15tab: add missing methodsXu Cheng
This makes `Tab` compatible with `BuildOptions`.
2016-07-15add Formulary#from_kegXu Cheng
2016-07-15ARGV#resolved_formulae: also load build optionsXu Cheng
2016-07-15super: remove effective_sysroot.Mike McQuaid
No longer needed in `super.rb` after it was moved to `os/mac`.
2016-07-15super: migrate xml2 cmake to mac/superDominyk Tiller
Looks like it was accidentally left behind (?)
2016-07-15mac/super: restore definition of effective_sysrootDominyk Tiller
In https://github.com/Homebrew/brew/commit/0d189fae57bad6c209b471eba9e0b254a2b40886 we completely removed `effective_sysroot`, which consequently left all the `effective_sysroot`/usr/include calls pointing at `/usr/include`. This is wildly problematic on systems where the Command Line Tools aren't installed because `/usr/include` is not a default-created folder prior to CLT installation. I'm unsure if `effective_sysroot` should still be mentioned in Library/Homebrew/extend/ENV/super.rb at all. If it can be deleted, feel free to do that without waiting for me to review. This seems to fix: * https://github.com/Homebrew/homebrew-core/issues/2991 * https://github.com/Homebrew/homebrew-core/issues/2986 * https://github.com/Homebrew/homebrew-core/issues/2962
2016-07-14test-bot: start running generic tests. (#505)Mike McQuaid
* test-bot: start running generic tests. Start running the test suite in the "generic" mode i.e. a base layer for non-OS X platforms to be able to use to ensure we don't break the generic code for the parts of the code we've got running. Currently this just runs the integration tests as that's the only useful suite that's entirely passing but eventually this will be changed to run the full test suite in generic mode. * test_integration_cmds: fix tests on Linux.
2016-07-14test-bot: fix --no-pull flag.Mike McQuaid
2016-07-14test-bot: add --no-pull flag.Mike McQuaid
2016-07-14test-bot: don't pull if unnecessary (take two).Mike McQuaid
2016-07-14test-bot: don't pull if unnecessary.Mike McQuaid
2016-07-14test-bot: fix typo.Mike McQuaid
2016-07-14test-bot: don't run doctor when outside /usr/local.Mike McQuaid
2016-07-14test-bot: remove .git from Jenkins GIT_URLs.Mike McQuaid
2016-07-14test-bot: handle inconsistent Jenkins GIT_URLs.Mike McQuaid
2016-07-14test-bot: use another method to find Jenkins PR.Mike McQuaid
2016-07-14various: don't assume non-OS X == Linux.Xu Cheng
2016-07-14update: git init for core tap as well (#510)Xu Cheng
A temporary measure before we decide whether vendor git or not.
2016-07-14formula_cellar_checks: add check_linkageXu Cheng
This means linkage checks will be invoked during `brew install` and `brew audit` Closes #470. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-14move LinkageChecker to standalone fileXu Cheng
2016-07-14CurlDownloadStrategy#_fetch: fix unintended variable modificationXu Cheng
2016-07-13CurlDownloadStrategy#_fetch: do not alter variable `@url` (#504)Xu Cheng
In case of download failure and retry, altering `@url` can cause side effect like repeatedly applying `HOMEBREW_ARTIFACT_DOMAIN`.
2016-07-13audit: avoid unnecessary regexXu Cheng
Regex is way slower than normal String#include? and String#start_with?. Also, we often forget to proper escape them. So avoid using them if it is not necessary. Closes #503. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-13various: proper escape dot in regexXu Cheng
2016-07-13various: proper escape in regexXu Cheng
2016-07-13Add HOMEBREW_ARTIFACT_DOMAIN option.jainish shah
If set, this environment variable instructs Homebrew to use the given URL as a download mirror (e.g. an Artifactory instance) for bottles and binaries. Closes #387. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-07-13describe_homebrew_ruby: fix regexXu Cheng
`.` need to be escaped, otherwise it will match any character. Also improve code style for handling string s.
2016-07-13describe_homebrew_ruby: s may be a frozen stringXu Cheng
2016-07-13audit: update ruby dependency adviceDominyk Tiller
Closes #495. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-13superenv: restore HOMEBREW_PREFIX/libDominyk Tiller
2016-07-13tests: add cmd/link, cmd/unlink integration tests (#398)Andrea Kao
2016-07-12cleaner: fix generic executable handling. (#498)Mike McQuaid
Don't unset things that are already set as executable for the generic path. OS X overrides this behaviour and detects if it's an MachO executable but there's no cross-OS generic equivalent so just fall back to whatever the build system has set.
2016-07-12github: produce better curl error messages. (#441)Mike McQuaid
* global: add RUBY_TWO global variable. * test-bot: use RUBY_TWO global variable. * github: produce better curl error messages. If we don't know why curl has failed then ensure that the error messages that it produced are included as part of the user output.
2016-07-12update.sh: improve verbose output and readability. (#486)Mike McQuaid
Would have made it easier to debug https://github.com/Homebrew/homebrew-core/issues/2804 where wasn't clear which directory was causing the issue.
2016-07-12superenv: port to generic OS. (#457)Mike McQuaid
2016-07-12stdenv: port to generic OS. (#456)Mike McQuaid
2016-07-12brew.sh: only setup/install Ruby when running Ruby.Mike McQuaid
2016-07-12ruby.sh: allow forcing the usage of the vendored Ruby.Mike McQuaid
2016-07-12ruby.sh: fix original setup ruby path name.Mike McQuaid
2016-07-12ENV/scm/git: rewrite in Bash (#496)Xu Cheng