Markus Reiter
7e70ebd4f1
Merge pull request #1207 from reitermarkus/cask-already-installed-warning
...
Change `A Cask for #{token} is already installed.` message.
2016-10-06 12:56:39 +02:00
Markus Reiter
6f070641b9
Merge pull request #1196 from reitermarkus/dmg-metadata
...
Add `.com.apple.timemachine.supported` to DMG_METADATA_FILES.
2016-10-06 11:57:46 +02:00
Jonathan Chang
5b360c57e3
audit: forbid deprecated_option
in new formulae
2016-10-05 15:59:16 -07:00
Tim D. Smith
47d57ca995
Immortalize virtualenvs better
...
virtualenvs remember the prefix of the python that created them and do
magic to load packages from them; help them remember a more durable
path.
2016-10-04 22:57:08 -07:00
Dominyk Tiller
fcc9cfa6ae
apr_requirement: favour system as much as possible
2016-10-05 01:45:24 +01:00
Dominyk Tiller
b6ecaa26f5
apr_requirement: fix always marked as missing req on Sierra
2016-10-04 23:24:32 +01:00
Dominyk Tiller
0756a3d7d8
apr_requirement: require Homebrew's Apr on Sierra
...
Sierra ships the headers/libraries still but for some reason decided to bin
the config scripts, which whilst seemingly not an issue for `mesos`
or `ganglia` it has broken `subversion`, `log4cxx`, `ctail`, `shibboleth`
and `passenger` that we know of so far. Let's assume more often than not
things are going to break without those config scripts around.
2016-10-04 23:16:31 +01:00
Markus Reiter
a7a2aef803
Merge pull request #1224 from reitermarkus/refactor-extensions
...
Refactor Cask’s extensions.
2016-10-04 22:44:19 +02:00
Markus Reiter
ddf5583208
Refactor Cask’s extensions.
2016-10-04 15:43:58 +02:00
Markus Reiter
23dec587fd
Make core_tap_version_string
reusable.
2016-10-04 14:45:11 +02:00
Markus Reiter
cafe149780
Merge pull request #1145 from reitermarkus/module-function
...
Use `module_function` for `Homebrew` module.
2016-10-04 10:31:49 +02:00
Mike McQuaid
881fdcd25e
Merge pull request #1190 from vladshablinsky/no-autoupdate-on-help
...
brew.sh: don't autoupdate if --help passed
2016-10-03 18:38:46 +01:00
Mike McQuaid
ea5aff8d7c
Merge pull request #1193 from MatzFan/fix_verbose_tests
...
fix tests failing when verbose set
2016-10-03 16:50:24 +01:00
Bruce Steedman
c9733ba33e
revert changes
2016-10-03 14:28:25 +01:00
Mike McQuaid
5b14a61dd2
Merge pull request #1218 from neutric/patch-1
...
Formula-Cookbook: fix /usr/local/Homebrew references.
2016-10-03 13:23:29 +01:00
neutric
d1203be882
Update Formula-Cookbook.md
2016-10-03 13:21:14 +02:00
Markus Reiter
108d0761ee
Fix exit code for multilingual cask audit.
2016-10-03 10:23:30 +02:00
Mike McQuaid
1e1903e4cc
Merge pull request #636 from ilovezfs/spooky_python
...
virtualenv_install_with_resources: select correct python
2016-10-03 08:10:12 +01:00
Markus Reiter
35ee283108
Merge pull request #906 from reitermarkus/os-language
...
Make `MacOS.language` less opinionated and add `language` stanza.
1.0.6
2016-10-03 04:03:26 +02:00
ilovezfs
23a38e0ff6
virtualenv_install_with_resources: select correct python
...
`virtualenv_install_with_resources` will now attempt to guess the
desired Python based on the active build options and based on the
dependencies and requirements. When the situation is ambiguous (e.g.,
`depends_on :python3` and `build.with? "python"` is true) raise
`FormulaAmbiguousPythonError` unless `:using => "python"` or
`:using => "python3"` has been passed to resolve the ambiguity.
In most cases, this will allow
```
virtualenv_create(libexec, "python3")
virtualenv_install_with_resources
```
to be changed to just
```
virtualenv_install_with_resources
```
2016-10-02 18:08:56 -07:00
Markus Reiter
e2b3753fd9
Style changes in language_eval
.
2016-10-03 02:57:29 +02:00
Markus Reiter
ef26bf1882
Refactor audit for changed DSL.
2016-10-03 02:34:53 +02:00
Markus Reiter
b104e6ff37
Raise error if more than one default language if specified.
2016-10-03 02:34:53 +02:00
Markus Reiter
013f33be44
Change language DSL to only allow strings.
2016-10-03 02:34:53 +02:00
Markus Reiter
b5531e8ec1
Add Locale class to enable easier matching of locales.
2016-10-03 02:34:53 +02:00
Markus Reiter
bc143bb470
Support audit
for multilingual casks.
2016-10-03 02:34:53 +02:00
Markus Reiter
bc2d676b6f
Refactor logic to always choose first matched language.
2016-10-03 02:34:53 +02:00
Markus Reiter
546a91f78e
Add —language
option.
2016-10-03 02:34:53 +02:00
Markus Reiter
b703c81ca6
Stub MacOS.languages
instead of setting HOMEBREW_LANGUAGES.
2016-10-03 02:34:53 +02:00
Markus Reiter
1e86c7d3ec
Always fall back to language :default
.
2016-10-03 02:34:53 +02:00
Markus Reiter
87299af225
Add test for language
stanza.
2016-10-03 02:34:53 +02:00
Markus Reiter
65fdfefc99
Add language_eval
method.
2016-10-03 02:34:52 +02:00
Markus Reiter
f52116cd26
Add language
stanza to cask DSL.
2016-10-03 02:34:52 +02:00
Markus Reiter
929c594f41
Add test for MacOS.languages
.
2016-10-03 02:34:52 +02:00
Markus Reiter
1a25f1ec6d
Make MacOS.language
less opinionated.
2016-10-03 02:34:52 +02:00
Mike McQuaid
7d31a70373
Merge pull request #1214 from MikeMcQuaid/official-external-commands-manpage
...
Add official external commands to manpage.
2016-10-02 20:14:32 +01:00
Markus Reiter
0f7d1b137f
Change re-install command to use &&
.
2016-10-02 19:53:43 +02:00
Markus Reiter
e4da2dfb9f
Make test for “cask already installed” less strict.
2016-10-02 19:53:43 +02:00
Markus Reiter
4f1ef16cbf
Fix indentation of CaskCommandFailedError.
2016-10-02 19:53:43 +02:00
Markus Reiter
082bd5e98a
Change A Cask for #{token} is already installed.
message.
2016-10-02 19:53:43 +02:00
Mike McQuaid
564fa8867d
Merge pull request #1213 from MikeMcQuaid/diagnostic-messages
...
*/diagnostic: tweak messaging.
2016-10-02 18:37:46 +01:00
Mike McQuaid
f7d1f4eca6
Merge pull request #1211 from vladshablinsky/list-version-code
...
list: fix exit code for --verbose and --pinned
2016-10-02 18:33:01 +01:00
Mike McQuaid
8eac5314f6
Add official external commands to manpage.
...
These are the ones that are auto-installed without tapping and it makes
sense to make them more prominent in our documentation as we've
offloaded various functionality over the years to each of them.
2016-10-02 18:21:04 +01:00
Mike McQuaid
8a57fee68c
*/diagnostic: tweak messaging.
...
Update some messaging based on recent user confusion and the
`/usr/local/Homebrew` and Ruby 2 migrations.
2016-10-02 17:30:08 +01:00
Mike McQuaid
4f916cdfee
Merge pull request #1212 from MikeMcQuaid/update-test-fix
...
update-test: fix tag updating, skip core tap.
2016-10-02 17:27:04 +01:00
Mike McQuaid
c6f5d24238
update-test: fix tag updating, skip core tap.
...
Fix updating the `stable` branch used for tagged updates and ensure
that the core tap isn’t retapped (the slowest part by far of this test).
2016-10-02 17:16:35 +01:00
Uladzislau Shablinski
db478fb7b2
list: fix exit code for --verbose and --pinned
...
`brew list --verbose <formulae>` lists only those kegs that
are installed and exits with 0 if all <formulae> installed.
If one or more formulae from <formulae> are not installed, the
command lists only installed versions and exits with 1.
`brew --pinned formula` exits with 1 if formula is not pinned.
Fixes #1172
2016-10-02 12:35:30 +03:00
Mike McQuaid
f90f52d902
Merge pull request #1205 from MikeMcQuaid/help-external-commands
...
help: support `#:` help in external commands.
2016-10-02 08:59:32 +01:00
Mike McQuaid
a364c981e4
Merge pull request #1206 from MikeMcQuaid/install-no-updated-warning
...
install: remove not updated warning.
2016-10-02 08:59:24 +01:00
ilovezfs
4b5aac07f0
Merge pull request #1210 from reitermarkus/fix-tty-gray
...
Fix `Tty.gray`.
2016-10-02 00:10:27 -07:00