aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-12-04Add a method for installing fish function filesZach Whaley
Fish shell allows third-party software vendors to put their own function files in a directory for their software. For brew installed Fish shell, this is /usr/local/share/fish/vendor_functions.d
2016-12-04travis: use Xcode 8.1 on Sierra.Mike McQuaid
For code coverage from `brew test-bot`.
2016-12-04cask reinstall: download and verify cask before uninstallRaymond Wanyoike
Closes: caskroom/homebrew-cask#27075
2016-12-03tab: remove debuggingAlyssa Ross
2016-12-03tab: include HOMEBREW_VERSIONAlyssa Ross
2016-12-03Merge pull request #1611 from MikeMcQuaid/bash-test-raceMike McQuaid
bash_test: handle race condition.
2016-12-03bash_test: handle race condition.Mike McQuaid
Other tests may delete Bash files (e.g. `shcmd.sh`) while tests are ongoing so ensure this doesn't cause a test failure.
2016-12-03Merge pull request #1610 from MikeMcQuaid/fs_leak_logger_mkpathMike McQuaid
fs_leak_logger: use more permissive mkpath.
2016-12-03install_test: add HEAD testsUladzislau Shablinski
2016-12-03fs_leak_logger: use more permissive mkpath.Mike McQuaid
This avoids a race condition occurring here.
2016-12-03tap-new: use latest Travis CI recommended config.Mike McQuaid
Pretty sure no-one cares about this except me but this works consistently across a variety of different taps and is faster than the old version.
2016-12-02uninstall_test: require testing_envBob W. Hogg
2016-12-03Update tests for new install behaviourUladzislau Shablinski
2016-12-03cmd/install: allow to install any specUladzislau Shablinski
* installing HEAD keg_only should be possible only if: 1. - Old version installed differs from new one and optlinked - `--force` flag is passed - HEAD is seriously outdated or outdated with `--fetch-HEAD` or 2. - Old version installed differs from new one and not optlinked or 3. - This formula is not installed * installing keg_only should be possible only if: 1. - Old version installed differs from new one and optlinked - `--force` flag is passed or 2. - Old version installed differs from new one and not optlinked or 3. - This formula is not installed * installing HEAD should be possible only if: 1. - Old HEAD is seriously outdated or outdated with `--fetch-HEAD` or 2. - HEAD is not installed * installing stable or devel should be possible only if: - Old version installed differs from new one
2016-12-03formula: add new methodsUladzislau Shablinski
* `Formula#linked?` returns true if formula linked * `Formula#optlinked?` returns true if formula linked to opt formula installed to the Cellar * `Formula#prefix_linked?` returns true if linked keg points to the prefix passed as an argument * `Formula#linked_version` to get linked version of the formula
2016-12-03download_strategy: keep commit short if possibleUladzislau Shablinski
2016-12-01update.sh: Use full path to pkillBaptiste Fontaine
Fixes #1600.
2016-11-29Fix tests.Markus Reiter
2016-11-29formula: runtime deps of build deps aren't runtimeAlyssa Ross
Fixes #1554 (but only for new installations)
2016-11-28Also fail if symlinked artifacts already exist.Markus Reiter
2016-11-28Warn when overwriting an artifact.Markus Reiter
2016-11-28Fail if cask source already exists.Markus Reiter
2016-11-28Merge pull request #1573 from sorin-ionescu/fix-xcode-version-comparison1.1.2Mike McQuaid
Fix macOS version comparison
2016-11-28dependency_collector: Make ant_dep and xz_dep publicBob W. Hogg
They were already public on macOS, but they were made private by mistake on all other platforms. DependencyCollector.tar_needs_xz_dependency? depends on xz_dep being public, so there's no turning back now :(
2016-11-27Merge pull request #1581 from MikeMcQuaid/rubocop-exclude-vendorMike McQuaid
rubocop: exclude more files.
2016-11-26Merge pull request #1574 from MikeMcQuaid/tap-new-travis-updateMike McQuaid
tap-new: cleanup and update Travis configuration.
2016-11-26rubocop: exclude more files.Mike McQuaid
We never want to check these for any e.g. taps that use them.
2016-11-26Fix macOS version comparisonSorin Ionescu
2016-11-26Merge pull request #1580 from MikeMcQuaid/fix-uses-testMike McQuaid
uses_test: don't rely on output order.
2016-11-26diagnostic: silence a Jenkins doctor warning.Mike McQuaid
Allow our Jenkins CI testing for Homebrew/brew to live outside of `/usr/local` without complaint (as it's not using any binary packages anyway).
2016-11-26tap-new: cleanup and update Travis configuration.Mike McQuaid
- Use macOS Sierra 10.12 and Xcode 8. - Add indentation.
2016-11-26uses_test: don't rely on output order.Mike McQuaid
I've seen this vary.
2016-11-26update-report: allow skipping analytics message.Mike McQuaid
This is used by the install script so it can simplify it's logic and make the analytics messaging more prominent.
2016-11-26Merge pull request #1577 from MikeMcQuaid/more-analytics-tweaksMike McQuaid
update-report: further tweak analytics output.
2016-11-26Merge pull request #1576 from MikeMcQuaid/diagnostic-allow-outdated-travisMike McQuaid
diagnostic: silence outdated Travis Xcode warning.
2016-11-26update-report: further tweak analytics output.Mike McQuaid
There were some bugs with the use of `HOMEBREW_NO_ANALYTICS_THIS_RUN` and some output glitches I missed with the previous PR (#1575).
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-26update-report: further improve analytics messagingMike McQuaid
- Don't output the analytics message and mark it as read if `HOMEBREW_NO_ANALYTICS_THIS_RUN` is set. This mostly simplifies the installer code where we can display the message ourselves there rather than having `brew update` print it out sometimes and not others (i.e. when there's no system Git installed). - Use the shell's audible bell to nudge people to actually read this message (and give them less excuse to complain when they don't). - Add an extra newline and bold all the analytics messaging so it's more visible in the output.
2016-11-25Revert "Merge pull request #1562 from woodruffw/check-admin-group"Mike McQuaid
This reverts commit 7f13b37b903564e2a64cea982d6b84d1aa6b800b, reversing changes made to 62e0ecdaafbc6779205908c7ab191c884473afd6.
2016-11-25Revert "Merge pull request #1567 from cesarandreu/fix-diagnostic-conditonal"Mike McQuaid
This reverts commit 89c3348923c3450d8d32f1252abd53209b39c288, reversing changes made to 7f13b37b903564e2a64cea982d6b84d1aa6b800b.
2016-11-25Fix early exit condition for check_for_member_of_admin_groupCesar Andreu
2016-11-25Merge pull request #1562 from woodruffw/check-admin-groupMike McQuaid
diagnostic: check if the user is a member of the admin group.
2016-11-24Merge pull request #1559 from MikeMcQuaid/unsupported-better-exceptionsMike McQuaid
exceptions: better handle unsupported macOS versions.
2016-11-24diagnostic: check if the user is a member of the admin group.William Woodruff
Non-administrative users are unable to run `brew linkapps` (and possibly other commands) under normal circumstances.
2016-11-24Merge pull request #1547 from umireon/cask-uninstall-symlinkJosh Hagins
cask: Delete package dir if it is symlink on the uninstall
2016-11-24Fix broken linkTse Kit Yam
2016-11-24exceptions: better handle unsupported macOS versions.Mike McQuaid
Don’t fail on `OS::ISSUES_URL` being missing (which happens on unsupported macOS versions) and instead tell people to not file issues.
2016-11-23Do not remove unknown bottle tagsShaun Jackman
2016-11-23Merge pull request #1549 from umireon/osxfuse-paths-with-requirementMike McQuaid
osxfuse_requirement: add library and include paths
2016-11-23audit: allow deprecated options on new @ formulae.Mike McQuaid
As these may be migrations from another tap where we want to migrate options across correctly.