13531 Commits

Author SHA1 Message Date
Mike McQuaid
276d00938c Merge pull request #1615 from zachwhaley/fish_functions
Add a method for installing fish function files
2016-12-08 08:55:00 +00:00
Mike McQuaid
ba14f87825 Merge pull request #1630 from romellem/remove-mavericks-bottles-mention
os/mac: Remove mention of Mavericks bottles
2016-12-08 08:03:24 +00:00
romellem
25242fe4e9 Minimize line length 2016-12-07 16:34:52 -06:00
romellem
52aa4668d0 Generic language targeting macOS 2016-12-07 16:33:11 -06:00
Mike McQuaid
60b1be6795 Merge pull request #1629 from zmwangx/bump-formula-pr-download-to-correct-version
bump-formula-pr: use correct version in download path when --version is specified
2016-12-07 22:09:54 +00:00
Mike McQuaid
b4dd5146ed Merge pull request #1628 from zmwangx/make-boneyard-formula-pr-consistent-with-bump-formula-pr
boneyard-formula-pr: make it more consistent with bump-formula-pr
2016-12-07 22:09:05 +00:00
Mike McQuaid
0198bca567 Merge pull request #1614 from alyssais/tab_homebrew_version
tab: include HOMEBREW_VERSION
2016-12-07 21:57:50 +00:00
romellem
027a88cee0 Bottles are created for Yosemite and higher
After Issue #985 was merged, bottles for Mavericks are no longer
being built, meaning installations are triggering builds.

Update the FAQ to show that builds will most likely now be
triggers on Mavericks since their bottles are not being generated.
2016-12-06 18:02:52 -06:00
Zhiming Wang
417f27f40f
bump-formula-pr: use correct version in download
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-06 17:30:10 -05:00
Zhiming Wang
59f926cfd3
boneyard-formula-pr: checkout last branch when done
Make its behavior more consistent with that of bump-formula-pr.
2016-12-06 15:20:04 -05:00
Zhiming Wang
0fe532c242
boneyard-formula-pr: use ohai to print messages
Make its behavior more consistent with that of bump-formula-pr.
2016-12-06 15:19:51 -05:00
Mike McQuaid
11cf7b97c4 ISSUE_TEMPLATE: tweak based on recent issues. 2016-12-06 14:35:02 +00:00
Markus Reiter
049206bf16 Merge pull request #1464 from reitermarkus/quit-with-launchctl
Use `launchctl` to get running processes by bundle ID.
2016-12-06 15:08:21 +01:00
Mike McQuaid
29aa1c8c3d Merge pull request #1621 from MikeMcQuaid/xcode-version-cleanup
xcode: cleanup Xcode::Version usage.
2016-12-05 17:41:09 +00:00
Mike McQuaid
43f8d2c7a0 xcode: cleanup Xcode::Version usage.
Don't wrap `MacOS.version` which does comparisons properly already and
avoid stupidly long lines.
2016-12-05 11:09:21 +00:00
Raymond Wanyoike
0d67e35fb7 cask reinstall: use fetch and stage steps from #1620 2016-12-05 12:08:55 +03:00
Markus Reiter
697340ff3b Merge pull request #1620 from reitermarkus/refactoring
Refactor Cask installer.
2016-12-05 09:27:32 +01:00
Markus Reiter
5cc7acee17 Merge pull request #1590 from reitermarkus/fail-if-app-source-already-exists
Fail if cask source already exists.
2016-12-05 09:22:00 +01:00
Markus Reiter
86a80c8a3d Use launchctl to get running processes by bundle ID. 2016-12-05 00:20:29 +01:00
Markus Reiter
5785f54f4b Revert install_artifacts if one artifact fails to install. 2016-12-04 23:19:15 +01:00
Markus Reiter
e6d9248787 Separate fetch and stage steps in Hbc::Installer. 2016-12-04 23:19:15 +01:00
Markus Reiter
7d7ca0cb1a Use Homebrew’s Emoji class in cask installer. 2016-12-04 23:19:15 +01:00
Markus Reiter
006f25d8cf Use Homebrew to detect if X11 is installed. 2016-12-04 23:19:15 +01:00
Zach Whaley
1995f65308 Add a method for installing fish function files
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-04 13:21:42 -06:00
Mike McQuaid
88d0e8c2e6 Merge pull request #1612 from MikeMcQuaid/travis-xcode-8.1
travis: use Xcode 8.1 on Sierra.
2016-12-04 15:13:24 +00:00
Mike McQuaid
a6a09d6c5e Merge pull request #1617 from amberj/master
added "CLT" abbreviation after "Command Line Tools" in Installation.md doc
2016-12-04 14:19:49 +00:00
Mike McQuaid
dc81898331 travis: use Xcode 8.1 on Sierra.
For code coverage from `brew test-bot`.
2016-12-04 14:14:11 +00:00
Raymond Wanyoike
55ef924e7a cask reinstall: download and verify cask before uninstall
Closes: caskroom/homebrew-cask#27075
2016-12-04 13:37:26 +03:00
Amber Jain
233f6eb4ef added 'CLT' abbreviation after 'Command Line Tools' (so that if someone follows link to footnote#3, the meaning of 'CLT' in footnote is clear) 2016-12-04 09:57:02 +05:30
Alyssa Ross
5cf97e5603 tab: remove debugging 2016-12-03 23:26:52 +00:00
Alyssa Ross
7544a9afc7 tab: include HOMEBREW_VERSION 2016-12-03 19:46:38 +00:00
Mike McQuaid
52691cd0de Merge pull request #1611 from MikeMcQuaid/bash-test-race
bash_test: handle race condition.
2016-12-03 16:36:37 +00:00
Mike McQuaid
3f6d31dee1 bash_test: handle race condition.
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-03 15:59:05 +00:00
Mike McQuaid
35d2610ee1 Merge pull request #1610 from MikeMcQuaid/fs_leak_logger_mkpath
fs_leak_logger: use more permissive mkpath.
2016-12-03 15:53:15 +00:00
Uladzislau Shablinski
a24a919a40 install_test: add HEAD tests 2016-12-03 18:52:08 +03:00
Mike McQuaid
42128b389b Merge pull request #1608 from MikeMcQuaid/tap-new-latest-travis
tap-new: use latest Travis CI recommended config.
2016-12-03 15:13:57 +00:00
Mike McQuaid
3908e74268 Merge pull request #1609 from MikeMcQuaid/travis-ci-again
travis.yml: enable macOS builds again.
2016-12-03 15:13:44 +00:00
Mike McQuaid
c560c47202 fs_leak_logger: use more permissive mkpath.
This avoids a race condition occurring here.
2016-12-03 15:04:02 +00:00
Mike McQuaid
94580a6cff travis.yml: enable macOS builds again. 2016-12-03 14:45:50 +00:00
Mike McQuaid
0d8fc920d6 tap-new: use latest Travis CI recommended config.
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-03 13:47:52 +00:00
Mike McQuaid
bc9d3afd6e Merge pull request #1606 from rwhogg/uninstall-testing-env
uninstall_test: require testing_env
2016-12-03 10:03:05 +00:00
Bob W. Hogg
f7e5a85c2b uninstall_test: require testing_env 2016-12-02 19:41:38 -08:00
Uladzislau Shablinski
6ef96d0be4 Update tests for new install behaviour 2016-12-03 04:42:04 +03:00
Uladzislau Shablinski
73a1daa669 cmd/install: allow to install any spec
* 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-03 04:42:04 +03:00
Uladzislau Shablinski
52526c962b formula: add new methods
* `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-03 04:42:04 +03:00
Uladzislau Shablinski
7b24d1d2d1 download_strategy: keep commit short if possible 2016-12-03 04:42:04 +03:00
Mike McQuaid
5bbd64141e Merge pull request #1604 from bfontaine/pkill
update.sh: Use full path to pkill
2016-12-02 10:01:09 +00:00
Baptiste Fontaine
bff8e8440e update.sh: Use full path to pkill
Fixes #1600.
2016-12-01 20:59:42 +01:00
Mike McQuaid
8f82e89d0b README: update license name. 2016-12-01 16:11:30 +00:00
Mike McQuaid
0c82ccece2 LICENSE: use more standard BSD 2-Clause text. 2016-12-01 13:05:29 +00:00