aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-12-11Merge pull request #1649 from MikeMcQuaid/prune-optMike McQuaid
keg: also prune opt.
2016-12-11Merge pull request #1646 from MikeMcQuaid/report-deprecations-to-tapMike McQuaid
Tell people to report URL/tap deprecations to the tap.
2016-12-11keg: also prune opt.Mike McQuaid
If there's dead symlinks in there they should be removed.
2016-12-11Merge pull request #1343 from vladshablinsky/explicit-specsUladzislau Shablinski
Allow to install any spec
2016-12-10formula_installer: remove dependency_installer.Mike McQuaid
This is no longer needed as the reason it was added (argument sanitisation) is now done properly. Also, remove `skip_deps_check?` in favour of `ignore_deps?` as it too is no longer needed.
2016-12-10Merge pull request #1647 from MikeMcQuaid/fix-dependency-option-handlingMike McQuaid
Fix dependency option handling.
2016-12-10Merge pull request #1642 from MikeMcQuaid/always-output-optionsMike McQuaid
reinstall/upgrade/install: always output options.
2016-12-10Fix dependency option handling.Mike McQuaid
- formula_installer: only recompute dependencies when necessary i.e. when a bottle pour fails. - formula_installer: re-add accidentally remove dependency options - dependency: missing options are only those that actually exist on a formula
2016-12-10Merge pull request #1641 from MikeMcQuaid/formulary-remap-optionsMike McQuaid
formulary: remap deprecated options from keg.
2016-12-10reinstall/upgrade/install: always output options.Mike McQuaid
This is both easier for debugging and to communicate with users what is being done.
2016-12-10Tell people to report URL/tap deprecations to the tap.Mike McQuaid
Rather than Homebrew/brew or Homebrew/homebrew-core.
2016-12-09formulary: remap deprecated options from keg.Mike McQuaid
When reading a building a formula from a keg (rather than e.g. from name) then the deprecation options were not remapped correctly as they are only done in `Tab.for_formula` and not `Tab.for_keg`. Ensure that after we’ve created the formula that the `used_options` are remapped correctly.
2016-12-09Merge pull request #1618 from rwanyoike/cask-reinstall-orderMarkus Reiter
cask reinstall: download and verify cask before uninstall
2016-12-08Merge pull request #1615 from zachwhaley/fish_functionsMike McQuaid
Add a method for installing fish function files
2016-12-07Merge pull request #1629 from ↵Mike McQuaid
zmwangx/bump-formula-pr-download-to-correct-version bump-formula-pr: use correct version in download path when --version is specified
2016-12-07Merge pull request #1628 from ↵Mike McQuaid
zmwangx/make-boneyard-formula-pr-consistent-with-bump-formula-pr boneyard-formula-pr: make it more consistent with bump-formula-pr
2016-12-07Merge pull request #1614 from alyssais/tab_homebrew_versionMike McQuaid
tab: include HOMEBREW_VERSION
2016-12-06bump-formula-pr: use correct version in downloadZhiming Wang
When a --version is specified, use this specified version in the name of the downloaded file rather than the default that is parsed from the URL. For instance, brew bump-formula-pr --devel \ --url=http://www.zsh.org/pub/development/zsh-5.2-test-2.tar.gz \ --version=5.2-test-2 zsh should download to $HOMEBREW_CACHE/zsh-5.2-test-2.tar.gz (correct behavior after this commit) rather than $HOMEBREW_CACHE/zsh-2.tar.gz (wrong behavior before this commit).
2016-12-06boneyard-formula-pr: checkout last branch when doneZhiming Wang
Make its behavior more consistent with that of bump-formula-pr.
2016-12-06boneyard-formula-pr: use ohai to print messagesZhiming Wang
Make its behavior more consistent with that of bump-formula-pr.
2016-12-06Merge pull request #1464 from reitermarkus/quit-with-launchctlMarkus Reiter
Use `launchctl` to get running processes by bundle ID.
2016-12-05xcode: cleanup Xcode::Version usage.Mike McQuaid
Don't wrap `MacOS.version` which does comparisons properly already and avoid stupidly long lines.
2016-12-05cask reinstall: use fetch and stage steps from #1620Raymond Wanyoike
2016-12-05Merge pull request #1620 from reitermarkus/refactoringMarkus Reiter
Refactor Cask installer.
2016-12-05Merge pull request #1590 from reitermarkus/fail-if-app-source-already-existsMarkus Reiter
Fail if cask source already exists.
2016-12-05Use `launchctl` to get running processes by bundle ID.Markus Reiter
2016-12-04Revert `install_artifacts` if one artifact fails to install.Markus Reiter
2016-12-04Separate `fetch` and `stage` steps in `Hbc::Installer`.Markus Reiter
2016-12-04Use Homebrew’s `Emoji` class in cask installer.Markus Reiter
2016-12-04Use Homebrew to detect if X11 is installed.Markus Reiter
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-28Also fail if symlinked artifacts already exist.Markus Reiter
2016-11-28Warn when overwriting an artifact.Markus Reiter