5820 Commits

Author SHA1 Message Date
Christian Moritz
79bde9c13b GitDownloadStrategy: support submodule changes
This commits adds support for updating a formula with changed git
submodules with GitDownloadStrategy when the cloned repository is still
in the cache. This is done by running git submodule sync --recursive
before updating the submodules, so that git can reload the submodule
config from the updated .gitmodules file.

Fixes Homebrew/homebrew#36395.
Closes Homebrew/homebrew#36466.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-02-03 20:00:34 -05:00
Mike McQuaid
f2a9b9cbd2 test-bot: optional requirements are satisfied. 2015-02-03 16:46:36 +00:00
Jack Nagel
291e900abc AprRequirement should not generate a build-time dependency
We want the apr requirement to act as a build-time requirement in case
it is satisfied (that is, the CLT is installed), as the resulting
binaries will link to the system libapr which is always present.

When it is *not* satisfied by the CLT, and we need to install the
formula, we have to treat it as a runtime dependency since the resulting
binaries will link to it.

Fixes Homebrew/homebrew#36301.
Fixes Homebrew/homebrew#36438.
Closes Homebrew/homebrew#36443.
2015-02-02 00:39:04 -05:00
Jack Nagel
208bc0516b AprRequirement should not short-circuit if apr is installed
If apr is installed, we still want to grab it during dependency
resolution in case we need to pass options to the generated dependency.

In other words, it doesn't make sense for the satisfiable condition to
include the default formula, as the default formula is the fallback for
when the requirement is *not* satisfied.
2015-02-02 00:39:04 -05:00
Jack Nagel
d362f5a2fb Remove message that is never displayed
Requirements with default formulae cannot fail the build.
2015-02-02 00:39:04 -05:00
Jack Nagel
12e4602a3b AprRequirement's default formula should be apr-util
This matches the recommendation in the message.
2015-02-02 00:39:04 -05:00
chdiza
5e854164a7 untap: Handle multiple arguments
Closes Homebrew/homebrew#36436.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 20:12:13 +01:00
Dominyk Tiller
8a707ebb2b ngircd: system openssl fix
Fix for linking into the system OpenSSL, strict audit fixes, and the
plist.

Closes Homebrew/homebrew#36386.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 17:31:05 +01:00
Baptiste Fontaine
40447c239d JavaDependency: ignore trailing + in the version 2015-02-01 09:31:01 +01:00
Jack Nagel
e298f09ab6 Move mysqlreport to the boneyard
The project was deprecated in favor of percona-toolkit:
http://blog.codenode.com/2015/01/hack-mysql-has-been-retired.html

Closes Homebrew/homebrew#36342.
2015-01-31 23:58:04 -05:00
Jack Nagel
649579072c Move cdf to the boneyard
Closes Homebrew/homebrew#36009.
2015-01-31 23:54:37 -05:00
Dominyk Tiller
5fcf40fffd sitecopy: boneyarding
Sitecopy currently compiles against the insecure system OpenSSL, and
won’t compile against our OpenSSL because it wants SSLv2 at runtime
(Ouch) and it won’t compile against GnuTLS because GnuTLS have
considerably changed the structure of their build since the last update
of sitecopy (2008).

Closes Homebrew/homebrew#36389.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-31 18:27:57 -05:00
Baptiste Fontaine
a9c4091de7 Fix more version misdetections for URLs with archs
Closes Homebrew/homebrew#36368.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-30 08:55:49 +00:00
Baptiste Fontaine
06f6fd5b83 zenity moved into homebrew/x11
Closes Homebrew/homebrew#35626.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-29 14:35:47 +00:00
Baptiste Fontaine
a9e8dfb996 Fix version misdetections for URLs with OS/archs
Closes Homebrew/homebrew#36308.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-28 14:19:21 +00:00
Dominyk Tiller
5ac0446fd7 test-bot: support --devel and/or --HEAD install
See discussion in https://github.com/Homebrew/homebrew-devel-only/pull/8

In essence, the test bot currently does this:

```
==> brew install --verbose --build-bottle j2objc			 FAILED
Error: j2objc is a devel-only formula
Install with `brew install --devel j2objc`
```

I’m proposing that we pass that arg to the test-bot automatically to
allow the bot to pass head-only and devel-only formulae without that
failure message. I’ve also trimmed the arguments further down to
prevent it duplicating the —devel install in formulae which define no
stable block.

Closes Homebrew/homebrew#36030.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27 12:40:36 +00:00
Mike McQuaid
c2e0fb0c08 config: be quieter with java_home.
References Homebrew/homebrew#36249.
2015-01-27 12:25:27 +00:00
Dominyk Tiller
40ddea637a audit: stop red-flagging devel-only
Currently the bot is failing certain devel-only formulae because it
thinks having ` devel ` defined with an added ` head ` defined
as well = a head-only formula.

```
==> audit problems
docker-machine:
 * Head-only (no stable download)
```

This is a pretty simple fix for that problem:

```
==> brew style docker-machine
1 file inspected, no offenses detected
```

Closes Homebrew/homebrew#36197.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-26 14:39:12 +00:00
Xu Cheng
8fc3c4c8e9 brew-config: check whether java exists in PATH
For OS X, we will call `/usr/libexec/java_home` to exam whehter
java is installed.

Also rename the method to follow the same naming pattern of other
similar methods.

Closes Homebrew/homebrew#36187.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-25 10:05:56 +00:00
Mike McQuaid
105fcb5399 pull: allow temporarily editing an empty commit. 2015-01-23 17:35:20 +01:00
Jack Nagel
bf6887bc59 Deprecate GithubGistFormula
Closes Homebrew/homebrew#36094.
2015-01-22 20:34:51 -05:00
Jack Nagel
f0fc15ade8 Remove unnecessary early return
Iterating over an empty list is a no-op so we can remove this early
return.
2015-01-22 17:36:31 -05:00
Jack Nagel
2804e0ed3b Hide "Patching" message when there aren't any patches 2015-01-22 17:04:38 -05:00
Jack Nagel
7978209469 Use formula patches accessor 2015-01-22 17:03:54 -05:00
Jack Nagel
165b47c0e6 Audit check for gnome unstable as stable 2015-01-22 16:58:54 -05:00
Baptiste Fontaine
aec2f01a55 config: add Java to output.
Closes Homebrew/homebrew#35596.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-22 17:16:36 +01:00
Xu Cheng
011b47aeff Add depends_on :gpg 2015-01-22 17:15:28 +01:00
Jack Nagel
af1e9a9610 Expose bottle details on the formula object
Fixes Homebrew/homebrew#36032.
2015-01-20 22:27:23 -05:00
Baptiste Fontaine
8b793c6ab3 pipe_output optional result assertion added
Closes Homebrew/homebrew#36024.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-19 18:35:33 +01:00
Mike McQuaid
3a3f56e9a3 language/haskell: optionally add args to install. 2015-01-17 19:29:36 +01:00
Mike McQuaid
6a6b56127c test-bot: handle devel-only formulae. 2015-01-17 19:12:10 +01:00
Xu Cheng
6d786e7dbb brew-config: show realpath for pyenv and rbenv
Closes Homebrew/homebrew#35819.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-17 18:48:34 +01:00
Jack Nagel
c6dee041eb install: fix --HEAD for formulae with head and devel but no stable 2015-01-16 00:00:21 -05:00
Dominyk Tiller
3f318b8ed4 install: handle devel-only correctly
See the discussion in
https://github.com/Homebrew/homebrew-devel-only/pull/6

Closes Homebrew/homebrew#35793.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-15 23:50:45 -05:00
Mike McQuaid
fd8bb8776c doctor: accepting the Xcode license requires sudo. 2015-01-15 15:46:35 +00:00
Mike McQuaid
dac4848661 pull: merge and rebase when pulling bottles.
This seems to be a more robust approach when a PR has multiple commits.
2015-01-15 11:15:13 +00:00
Dominyk Tiller
001c238606 bcwipe: boneyard
bcwipe seems to have gone commercial. 1.9-9 is still “free” as in
price, but contains an [incredibly restrictive
license](https://www.jetico.com/linux/bcwipe-help/wu_licen.htm) that
I’m not particularly sure we want to ship given our rejection of
similar situations recently. 1.9-10 onwards, including the latest
1.9-11 release are all “trial” releases which “expire” after 21 days of
use and cost some $35 to continue using.

Closes Homebrew/homebrew#35850.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-14 15:00:42 +00:00
Jochen Schalanda
8269c25a6a graylog2-server: move to boneyard.
The formula is for an ancient version of Graylog2 and doesn't work because
the tarball doesn't exist any more.

Closes Homebrew/homebrew#35868.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-14 14:26:04 +00:00
Xu Cheng
b109e4f1f1 metafile: extend ext list
Closes Homebrew/homebrew#35820.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-13 16:35:24 -05:00
Jack Nagel
7f7742c2b6 Add message to the exception raised when tests return false 2015-01-13 12:35:50 -05:00
Jack Nagel
4bdfb27d9f Move assertion setup into formula_assertions.rb 2015-01-13 12:33:50 -05:00
Jack Nagel
b61528e757 Save and restore ENV around test invocations
This prevents mutations that happen in individual tests from leaking
into other tests.
2015-01-13 12:19:56 -05:00
Dominyk Tiller
1b74a4f5c2 pulse: boneyarding
Incredibly frustratingly, given it seemed like a promising project
taking some steps that its forked predecessor has struggled to thus
far, particularly around encryption, and it’s already mature codebase,
upstream have nonetheless decided to stop supporting Pulse as an
individual project, thus, boneyard it goes. Sigh.

Closes Homebrew/homebrew#35800.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-13 11:37:24 +00:00
Jack Nagel
909a5af075 Omit post-install warning unless formula defines it
Closes Homebrew/homebrew#34744.
2015-01-12 21:57:47 -05:00
Jack Nagel
d298e54e50 doctor: check access on HOMEBREW_PREFIX/opt 2015-01-12 21:29:22 -05:00
Jack Nagel
d0a1800e37 doctor: check access on all important HOMEBREW_PREFIX subdirs 2015-01-12 21:26:18 -05:00
Jack Nagel
b1514c1c40 doctor: check cellar access 2015-01-12 21:26:18 -05:00
Jack Nagel
aa4ff175ff doctor: fix grammar 2015-01-12 21:26:18 -05:00
Jack Nagel
9ff211f212 doctor: remove incorrect statement from HOMEBREW_LOGS check 2015-01-12 21:26:18 -05:00
Jack Nagel
7a49c143e4 Use attr_accessor for checksum 2015-01-12 00:37:24 -05:00