aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-12-22bump-formula-pr: fix removal of old mirrorsZhiming Wang
Previously, old mirrors are only removed if the requested spec is stable, and if the mirror lines only have two leading spaces. This leads to stale mirror line(s) when the formula a stable block like stable do url "http://example.com/v1.0.tar.gz" mirror "http://example.net/v1.0.tar.gz" end where the mirror line is lead by four spaces. In this commit, we discard the /(^ mirror .*\n)?/ pattern, and instead create a pattern with the exact url and flexible leading spaces for each mirror of the requested spec.
2016-12-20audit: fix 32-bit check.Mike McQuaid
2016-12-20Merge pull request #1695 from MikeMcQuaid/audit-revision-map-nilMike McQuaid
audit: handle a nil revision map.
2016-12-20Merge pull request #1698 from MikeMcQuaid/deprecate-32-bitMike McQuaid
Deprecate 32-bit options.
2016-12-20Merge pull request #1710 from MikeMcQuaid/xcode-no-prerelease-warningsMike McQuaid
Remove Xcode prerelease warnings.
2016-12-20Deprecate 32-bit options.Mike McQuaid
These were formerly supported but as it has been a very long time since 32-bit software was necessary on macOS these have been deprecated with a `brew audit` warning and a future `odeprecated`.
2016-12-20Merge pull request #1684 from MikeMcQuaid/update-reset-commandMike McQuaid
update-reset: add new command.
2016-12-20Merge pull request #1680 from MikeMcQuaid/post-install-sandbox-prefixMike McQuaid
postinstall: don't allow writes to prefix itself.
2016-12-20Merge pull request #1678 from MikeMcQuaid/loosen-superenv-cellar-regexMike McQuaid
super/cc: loosen cellar formula regex.
2016-12-19Remove Xcode prerelease warnings.Mike McQuaid
At this point we probably do want to know about issues that crop up in betas so we can fix them before the new version of Xcode is released. Additionally, this doesn't really work well any more with our new tag-based workflow as it means we need to cut a new tag immediately after a new Xcode is released.
2016-12-18Merge pull request #1674 from MikeMcQuaid/audit-os-mac-linuxMike McQuaid
audit: don't allow use of OS.mac?/OS.linux?.
2016-12-18audit: handle a nil revision map.Mike McQuaid
2016-12-18Never trigger too old CLT check on <10.7.Mike McQuaid
While we fake a CLT for these versions they never shipped with the CLT so cannot update it.
2016-12-18audit: don't allow use of OS.mac?/OS.linux?.Mike McQuaid
Forbid their use in Homebrew/core which only supports macOS. This may be added to more/all official taps in future.
2016-12-18update-reset: add new command.Mike McQuaid
Add new `brew update-reset` command to provide a helpful troubleshooting fallback to fetch and reset all repositories. This could have lived in `brew update` but it makes sense to avoid the complexity of sharing logic between these scripts and keeping this one simpler.
2016-12-18create: handle Version::NULL correctly.Mike McQuaid
Fixes #1688.
2016-12-18Merge pull request #1675 from MikeMcQuaid/diagnostic-multiple-cellarsMike McQuaid
diagnostic: check for multiple Cellars.
2016-12-18Merge pull request #1673 from MikeMcQuaid/audit-fails-with-llvmMike McQuaid
audit: flag use of "fails_with :llvm".
2016-12-18Merge pull request #1679 from MikeMcQuaid/no-prune-top-level-dirsMike McQuaid
prune: don't remove top-level directories.
2016-12-18Merge pull request #1685 from MikeMcQuaid/utils-path-stringMike McQuaid
which_all: don't assume path is a string.
2016-12-17Merge pull request #1689 from reitermarkus/failed-install-error-messageMarkus Reiter
Fix error message when cask fails to install.
2016-12-16Merge pull request #1667 from jmorten/bugfix/typoMarkus Reiter
fix typo
2016-12-16Fix error message when cask fails to install.Markus Reiter
2016-12-15super/cc: loosen cellar formula regex.Mike McQuaid
Match HOMEBREW_TAP_FORMULA_REGEX to avoid skipping valid cellar regexes.
2016-12-13Merge pull request #1669 from vladshablinsky/fix_method_deprecated1.1.5Mike McQuaid
formulary: call tap not formula
2016-12-14formulary: call tap not formulaUladzislau Shablinski
Fixes #1668
2016-12-13fix typoJoshua Morten
2016-12-13Revert "formula: runtime deps of build deps aren't runtime"ilovezfs
2016-12-13audit: flag use of "fails_with :llvm".Mike McQuaid
Also, add TODOs for deprecating this properly at a later point.
2016-12-13prune: don't remove top-level directories.Mike McQuaid
Even if they're empty we want to keep these top-level directories around as the installer has nicely created them with the correct permissions and this avoids potentially having to use `sudo` to recreate them.
2016-12-13diagnostic: check for multiple Cellars.Mike McQuaid
And tell people to delete the HOMEBREW_REPOSITORY one. The HOMEBREW_PREFIX one is preferable for bottling.
2016-12-13postinstall: don't allow writes to prefix itself.Mike McQuaid
Only the top-level directories inside it. We don't want formulae writing random junk in e.g. `/usr/local` even in `postinstall`.
2016-12-12XCode 8.2 is stabledersvenhesse
2016-12-12Merge pull request #1592 from alyssais/runtime_dependenciesMike McQuaid
formula: runtime deps of build deps aren't runtime
2016-12-12Merge pull request #1616 from zachwhaley/zsh_functions_caveatsMike McQuaid
caveats: Differentiate zsh completion files and function files
2016-12-11analytics: don't raise if tap doesn't exist.Mike McQuaid
2016-12-11Merge pull request #1649 from MikeMcQuaid/prune-optMike McQuaid
keg: also prune opt.
2016-12-11Merge pull request #1646 from MikeMcQuaid/report-deprecations-to-tapMike McQuaid
Tell people to report URL/tap deprecations to the tap.
2016-12-11keg: also prune opt.Mike McQuaid
If there's dead symlinks in there they should be removed.
2016-12-11Merge pull request #1343 from vladshablinsky/explicit-specsUladzislau Shablinski
Allow to install any spec
2016-12-10formula_installer: remove dependency_installer.Mike McQuaid
This is no longer needed as the reason it was added (argument sanitisation) is now done properly. Also, remove `skip_deps_check?` in favour of `ignore_deps?` as it too is no longer needed.
2016-12-10Merge pull request #1647 from MikeMcQuaid/fix-dependency-option-handlingMike McQuaid
Fix dependency option handling.
2016-12-10Merge pull request #1642 from MikeMcQuaid/always-output-optionsMike McQuaid
reinstall/upgrade/install: always output options.
2016-12-10Fix dependency option handling.Mike McQuaid
- formula_installer: only recompute dependencies when necessary i.e. when a bottle pour fails. - formula_installer: re-add accidentally remove dependency options - dependency: missing options are only those that actually exist on a formula
2016-12-10Merge pull request #1641 from MikeMcQuaid/formulary-remap-optionsMike McQuaid
formulary: remap deprecated options from keg.
2016-12-10which_all: don't assume path is a string.Mike McQuaid
Fixes #1635.
2016-12-10reinstall/upgrade/install: always output options.Mike McQuaid
This is both easier for debugging and to communicate with users what is being done.
2016-12-10Tell people to report URL/tap deprecations to the tap.Mike McQuaid
Rather than Homebrew/brew or Homebrew/homebrew-core.
2016-12-09formulary: remap deprecated options from keg.Mike McQuaid
When reading a building a formula from a keg (rather than e.g. from name) then the deprecation options were not remapped correctly as they are only done in `Tab.for_formula` and not `Tab.for_keg`. Ensure that after we’ve created the formula that the `used_options` are remapped correctly.
2016-12-09Merge pull request #1618 from rwanyoike/cask-reinstall-orderMarkus Reiter
cask reinstall: download and verify cask before uninstall