aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2017-02-04Make descriptions a bit clearer.Markus Reiter
2016-12-28Delete pkgutil directories that are really files.Nathan Toone
Sometimes, pkgutil will return actual files (usually .nib files) as if they were part of the directory. Microsoft Office is an example of this: in a recent update the file `/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/SharedSupport/Microsoft Error Reporting.app/Contents/Resources/en.lproj/MainWindowAlt.nib` was returning from `/usr/sbin/pkgutil --only-dirs --files com.microsoft.package.component` even though it should have been a file instead of a directory. This caused the `rmdir` command to fail. This patch will check if we are trying to delete a “directory” that is really a “file” - and if we are, we just delete the file instead. This will allow packages that get in this state to be uninstalled. A unit test which can be run using `brew cask-tests` is also included.
2016-12-28Merge pull request #1706 from apjanke/deps-all-full-nameAndrew Janke
brew deps: support --full-name in --installed, --all, and --tree modes
2016-12-27brew deps: support --full-name in --installed, --all, and --tree modesAndrew Janke
2016-12-25Merge pull request #1676 from MikeMcQuaid/doctor-tap-repo-bad-ruby-filesMike McQuaid
diagnostic: check for bad tap files.
2016-12-23Merge pull request #1719 from zmwangx/strip-x11-from-new-formula-templateMike McQuaid
create: remove :x11 dep from new formula template
2016-12-23Merge pull request #1715 from zmwangx/bump-formula-pr-fix-removal-of-old-mirrorMike McQuaid
bump-formula-pr: fix removal of old mirrors
2016-12-23Merge pull request #1663 from tschoonj/meson-create-supportMike McQuaid
brew create: add meson support
2016-12-23Merge pull request #1693 from broder/homepage_checkMike McQuaid
Updated homepage 404 check to use explicit parameters and return the …
2016-12-22create: remove :x11 dep from new formula templateZhiming Wang
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-19brew create: add meson supportTom Schoonjans
meson is quickly gaining popularity as build system, in combination with ninja. Several Gnome projects for example are currently transitioning from autotools to meson, mostly because it allows for Visual Studio builds, which is impossible to accomplish with autotools. In order to facilitate generating meson based Formulas, I added support for meson to brew-create.
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-19MarkupsDavid Broder-Rodgers
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-18Updated homepage 404 check to use explicit parameters and return the status codeDavid Broder-Rodgers
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-13diagnostic: check for bad tap files.Mike McQuaid
Check for Ruby files in taps that are outside of the detected `Formula` directory for a tap but inside one of the other potential directories. This usually indicates a formula has been added in the wrong directory in a tap and is used to fail CI in this case.
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