aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2017-01-23fileutils: update Ruby documentation URLAlyssa Ross
2017-01-16Unset GREP_OPTIONS.Mike McQuaid
Users may have this set, breaking grep's output. Fixes #1430.
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-06Whitelist PHP formulas in shadowed header audit checkJan Viljanen
2017-01-06pathname: make compute_disk_usage handle symlinks.Mike McQuaid
2017-01-02bottles: --force-bottle feigns or_later.Mike McQuaid
When reproducing issues with software that hasn’t been bottled yet on your version of macOS it can sometimes be helpful to use `or_later` bottle functionality i.e. just use the bottle for the latest version of macOS available. This maps well to the existing `--force-bottle` argument so it will now act as if the latest bottle has a `or_later` ending.
2016-12-31ENV/super: fix set_cpu_flags stub.Mike McQuaid
It should accept arguments. Fixes https://github.com/Homebrew/homebrew-core/issues/8362
2016-12-31formula, ARGV: don't output duplicate formulae.Mike McQuaid
If you specify a formula more than once or it exists in the Cellar with an alias name and the main name (e.g. `qt` and `qt5`) you can see the same formula showing up more than once. Instead, resolve these output lists of formulae such that they are unique based on their `name`. This doesn't use `full_name` as it's `name` that's use for the `Cellar`.
2016-12-30Merge pull request #1701 from MikeMcQuaid/deprecate-std-superenv-stuffMike McQuaid
ENV: deprecate old methods.
2016-12-30Merge pull request #1725 from MikeMcQuaid/curl-homepage-reliablityMike McQuaid
audit: improve reliability of homepage audit.
2016-12-30ENV: deprecate old methods.Mike McQuaid
These should have been deprecated long ago but we didn’t really have the necessary framework to do so.
2016-12-30audit: use new curl_args form.Mike McQuaid
This will use Curl’s default user agent to reduce homepage errors and provides a function that can be used for other audits to perform similar tests on URLs.
2016-12-29Merge pull request #1694 from rwhogg/add-kabylakeMike McQuaid
Add Kaby Lake to Linux hardware list
2016-12-29development_tools: remove unused method.Mike McQuaid
2016-12-20Merge pull request #1698 from MikeMcQuaid/deprecate-32-bitMike McQuaid
Deprecate 32-bit options.
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-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-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-18Add Kaby Lake to Linux hardware listBob W. Hogg
Note that no Mac hardware using a Kaby Lake processor has been released yet, so do not add it to the equivalent list for macOS.
2016-11-26diagnostic: silence outdated Travis Xcode warning.Mike McQuaid
This doesn't add any value and stops us from testing `brew doctor` and others from running `brew doctor` on Travis CI.
2016-11-14Merge pull request #1362 from reitermarkus/rubocopMarkus Reiter
Update RuboCop to 0.45.0.
2016-11-14Don't warn about unused `brew install` arguments.Mike McQuaid
This is a step closer to better argument handling but for now just fixes the issue in #1217 where it starts complaining about options like `--build-from-source` being used.
2016-11-14Remove `flat_map` compatibility layer.Markus Reiter
2016-11-13No if/unless-modifier on multiline blocks.Markus Reiter
2016-11-13Use guard clauses.Markus Reiter
2016-11-12diagnostic: skip xcode-select check with no Xcode.Mike McQuaid
Skip the `xcode-select` configuration check if there's no CLT or Xcode installed as in that case neither will be used. Fixes #1055.
2016-11-11Merge pull request #1082 from alyssais/uninstall_dependancy_errorMike McQuaid
uninstall: refuse when dependents still installed
2016-11-10Merge pull request #1381 from adzenith/patch-1Mike McQuaid
`brew doctor` recommends using cask to upgrade XQuartz
2016-11-09`brew doctor` recommends using cask to upgrade XQuartzNikolaus Wittenstein
Also changes exceptions.rb to use Formatter.url
2016-11-06Merge pull request #1443 from MikeMcQuaid/better-development-tools-checksMike McQuaid
Improve debugging information based on failures
2016-11-05software_spec: no `_or_later` in bottle filenames.Mike McQuaid
It's more useful to be able to "bless" an existing bottle to be used on later OSs (e.g. where it cannot yet be built) than it is to have to create a new, identical bottle just to have a different filename.
2016-11-05diagnostic: add build error checks.Mike McQuaid
2016-11-05diagnostic: only make minimum Xcode/CLT version checks fatal.Mike McQuaid
Also: freeze the relevant arrays.
2016-11-05os/mac/diagnostic: split some unless conditions.Mike McQuaid
2016-11-05diagnostic: add checks for minimum Xcode/CLT versions.Mike McQuaid
2016-10-29superenv: treat timingsafe_bcmp as weak on 10.11ilovezfs
Xcode 8.1 added timingsafe_bcmp to string.h and libsystem_c.tbd, and 10.12.1 added it to libsystem_c.dylib, but it is not present in libsystem_c.dylib on 10.11.6 (15G1108). It may appear in libsystem_c.dylib in a later 10.11 release or it may be marked weak on 10.11 in a later Xcode release. Fixes Homebrew/homebrew-core#6344.
2016-10-25ARGV: extract #values from missingAlyssa Ross
2016-10-24keg_relocate: wrap relocation locations in structJosh Hagins
2016-10-23tap_constants: rename HOMEBREW_CASK_TAP_FORMULA_REGEXJosh Hagins
New name is HOMEBREW_CASK_TAP_CASK_REGEX
2016-10-22Update Rubocop style.Mike McQuaid
Another look at the current Rubocop rules and how they fit with our existing and desired future style. Almost all of these changes were automatic. Split some rules between formulae/brew where brew doesn't have millions of cases that need fixed.
2016-10-16dependency_collector: need xz dep on <= macOS 10.8ilovezfs
Mountain Lion: http://opensource.apple.com/source/libarchive/libarchive-25.1/config.h `/* #undef HAVE_LIBLZMA */` Mavericks: http://opensource.apple.com/source/libarchive/libarchive-29/config.h `#define HAVE_LIBLZMA 1`
2016-10-15Use BSD tar's libarchive LZMA support if availableMike McQuaid
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-10-04Refactor Cask’s extensions.Markus Reiter
2016-10-02*/diagnostic: tweak messaging.Mike McQuaid
Update some messaging based on recent user confusion and the `/usr/local/Homebrew` and Ruby 2 migrations.
2016-09-28superenv: more 10.11 clock_gettime Autotools fixesilovezfs
some build systems check ac_cv_search_clock_gettime instead of ac_cv_func_clock_gettime so the former should also be set to "no" libev.m4 unsets ac_cv_func_clock_gettime, but if ac_have_clock_syscall is defined, it will leave ac_cv_func_clock_gettime alone: http://cvs.schmorp.de/libev/libev.m4?view=markup#l23
2016-09-25ARGV: kegs: error on empty argumentsZhiming Wang
Fixes #1138.
2016-09-24Merge branch 'master' into mkdir_with_intermediatesMike McQuaid
2016-09-24RuboCop: Style/AccessorMethodNameMarkus Reiter
2016-09-24Merge pull request #1113 from reitermarkus/rubocop-guardclauseMarkus Reiter
RuboCop: Fix Style/GuardClause.
2016-09-24Fix Style/GuardClause.Markus Reiter