| Age | Commit message (Collapse) | Author |
|
`virtualenv_install_with_resources` will automatically define and
install a `setuptools` resource so this is unnecessary.
References https://github.com/Homebrew/homebrew-core/pull/8570
|
|
This allows us to detect if homepages such as e.g. `aiccu` which
blocks `curl` are up or not.
|
|
This should apply only for new formulae but we should start gradually
phasing it out for older ones too.
|
|
This will use Curl’s default user agent to reduce homepage errors and
provides a function that can be used for other audits to perform
similar tests on URLs.
|
|
- Don't run on Yosemite where the system Curl is too old for some modern
HTTPS homepages
- Try up to 3 times in case of transient failures.
|
|
Formulae should not depend on both OpenSSL and LibreSSL (even
optionally). This is to avoid descending into madness where every
formulae that could use LibreSSL has to have option and switching logic.
Homebrew has standardised on OpenSSL and will do so everywhere that
LibreSSL is not a hard requirement.
|
|
Updated homepage 404 check to use explicit parameters and return the …
|
|
|
|
audit: handle a nil revision map.
|
|
Deprecate 32-bit options.
|
|
These were formerly supported but as it has been a very long time since
32-bit software was necessary on macOS these have been deprecated with
a `brew audit` warning and a future `odeprecated`.
|
|
|
|
|
|
Forbid their use in Homebrew/core which only supports macOS. This may
be added to more/all official taps in future.
|
|
|
|
Also, add TODOs for deprecating this properly at a later point.
|
|
As these may be migrations from another tap where we want to migrate
options across correctly.
|
|
|
|
audit: don't check devel version_scheme/revision.
|
|
This is also not allowed.
As seen in https://github.com/Homebrew/homebrew-core/pull/6996.
|
|
These are formulae-wide so doesn't make sense to iterate through these
for specs and get weird results.
As seem in https://github.com/Homebrew/homebrew-core/pull/6952.
|
|
|
|
audit: only check previous formula version.
|
|
For calculating the stable/devel versions this should be sufficient as
it's looking at `origin/master` so for a e.g. unmerged pull request this
will stop complaining about mistakes outside the pull request itself.
This will silence all warnings for historic version mistakes (i.e.
before these audit checks were all enabled) which is normally a bad
thing but as this case would rely on modifying history to complete is a
good one.
|
|
Fixes the exception if `revision_map[formula.stable.version]` is `nil`.
|
|
- output the max version and current version to make the message more
obvious.
- Don't compare the development spec version to the formula version and
then complain the formula version is lower (it should always be!)
|
|
Fix the "version should not decrease" check so it correctly handles
`version_scheme`s.
Fixes #1489.
|
|
This avoids issues with names containing special characters like e.g. [
Fixes #1431
|
|
...and update man pages where applicable
|
|
audit: check more unscoped test calls.
|
|
This audit check ensures that certain build dependencies
are explicitly marked either as `:build` or `:run`.
It seems to have been lost in #927.
It was also adjusted in #1290.
|
|
Ensure that the name is suffixed with whitespace or quotes.
|
|
Also check `def test`, `shell_output`, `pipe_output` and method calls
using parentheses.
|
|
|
|
This will prevent brew upgrade from working correctly.
|
|
audit: check test system calls are fully scoped.
|
|
audit: check for master branch tar/zipballs.
|
|
|
|
This doesn't matter for everything but it does for the binaries that
are installed. Have a limited name/alias check when not installed and
a better one that iterates bin/sbin if installed.
|
|
These have unstable checksums and aren't the tagged, stable releases
we require.
|
|
audit: check the version does not decrease.
|
|
audit: check for alpha/beta/rc usage in URLs.
|
|
|
|
Stable URLs should not use unstable versions.
|
|
This will prevent `brew upgrade` from working correctly.
|
|
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed.
|
|
This is handled by `brew style` now.
|
|
|
|
It looks like a rebase/merge conflict remmenet.
|
|
It's not used on enough configurations now that there's little point in
keeping it around. See e.g. `:autoconf` for prior art.
|