| Age | Commit message (Collapse) | Author |
|
audit: audit_components method to rubocops and tests
|
|
Another attempt at fixing `brew audit` issues around detecting
`revision` and `version_scheme` changes correctly. First done in #1754
and #2086 (reverted in #2099 and #2100).
To ease future debugging a `ph` helper has been added to print a hash
and a series of RSpec tests to verify that the `revision`,
`version_scheme` and `version` formula version audits behave as
expected.
Fixes #1731.
|
|
Hide sensitive tokens from install/test/post.
|
|
More deprecations.
|
|
|
|
audit: flip GNU mirror preference.
|
|
Hide these tokens to avoid malicious subprocesses e.g. sending them
over the network. Also, support using these tokens with environment
filtering and clear `HOMEBREW_PATH` from subprocesses to stop them
sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s
PATH for e.g. `brew doctor` etc.
|
|
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
|
|
audit: lookup unversioned formulae with Formulary.
|
|
Now that both the primary and mirror URLs use HTTPS we can flip these
around so the primary URL is the primary URL and we don't have problems
with waiting for mirror propagation.
|
|
This means that if e.g. the unversioned formulae exists in another tap
this audit won't produce a false positive.
|
|
- Tweak the way offline skipping happens
- Skip more tests that break when offline
- Hide more stdout output from tests.
|
|
audit: ensure default dependencies don't use options.
|
|
Option dependencies are nasty as they cause unnecessary builds from
source.
|
|
We may under some circumstances accept these anyway but it's better to
nudge people into the right behaviours on local `audit`s.
|
|
Port OsxfuseRequirement to Linux
|
|
|
|
audit: allow skipping audit methods.
|
|
GitHub provides a description and homepage field so let `brew create`
use them where possible. Also, detect GitHub repositories based on
`releases` as well as `archive`s.
|
|
Add `--only` and `--except` methods which can be used to selectively
enable or disable audit groups.
|
|
audit: check for more universal usage.
|
|
audit: deprecate language module requirements.
|
|
|
|
As requested in #11462 by @neutric as this produces confusing,
incorrect output.
|
|
Make `brew audit` complain about language module requirements because
they provide a crappy user experience compared to vendoring and we’re
not really fixing bugs in them any more.
|
|
Also check for `ENV.universal_binary` and `build.universal?`. The prior
is still required for `wine` and the latter should never be required any
longer.
|
|
Port audit_desc audit rules to a cop
|
|
Was missing a formula object being passed.
|
|
|
|
|
|
update-test: Use git fetch --tags --depth=1
|
|
audit: check for unversioned formulae.
|
|
Update all references to taps.
|
|
Additionally, ignore the cctools formula itself, since it obviously
needs to check cctools invocations.
|
|
audit: Check for invocations of cctools.
|
|
Use git fetch --tags --depth=1 to fetch fewer commits.
|
|
Fail if the start or end commit are missing and retry finding the
previous tag by fetching all tags if they are missing.
This should fix CI on the current Homebrew/brew `master` branch.
Closes #2404.
|
|
|
|
If we're adding a versioned formulae we want to ensure that there's also
an unversioned one too.
|
|
updating the exception for "kibana" for the "@" naming scheme. File changed: audit.rb
|
|
- Remove taps that are (or will shortly be) deprecated.
- Remove commands that are only relevant to the boneyard (which will
shortly be removed).
|
|
|
|
|
|
|
|
This is useful when you're pulling PRs where individual bottles can't be
uploaded/built but you still want to pull the PR as a whole anyway.
|
|
man: generate Markdown man page.
|
|
The existing `brew.1.html` wasn't particularly pleasant to read and
given everything else in `docs/` is a Markdown file it makes sense to
generate a post-processed Markdown file that can in turn be used by
Jekyll to generate a nicely themed HTML file.
|
|
Ensure the full HOMEBREW_TAP_DIR path is created before deleting and
creating the symlink for it. This ensures that non-`homebrew` taps will
have the necessary username/organisation folder created.
Fixes #2378.
|
|
tests: unset HOMEBREW_TEMP
|
|
Hint at new location of migrated formulae
|