Also add support to `brew uses` to ignore build or optional dependencies.
ClosesHomebrew/homebrew#36154.
ClosesHomebrew/homebrew#36656.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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.
ClosesHomebrew/homebrew#36030.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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
```
ClosesHomebrew/homebrew#36197.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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.
ClosesHomebrew/homebrew#36187.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
I don’t know how maintainers are going to feel about this, to be
honest. If it’s too clunky, perhaps we could externalise the entire two
main blocks here and then require that file into the audit instead?
Basically, I’m pushing changes here to better detect a wide-array of
SSL/TLS available links that either have no auto-redirect in place or
is a common linking error in formulae. I haven’t spotted any false
positives yet, but obviously, feel free to try and break the changes
and I’ll fix as necessary ;).
IMO, this would allow us gradual updates without having to mass-update
everything at once and stress the bot and inform users they have
hundreds of updates pending when really it’s just style/basic changes.
ClosesHomebrew/homebrew#35551.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Just equalises a little how we treat HEAD and devel. The former already
fails if there isn’t a head defined, It seemed logical that devel
should fail in the same way.
ClosesHomebrew/homebrew#35554.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>