aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-11-22osxfuse_requirement: add library and include pathsKaito Udagawa
In the installation whose prefix is other than /usr/local, osxfuse library and include path must explicitly be specified during build. Although brew's pkg-config is configured to prepend appropriates paths, the prepended paths (/usr/local) supercede the original HOMEBREW_PREFIX. This behavior will cause the linker to select libraries outside brew's tree. By adding /usr/local to HOMEBREW_LIBRARY_PATHS, superenv ensures that appears only after the HOMEBREW_PREFIX, and thus fixes this problem. HOMEBREW_INCLUDE_PATHS is also configured like keg-only Formulae.
2016-11-21Merge pull request #1542 from woodruffw/deprecate-utils-jsonMike McQuaid
compat: deprecate Utils::JSON in favor of corelib JSON.
2016-11-22cask: Delete package dir if it is symlink on the uninstallKaito Udagawa
When a Formula is converted into a Cask (e.g. osxfuse), a symlink remains at the place of package dir. This change ensure to remove such leftovers.
2016-11-21Merge pull request #1502 from reitermarkus/load-metadata-cask-fileMarkus Reiter
Load cask file in `.metadata` directory directly.
2016-11-21Merge pull request #1535 from umireon/cask-pkg-choiceMarkus Reiter
Cask: Add the choices option to pkg stanza
2016-11-21cc: don't filter -fopenmp for non-llvm_clang.Mike McQuaid
We can filter it just for Clang and let it be used by anything else.
2016-11-21development_tools: return llvm_clang Version class.Mike McQuaid
This was implemented before the rest of the file was refactored.
2016-11-21development_tools: use begin/endMike McQuaid
A more widely used style than relying on `if`/`else` returns.
2016-11-21version/null: add inspect method.Mike McQuaid
This makes it easier to identify null versions when inspecting them.
2016-11-21Merge pull request #1540 from woodruffw/audit-check-blacklistMike McQuaid
audit: check formula name against blacklisted names.
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-20compat: deprecate Utils::JSON in favor of corelib JSON.William Woodruff
2016-11-21cask: compact the codeKaito Udagawa
2016-11-20Merge pull request #1130 from aw1621107/allow-brew-llvm-for-openmpMike McQuaid
Prefer brewed Clang over gcc-6 for needs :openmp
2016-11-20Merge pull request #1537 from umireon/nonfatal-requirement-message-onceMike McQuaid
install: suppress redundunt warnings with `depends_on` requirement
2016-11-20install: print nothing if `@requirement_messages` is a String or nilKaito Udagawa
2016-11-20audit: check formula name against blacklisted names.William Woodruff
2016-11-20cask: Call Tempfile#close(true) with the choices file to ensure it deletedKaito Udagawa
2016-11-19cask: use Tempfile and some style fixesKaito Udagawa
2016-11-19Remove kernel extensions specified in `uninstall :kext`.Markus Reiter
2016-11-18Load cask file in `.metadata` directory directly.Markus Reiter
2016-11-19cask: add the choices option to pkg stanzaKaito Udagawa
installer command accepts -applyChoiceChangesXML option to change customize options on the GUI installer from the commandline. (`man installer` for more detailed information) The introduced option `choice` enables the choice changes to be supplied via pkg stanza without tricks in preflight code.
2016-11-19install: suppress redundunt warnings with `depends_on` requirementKaito Udagawa
When a formula depends on any requirements, they evaluated at most three times: before locking, before installing dependent, before building formula. When a non-fatal requirement is specified and thus evaluated three times, mostly the same warning message is also emitted three times. This change restricts printing the warning messages only when a bottle is successfully installed or before building. Since this timing is after the final dependency computation for each cases, the warnings will be most useful to check what is not yet satisfied.
2016-11-18Merge pull request #1515 from alyssais/formula_cacheMike McQuaid
Fix flaky tests.
2016-11-18testbottest: don't use TEST_FIXTURE_DIR.Mike McQuaid
This isn't defined for formulae.
2016-11-18Prefer brewed Clang over gcc-6 for needs :openmpAlex Wang
Clang has fully implemented OpenMP support as of LLVM 3.7, so if OpenMP is required by a formula gcc is no longer the only choice of compiler. Clang should be preferred over gcc because using gcc meant linking against libstdc++, which is ABI incompatible with libc++. This may be unnoticeable for some users, but it causes other builds to fail, e.g. pstoedit when imagemagick was built with OpenMP. pstoedit is required for the octave formula, so for some users this could be a significant problem.
2016-11-18Merge pull request #1528 from MikeMcQuaid/audit-devel-revisionMike McQuaid
audit: don't check devel version_scheme/revision.
2016-11-18Merge pull request #1529 from MikeMcQuaid/uninstall-ignore-deprecationsMike McQuaid
uninstall: ignore deprecations when uninstalling.
2016-11-18Merge pull request #1530 from MikeMcQuaid/audit-homebrew-prefix-test-pathMike McQuaid
audit: check for HOMEBREW_PREFIX test path usage.
2016-11-18install: add tests with custom requirementsKaito Udagawa
2016-11-18uninstall: ignore deprecations when uninstalling.Mike McQuaid
Handle `MethodDeprecatedError` because we want people to be able to uninstall regardless of the content of their formula.
2016-11-18audit: check for HOMEBREW_PREFIX test path usage.Mike McQuaid
This is also not allowed. As seen in https://github.com/Homebrew/homebrew-core/pull/6996.
2016-11-18Merge pull request #1512 from zmwangx/bump-formula-pr-user-supplied-messageMike McQuaid
bump-formula-pr: add --message option
2016-11-18Merge pull request #1534 from woodruffw/use-core-jsonMike McQuaid
utils/json: Replace OkJson with Ruby's core JSON.
2016-11-17utils/json: Replace OkJson with Ruby's core JSON.William Woodruff
Removes OkJson from vendor/, as Ruby has included its own JSON parser in corelib since 1.9.x and Homebrew is now guaranteed to be running on 2.x+.
2016-11-17tests: ignore test files in test/vendor/bundleJosh Hagins
2016-11-17formula: update test_fixtures pathZhiming Wang
Fix regression caused by #1364.
2016-11-17bump-formula-pr: add --message optionZhiming Wang
For user-supplied PR message.
2016-11-17audit: don't check devel version_scheme/revision.Mike McQuaid
These are formulae-wide so doesn't make sense to iterate through these for specs and get weird results. As seem in https://github.com/Homebrew/homebrew-core/pull/6952.
2016-11-17Merge pull request #1520 from vladshablinsky/list_follow_aliasesMike McQuaid
cmd/list: follow aliases
2016-11-17formula: make cache clearing methods, *ahem*, clearerAlyssa Ross
2016-11-17Revert "uninstall: skip some flaky tests for now."Alyssa Ross
This reverts commit 50c964df2ebda125366a94f0e8701eaeb0d98fa7.
2016-11-17tab: clear Formula.installed cache when created.Alyssa Ross
This was causing the flaky tests that #1508 started skipping. This is the second time that `Formula.installed`'s cache has bitten me with intermittent test failures, and I'd like it to be the last, so I've made it so the cache is cleared automatically when a tab is created. This _should_ mean that the cache is cleared any time it needs to be, with the exception of when a Keg is created artificially with no tab. I don't think there's anything I can do to automatically handle that use-case, though.
2016-11-16Move test files back directly to `test/`.Markus Reiter
2016-11-16Require `integration_command_test_case` in `testing_env`.Markus Reiter
2016-11-16Separate `Homebrew::TestCase` from `testing_env`.Markus Reiter
2016-11-16Move `integration_mocks` to `test/support/helper`.Markus Reiter
2016-11-16Move all remaining fixtures to `test/support/fixtures`.Markus Reiter
2016-11-16Rename `fs_leak_log` to `fs_leak.log` and move to `tmp`.Markus Reiter
2016-11-16Update `.rubocop_todo.yml`.Markus Reiter