Extends the audit checks to GnuPG, a significant chunk of Freedesktop
domains, and Github Pages. I’ve somewhat hardened my stance towards
Github Pages from the last time we extended this, hence the new
inclusion - I did a pretty thorough check through the Homebrew formulae
that use Github Pages for homepage links and found very few places
where enforcing SSL/TLS would cause issues - I think a wider
enforcement is worthwhile.
I’ve also fixed the capitalisation of the taps, if only because at the
moment it disagrees with what ` puts formula.tap ` outputs (We get
Homebrew/homebrew-head-only rather than homebrew/homebrew-head-only for
example).
ClosesHomebrew/homebrew#36719.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Previously if I did `brew install boxen/brews/imagemagick` and then `brew
upgrade boxen/brews/imagemagick` and the version of `imagemagick` in
`boxen/brews` was older than the version in `Homebrew/homebrew` then it would
install the correct version from the `boxen/brews` tap and then try to
immediately upgrade it to the version from `Homebrew/homebrew`. I'd argue
fairly strongly that this behaviour is pretty unintuitive; when you fully
specify a formula from a tap then it should be prioritised by `brew upgrade`
and `brew outdated.
This commit makes `brew upgrade boxen/brews/imagemagick` only upgrade the
version of `imagemagick` if the version in the `boxen/brews` tap is newer.
Similarly `brew outdated imagemagick` and `brew outdated
boxen/brews/imagemagick` will show different results if the newer version
differs between `boxen/brews` and `Homebrew/homebrew`.
ClosesHomebrew/homebrew#36699.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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>