aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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.
2016-11-14Fix detection of self-extracting `.exe` files.Markus Reiter
2016-11-14uninstall: style fixesAlyssa Ross
Works around Rubycop not liking method names that start with `is_` by changing convention from singular to plural. I think it's better that way anyway.
2016-11-14uninstall: clean up warningsAlyssa Ross
2016-11-14utils: fix capture_stderr styleAlyssa Ross
2016-11-14Warn developers when uninstalling a dependencyAlyssa Ross
Suggested in #1084. Made the existing warning output entirely to STDERR, because previously the first line went to STDERR and subsequent ones went to STDOUT.
2016-11-14Don't warn about unused `brew install` arguments.Mike McQuaid
This is a step closer to better argument handling but for now just fixes the issue in #1217 where it starts complaining about options like `--build-from-source` being used.
2016-11-14Remove `flat_map` compatibility layer.Markus Reiter
2016-11-14No empty `when`s.Markus Reiter
2016-11-14Merge pull request #1500 from JCount/formula_versions-devel-fixMike McQuaid
formula_versions: fix erroneous :stable in version_attributes_map
2016-11-14Merge pull request #1494 from aw1621107/add-frounding-mathMike McQuaid
cc: Add -frounding-math to list of ignored flags
2016-11-14Merge pull request #1497 from alyssais/uninstall_keg_to_formulaMike McQuaid
keg: don't rely on #to_formula