| Age | Commit message (Collapse) | Author |
|
Discussed in
https://github.com/Homebrew/brew/pull/1987/files#r100693581.
This was originally ommitted because it wasn't compatible with Ruby 1.8.
(See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
|
|
Custom Cops for `brew audit`
|
|
audit: enforce https://*.sourceforge.io/ homepages
|
|
Ref: https://sourceforge.net/blog/introducing-https-for-project-websites/
|
|
|
|
|
|
|
|
|
|
|
|
Try first with an (exact, actual) browser user agent from Safari and
then try again with the default Homebrew `curl` user agent.
|
|
This can be reverted when wine's dependencies are all vendored.
|
|
|
|
Rather than all versioned formulae regardless. Oops.
|
|
This is used to indicate a formula is a version of another formula.
This will be used to provide a consistent interface for older formulae
versions and replaces the use of `conflicts_with`.
|
|
audit: don't allow universal for new formulae.
|
|
We're frowning on these now so may as well turn that into code.
|
|
also allow higher stable versions with the same version prefix
|
|
Now that ruby-macho is available, cctools should be invoked as little
as possible.
|
|
`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.
|