aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2016-08-02update-report: use --overwrite to migrate Casks.Mike McQuaid
`--force` isn't quite what we want here as it'll just allow keg-only linkage whereas we want to ensure we overwrite anything the Cask installed.
2016-08-02update-report: allow Casks migration to formulae.AnastasiaSulyagina
Closes #588. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-08-02update-report: tweak cask migration text.Mike McQuaid
2016-08-02tests: update cmd/analytics integration testAndrea Kao
2016-08-02keg_relocate: refactor path.find change for performanceDominyk Tiller
Closes #616. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-08-02keg_relocate: work around `file` bugDominyk Tiller
There's an old bug in `file` which means it can't read certain files under a non-C locale. This has been fixed upstream for some time, but Apple hasn't picked that fix up & even on OS X El Capitan the `file` is ancient. This is currently causing a lot of false positives in our bottle code around relocating things like manpages translated into non-English languages, because currently the test does: ``` pn = "/usr/local/Cellar/vim/7.4.2109/share/man/fr/man1/vim.1" Utils.popen_read("/usr/bin/file", "--brief", pn).include?("text") ``` Which returns `false`. But it isn't returning `false` because the actual result is false, but because `file` panics & fails, which for us equals a `false`. The actual output when accessed is: ``` pn = "/usr/local/Cellar/vim/7.4.2109/share/man/fr/man1/vim.1" Utils.popen_read("/usr/bin/file", "--brief", pn) "ERROR: line 22: regexec error 17, (illegal byte sequence)\n" ``` Forcing this check to be done under a "C" locale eliminates this particular false positive for strings we can't relocate & consequently things such as NLS may prove to be more portable in some formulae than is currently the case. Using `vim` again for the example: ``` pn = "/usr/local/Cellar/vim/7.4.2109/share/man/fr/man1/vim.1" Utils.popen_read("/usr/bin/file", "--brief", pn).include?("text") true ``` This reduces the flagged strings from `vim` from 4 issues to 2, the remaining two with the `vim` executable itself which "remembers" the full path to perl, python, ruby, etc during build & vomits that information out when requested by the user. Both the manpages flagged before this change are no longer flagged as unrelocatable. This won't entirely resolve the NLS problem because some things hardcode in a locale path, which will be stored in the executable, but at the very least it should reduce the number of false positives & may enable relocation where that locale path hasn't been burnt in.
2016-08-02test_utils: add with_custom_locale testDominyk Tiller
2016-08-02utils: add with_custom_locale helperDominyk Tiller
2016-08-01xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-07-31Allow virtualenvs to find Python bindings provided by deps (#608)Tim D. Smith
Allow virtualenvs to find Python bindings provided by deps Closes #603.
2016-07-31utils: tell people to report deprecations to tap.Mike McQuaid
This should hopefully avoid Homebrew/brew or Homebrew/homebrew-core having these exceptions reported to us.
2016-07-31link: don't allow more openssl/libressl linkage.Mike McQuaid
This extends the approach in #597 to further prevent linkage of formulae that conflict with the system OpenSSL and can cause the issues described in that issue.
2016-07-31test_cleaner: add perl removal testsDominyk Tiller
Closes #609. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-31cleaner: kill unnecessary perl elementsDominyk Tiller
We shouldn't be packaging either `perllocal.pod` or `.packlist` files. Both are only really useful outside of package management. They get automatically generated whenever you install a Perl module. Debian, Arch, MacPorts & others remove them and we should have been as well really; keeping them causes completely unnecessary conflicts between formulae.
2016-07-30utils: fix option handling in 'odisabled'Martin Afanasjew
Options passed to `odisabled` were completely ignored. Instead, merge them with the defaults that distinguish `odisabled` from `odeprecated`.
2016-07-30utils: provide a better location in 'odeprecated'Martin Afanasjew
Try to find a formula in the backtrace to make the warning message more helpful in identifying the culprit, as the formula is not always the immediate caller of a deprecated method. Provide some sane fallbacks if there's not formula in the call stack.
2016-07-29formula_versions: ignore FormulaMethodDeprecatedErrorilovezfs
old formula revisions have deprecated elements such as sha1 checksums Closes #605. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-29test-bot: fix non-OS X report generation.Mike McQuaid
2016-07-29test_cmd_audit: don't print compat warnings.Mike McQuaid
2016-07-29compat/xcode: cleanup style.Mike McQuaid
2016-07-29compat/version: cleanup style.Mike McQuaid
2016-07-29compat/tap: cleanup style.Mike McQuaid
2016-07-29compat/sha1: cleanup style.Mike McQuaid
2016-07-29compat/pathname: cleanup style.Mike McQuaid
2016-07-29compat/md5: cleanup style.Mike McQuaid
2016-07-29compat/macos: cleanup style.Mike McQuaid
2016-07-29compat/language/haskell: cleanup style.Mike McQuaid
2016-07-29compat/keg: cleanup style.Mike McQuaid
2016-07-29compat/hardware: cleanup style.Mike McQuaid
2016-07-29compat/formula_specialities: cleanup style.Mike McQuaid
2016-07-29compat/formula: cleanup style.Mike McQuaid
2016-07-29compat/fails_with_llvm: cleanup style.Mike McQuaid
2016-07-29compat/dependency_collector: cleanup style.Mike McQuaid
2016-07-29utils: add API removal messaging methods.Mike McQuaid
Add new `odeprecated` and `odisabled` methods to print API removal messages. Currently these are just used by things in `compat/`.
2016-07-29exceptions: add FormulaMethodDeprecatedError.Mike McQuaid
This will be raised when Homebrew developers try to use formulae that call deprecated methods.
2016-07-29compat: add Rubocop file.Mike McQuaid
2016-07-29Add missing development_tools requires.Mike McQuaid
2016-07-29hardware: add ARM detection from Linuxbrew.Mike McQuaid
2016-07-29linux/hardware/cpu: import family from Linuxbrew.Mike McQuaid
2016-07-29test-bot: skip update-test on non-Mac.Mike McQuaid
2016-07-29utils/bottles: don't rely on tar wildcards, location.Mike McQuaid
This doesn’t work quite as-is on Linux’s GNU tar.
2016-07-29test_language_module_requirement: check for python.Mike McQuaid
2016-07-29testing_env: add needs_python method.Mike McQuaid
2016-07-29test_formula: fix sort order bugs.Mike McQuaid
2016-07-29tab: use the correct default compiler.Mike McQuaid
2016-07-29keg_relocate: don't relocate text files without /usr/bin/file.Mike McQuaid
2016-07-29development_tools: simplify generic default_compiler logic.Mike McQuaid
2016-07-29os: don't assume Linux if testing generic OS.Mike McQuaid
2016-07-29test_utils: remove unnecessary full paths.Mike McQuaid
2016-07-29link: don't link /usr/local openssl.Mike McQuaid
See https://langui.sh/2015/07/24/osx-clang-include-lib-search-paths/ for an explanation and https://gist.github.com/tdsmith/4b502c5cc6e7d358acdf for reproduction instructions.