aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2017-01-18formula_installer: use installed_* variables.Mike McQuaid
Also, report formulae installed on request. This is useful in differentiating between those formulae that are popular because they are widely requested and those that are popular because they are widely depended on.
2017-01-18formula: installed_{as_dependency,on_request} hashMike McQuaid
Which, in turn, provides them for `brew info --json=v1` so other tools such as e.g. `brew bundle` can make use of this information.
2017-01-18tab: store installed_{as_dependency,on_request}.Mike McQuaid
These are used to determine whether or not a formula’s install was specifically requested by a user and/or pulled in as a dependency.
2017-01-18Add custom cop to refactor revision to rebuild in bottle blockGautham Goli
2017-01-18integration_command_test_case: improve fail outputMike McQuaid
Instead of `puts`ing when the failure occurs save it until the error message and print a prose description of what the failure was and the output from the command. This makes the output from failing tests significantly easier to read.
2017-01-18Merge pull request #1868 from zmwangx/bottle-add-improve-regexpMike McQuaid
bottle: add: improve regexp to recognize comments
2017-01-17Merge pull request #1869 from MikeMcQuaid/versioned_formula_conflicts_fixMike McQuaid
audit: only warn on versioned conflicts_with.
2017-01-17Merge pull request #1863 from alyssais/uses_ignore_untappedMike McQuaid
uses: properly handle untapped formulae in recursive dependency expansion (again!)
2017-01-17Merge pull request #1862 from alyssais/uses_include_optionalMike McQuaid
uses: fix recursive requirement resolution
2017-01-17rubocop_todo: bump max module length to 400Zhiming Wang
2017-01-17audit: only warn on versioned conflicts_with.Mike McQuaid
Rather than all versioned formulae regardless. Oops.
2017-01-17bottle: add: improve regexp to recognize commentsZhiming Wang
This would have eliminated the need for Homebrew/homebrew-core#9000, for instance.
2017-01-17Merge pull request #1851 from MikeMcQuaid/keg-only-versionMike McQuaid
Add `keg_only :versioned_formula`.
2017-01-17suite_test: skip flaky test.Mike McQuaid
2017-01-17Add `keg_only :versioned_formula`.Mike McQuaid
This is used to indicate a formula is a version of another formula. This will be used to provide a consistent interface for older formulae versions and replaces the use of `conflicts_with`.
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.