aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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-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-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
2017-01-07Merge pull request #1792 from javian/whitelistphpshadowedheaderMike McQuaid
Whitelist PHP formulas in shadowed header audit check
2017-01-07Revert "cc: always filter flags on deps."Mike McQuaid
2017-01-06Whitelist PHP formulas in shadowed header audit checkJan Viljanen
2017-01-06keg: use resolved_path not realpath.Mike McQuaid
This guards against this being a non-symlink in which case it will fail.
2017-01-06Merge pull request #1782 from ilovezfs/prefix-fixupsilovezfs
Fix abv and prefix_linked?
2017-01-06formula: tweak versioned prefix approach.Mike McQuaid
2017-01-06pathname: make compute_disk_usage handle symlinks.Mike McQuaid
2017-01-05Merge pull request #1780 from MikeMcQuaid/use-docs-linksMike McQuaid
Use docs.brew.sh links.
2017-01-05Merge pull request #1787 from alyssais/formula_commentsMike McQuaid
formula: correct grammar in comments
2017-01-05Merge pull request #1771 from alyssais/license_yearMike McQuaid
licenses: update copyright year
2017-01-05formula: correct grammar in commentsAlyssa Ross
2017-01-04PerlRequirement: version number might not be wrapped in parenthesesShaun Jackman
For example: This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
2017-01-05uses: properly handle recursive deps exceptionsAlyssa Ross
Fixes #1776. If any known formula had a dependency on an untapped tap, Formula#recursive_dependencies would throw an exception, which would be caught by the outer exception handler, causing the rest of the dependencies for that formula to be skipped and incomplete output to be generated. To fix this, I added a check to avoid analysing the dependencies of formulae from uninstalled taps. Additionally, I removed the aforementioned outer exception handler added in 5fdb89aed90f03413cdb21af430411c4a722876e, because the only other place that should be capable of throwing such an exception is the statement that was surrounded by another wider exception handler in Homebrew/legacy-homebrew#40682.
2017-01-05dependency: TapDependency#tap returns a TapAlyssa Ross
Previously, this returned a String, but a Tap instance seems much more sensible. I couldn't find anywhere this method was actually used, so the change shouldn't break anything.
2017-01-04formula: make prefix_linked? use versioned prefixilovezfs
otherwise whenever prefix is unversioned, prefix_Linked will be false
2017-01-04formula: realpath prefix before computing abvilovezfs
versioned prefix is a directory, but unversioned is a symlink, so realpath it before computing abv
2017-01-04Merge pull request #1777 from alyssais/tests_tab_versionMike McQuaid
tests: remove temporary tab homebrew_version override
2017-01-04Use docs.brew.sh links.Mike McQuaid
2017-01-04tab: set homebrew_version in Tab.emptyAlyssa Ross
2017-01-04tests: remove temp tab homebrew_version overrideAlyssa Ross
This had to be added in #1750 to work around special-casing for tabs generated with Homebrew versions < 1.1.6. Now that 1.1.6 is the current version, we can remove this hack.
2017-01-03audit: deprecate env :std/:userpaths for strict.Mike McQuaid
This should apply only for new formulae but we should start gradually phasing it out for older ones too.
2017-01-03Merge pull request #1677 from MikeMcQuaid/formula-prefix-optMike McQuaid
formula: make prefix usually return opt_prefix.
2017-01-03Merge pull request #1768 from MikeMcQuaid/deprecate-homebrew-versions-devel-only1.1.6Mike McQuaid
Deprecate Homebrew/versions, Homebrew/devel-only.
2017-01-03cask: remove licenseAlyssa Ross
See https://github.com/Homebrew/brew/pull/1771#issuecomment-270179479.
2017-01-03Deprecate Homebrew/versions, Homebrew/devel-only.Mike McQuaid
Don't use Homebrew/versions in a test and remove them both from the OFFICIAL_TAPS list (i.e. `brew search`).
2017-01-02Merge pull request #1766 from MikeMcQuaid/update-report-incoming-renamesMike McQuaid
update-report: handle homebrew/versions imports.
2017-01-02Merge pull request #1760 from reitermarkus/version-file-separatorVítor Galvão
Disallow file separator in version strings.