aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2017-01-17Merge pull request #1815 from MikeMcQuaid/dependency_to_formulaMike McQuaid
requirement: get formula from satisfy.
2017-01-17Merge pull request #1844 from MikeMcQuaid/audit-universalMike McQuaid
audit: don't allow universal for new formulae.
2017-01-17Merge pull request #1859 from MikeMcQuaid/brew-create-null-versionMike McQuaid
create: handle null versions.
2017-01-17Merge pull request #1861 from MikeMcQuaid/unset-grep-optionsMike McQuaid
Unset GREP_OPTIONS.
2017-01-17Merge pull request #1849 from alyssais/requirement_testsMike McQuaid
tests: test Formula#recursive_requirements
2017-01-16uses: restore formula-level exception handlerAlyssa Ross
This is a temporary measure until: - #1862 is merged - I can a test on `brew uses` against every formula in the official taps to verify that exceptions are no longer raised.
2017-01-16Revert "Revert "uses: properly handle untapped fo…Alyssa Ross
…rmulae in recursive dependency expansion"" This reverts commit dc9819b86c60b5c6fd10373ff318d8ef60f97d52.
2017-01-16uses: fix recursive requirement resolutionAlyssa Ross
Fixes #1848 by sharing recursive dependency resolution between dependencies and requirements. Coincidentally, this also fixes the errors introduced by #1784 that necessitated it being reverted in #1797.
2017-01-16tests: fix style of recursive_requirements testsAlyssa Ross
2017-01-16Unset GREP_OPTIONS.Mike McQuaid
Users may have this set, breaking grep's output. Fixes #1430.
2017-01-16create: handle null versions.Mike McQuaid
Fixes #1821
2017-01-16Merge pull request #1763 from ↵Mike McQuaid
minamijoyo/add-feature-github-release-download-strategy New feature: Allow download from private GitHub repository
2017-01-15formula: runtime_dependencies contains requirement formulae.Mike McQuaid
When a Requirement is converted to a Formula it should be listed under the runtime dependencies.
2017-01-15Merge pull request #1826 from MikeMcQuaid/remove-to-uninstall-manpageMike McQuaid
brew.1: use uninstall instead of remove.
2017-01-15Merge pull request #1846 from MikeMcQuaid/fix-head-upgrade-manMike McQuaid
Fix documentation for HEAD upgrades.
2017-01-15tests: test Formula#recursive_requirementsAlyssa Ross
2017-01-15formula_installer: set specified_path on pour.Mike McQuaid
This means that a `brew install $ALIAS` records the path accordingly so e.g. `Formula#full_installed_specified_name` returns the correct path.
2017-01-15audit: don't allow universal for new formulae.Mike McQuaid
We're frowning on these now so may as well turn that into code.
2017-01-15Fix documentation for HEAD upgrades.Mike McQuaid
These can now be done with just `brew upgrade`, like other upgrades. Fixes #1818.
2017-01-13audit: whitelist unstable versions already in coreilovezfs
also allow higher stable versions with the same version prefix
2017-01-13Merge pull request #1830 from ilovezfs/InreplaceError-fix-undefined-methodilovezfs
InreplaceError: fix undefined method crash
2017-01-12brew deps --tree: fix gap in line between reqs and depsAndrew Janke
2017-01-12InreplaceError: fix undefined method crashilovezfs
When the first parameter to inreplace was an array, and the replacement failed, InreplaceError would end up crashing with an undefined method exception because the order of operations resulted in super not being passed the value of the entire inject block.
2017-01-11audit: Check for invocations of cctools.William Woodruff
Now that ruby-macho is available, cctools should be invoked as little as possible.
2017-01-11brew.1: use uninstall instead of remove.Mike McQuaid
Fixes #1817.
2017-01-11formula_installer: don't assume requirement dependency is default formula.Mike McQuaid
2017-01-11build: don't assume requirement dependency is default formula.Mike McQuaid
2017-01-11requirement: get formula from satisfy.Mike McQuaid
If satisfy returns a `Pathname` from `which` then we can use that to infer a formula dependency from that `Requirement`.
2017-01-11Merge pull request #1808 from MikeMcQuaid/deprecate-linkappsMike McQuaid
Deprecate brew (un)linkapps.
2017-01-11Merge pull request #1816 from MikeMcQuaid/xcode-xquartz-default-pathMike McQuaid
xcode, xquartz: use default location when possible.
2017-01-11Merge pull request #1814 from MikeMcQuaid/json_runtime_dependenciesMike McQuaid
formula: return runtime_dependencies in to_hash.
2017-01-09xcode: use default location when possible.Mike McQuaid
Xcode can be installed anywhere but for most people it's in `/Applications/Xcode.app` so just look there if `xcode-select` isn't helpful before looking at Spotlight which can return weird results on e.g. backup disks. Fixes #1587.
2017-01-09xcode: general cleanup.Mike McQuaid
2017-01-09xquartz: use default location when possible.Mike McQuaid
Xcode can be installed anywhere but for most people it's in `/Applications/Xcode.app` so just look there by default before looking at Spotlight which can return weird results on e.g. backup disks.
2017-01-09formulary: read from formula in opt prefix.Mike McQuaid
We want to prefer the newer/versioned formulae when possible but this is preferable to a random cached formula or, worse, no formula. This means `brew info foo` will never complain that `foo` is a missing formula.
2017-01-09formula: return runtime_dependencies in to_hash.Mike McQuaid
Which, in turn, provides it for `brew info --json=v1` so other tools such as e.g. `brew bundle` can make use of this information.
2017-01-09caveats, keg: remove linkapps caveats code.Mike McQuaid
2017-01-09Deprecate brew (un)linkapps.Mike McQuaid
Unfortunately `brew linkapps` cannot behave nicely with e.g. Spotlight using either aliases or symlinks and Homebrew formulae do not build "proper" `.app` bundles that can be relocated. Instead, please consider using `brew cask` and migrate formulae using `.app`s to casks.
2017-01-09Merge pull request #1806 from MikeMcQuaid/audit-virtualenv-setuptools1.1.7Mike McQuaid
audit: check virtualenv and setuptools resource.
2017-01-09audit: check virtualenv and setuptools resource.Mike McQuaid
`virtualenv_install_with_resources` will automatically define and install a `setuptools` resource so this is unnecessary. References https://github.com/Homebrew/homebrew-core/pull/8570
2017-01-09bump-formula-pr: check for URL presence.Mike McQuaid
If it's not there, produce a nicer error. Fixes #1805.
2017-01-08Fix rubocop style warning of download_strategyMasayuki Morita
2017-01-08Validate a token when initializing GitHubPrivateRepositoryDownloadStrategyMasayuki Morita
2017-01-08Generalize GitHubReleaseDownloadStrategy in order to support archive URLMasayuki Morita
2017-01-07keg_relocate: Check HOMEBREW_TEMP's realpath when excluding name changes.William Woodruff
Since /tmp (the default HOMEBREW_TEMP) is a symlink to /private/tmp, some build systems (like Parrot's) will attempt to use the realpath instead of the literal /tmp we supply it with. This breaks the relocation code, which only tested the literal HOMEBREW_TEMP and not its realpath.
2017-01-07Merge pull request #1798 from MikeMcQuaid/audit-fake-safari-user-agentMike McQuaid
Allow `brew audit` to fake a Safari user-agent.
2017-01-07Allow `brew audit` to fake a Safari user-agent.Mike McQuaid
This allows us to detect if homepages such as e.g. `aiccu` which blocks `curl` are up or not.
2017-01-07Revert "uses: properly handle untapped formulae in recursive dependency ↵Mike McQuaid
expansion"
2017-01-07Merge pull request #1784 from alyssais/uses_tap_exceptionMike McQuaid
uses: properly handle untapped formulae in recursive dependency expansion
2017-01-07Merge pull request #1786 from rwhogg/perl-version-may-lack-bracketsMike McQuaid
PerlRequirement: Perl version string may lack parentheses