aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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-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
2016-11-13formula_versions: fix erroneous :stable in version_attributes_mapJCount
2016-11-13keg: don't rely on #to_formulaAlyssa Ross
It doesn't always work. For example, a keg could have been installed with a formula from a URL, which Homebrew now does not know how to access. Fixes #1496.
2016-11-13No if/unless-modifier on multiline blocks.Markus Reiter
2016-11-13Rename single line block parameters to `acc/elem`.Markus Reiter
2016-11-13Update RuboCop to 0.45.0.Markus Reiter
2016-11-13Use guard clauses.Markus Reiter
2016-11-13cc: Add -frounding-math to list of ignored flagsAlex Wang
2016-11-13audit: fix "version should not decrease" check.Mike McQuaid
Fix the "version should not decrease" check so it correctly handles `version_scheme`s. Fixes #1489.
2016-11-13Merge pull request #1415 from robinkunde/semverMike McQuaid
Update macOS Xcode tool checks do use Version class for comparisons
2016-11-13Merge pull request #1217 from MatzFan/invalid_build_option_warningsMike McQuaid
Invalid build option warnings - supersedes #1088
2016-11-13Merge pull request #1488 from MikeMcQuaid/filter-formula-optionsMike McQuaid
Filter formula build options based on those that exist.
2016-11-12move semantic version comparisons into separate classRobin Kunde
2016-11-12fix other 10 failing tests - dohBruce Steedman
2016-11-12fix testBruce Steedman
2016-11-12Filter formula build options based on those that exist.Mike McQuaid
If `--with-foo` is provided to a formula through a tab or through another formula depending on it and this option does not exist it should be filtered. If it is not (the prior behaviour) then this can prevent bottles being used unnecessarily. Fixes #1399.
2016-11-12@MikeMcQuaid requested changesBruce Steedman
2016-11-12diagnostic: skip xcode-select check with no Xcode.Mike McQuaid
Skip the `xcode-select` configuration check if there's no CLT or Xcode installed as in that case neither will be used. Fixes #1055.
2016-11-12Merge pull request #1486 from MikeMcQuaid/lock_dir_permissionsMike McQuaid
Check the lock directory is writable.
2016-11-12Merge pull request #1485 from MikeMcQuaid/less-tap-migrate-warningsMike McQuaid
formulary: don't warn on old formula name from keg/rack.
2016-11-12cask-tests: fix cask-tests always fail on the test failureKaito Udagawa
`brew cask-tests` collected the test results in an improper way so that it reports a false success in certain situations. Specially, the session under BrewTestBot always reports success regardless of the test status. With this update, the exit code of `brew cask-tests` is 1 when the test fails, and then CI preperly works.
2016-11-11Check the lock directory is writable.Mike McQuaid
And, if it isn't, print more helpful debugging messages. Fixes #1456.
2016-11-11formulary: don't warn on old formula name from keg/rack.Mike McQuaid
If there’s an old installation of e.g. `apple-gcc42` from when it was part of `homebrew/core` then the tab will say it was from the `homebrew/core` tap and then we’ll complain at the user (see #1459 for an example). Instead, we only want to complain when the user actually types in `homebrew/core/apple-gcc42` into a `brew` command. Closes #1459.
2016-11-11uninstall: don't need kegs to exist for --force.Mike McQuaid
Otherwise there's an error which is a regression on previous functionality. This mirrors `rm -f` which doesn't fail if a file doesn't exist.
2016-11-11Merge pull request #1475 from reitermarkus/fix-locationsMarkus Reiter
Fix `Hbc::Locations` in tests.
2016-11-11Merge pull request #1481 from reitermarkus/sudo-askpassMarkus Reiter
Support `SUDO_ASKPASS` environment variable in `brew cask`.
2016-11-11Merge pull request #1082 from alyssais/uninstall_dependancy_errorMike McQuaid
uninstall: refuse when dependents still installed