aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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
2016-11-16Reorder and rename test files.Markus Reiter
2016-11-16Merge pull request #1522 from MikeMcQuaid/audit-one-previous-commit1.1.1Mike McQuaid
audit: only check previous formula version.
2016-11-16audit: only check previous formula version.Mike McQuaid
For calculating the stable/devel versions this should be sufficient as it's looking at `origin/master` so for a e.g. unmerged pull request this will stop complaining about mistakes outside the pull request itself. This will silence all warnings for historic version mistakes (i.e. before these audit checks were all enabled) which is normally a bad thing but as this case would rely on modifying history to complete is a good one.
2016-11-16audit: check that there are any stable revisions.Mike McQuaid
Fixes the exception if `revision_map[formula.stable.version]` is `nil`.
2016-11-16cmd/list: follow aliasesUladzislau Shablinski
Closes #1514
2016-11-15hbc/cmd/style: bump rubocop-cask to 0.10.6Josh Hagins
2016-11-15Merge pull request #1510 from MikeMcQuaid/uninstall-no-nilsMike McQuaid
uninstall: remove nil requireds/dependents
2016-11-15Merge pull request #1509 from MikeMcQuaid/development-tools-no-nil-versionsMike McQuaid
development_tools: don't create Versions from `nil`
2016-11-15development_tools: don't create Versions from `nil`Mike McQuaid
This cause issues when e.g. using `debrew.rb` on a failing `system` command in a formula.
2016-11-15uninstall: remove nil requireds/dependentsMike McQuaid
These shouldn’t get here in the first place so this is a bit of a hack pending a better fix.
2016-11-15uninstall: skip some flaky tests for now.Mike McQuaid
These will be fixed properly later but this will avoid causing unnecessary CI failures.
2016-11-15audit: fix "version should not decrease" (again).Mike McQuaid
- output the max version and current version to make the message more obvious. - Don't compare the development spec version to the formula version and then complain the formula version is lower (it should always be!)
2016-11-15Merge pull request #1498 from alyssais/uninstall_developer_warningMike McQuaid
Warn developers when uninstalling a dependency
2016-11-14Merge pull request #1435 from mistydemeo/dev_tools_versionMisty De Meo
Add "null version" class, and return compiler versions/build versions as Version objects
2016-11-14Merge pull request #1362 from reitermarkus/rubocopMarkus Reiter
Update RuboCop to 0.45.0.