| Age | Commit message (Collapse) | Author |
|
This matches what Safari does on macOS 10.12 and is generally what
tools like Google Analytics expect the format to be.
|
|
When auditing new formulae without `--new-formula` the
`audit_revision_and_version_scheme` method fails ungracefully. Instead,
set some better defaults so fewer checks are needed.
Fixes #2551.
|
|
This module doesn't actually have any behaviour that's problematic at
runtime on Linux so we may as well use it to properly sort macOS
versions there.
|
|
|
|
If you `brew install` a formula that's already installed you get:
Warning: ripgrep-0.5.1 already installed
If you `brew install` an outdated formula that's installed you get:
Error: ripgrep-0.5.1 already installed. To install this version, first
`brew unlink ripgrep`
Instead, suggest that the user should `brew upgrade` in this case. If
the formula isn't outdated use the previous message.
|
|
This was removed in #2540 but this call site was note updated to use
the `search_taps` method instead.
|
|
|
|
|
|
|
|
|
|
xcode: update Sierra CLT version to 802.0.42
|
|
On Linux this defaults to Linuxbrew but in some cases (i.e. a Linux
machine performing uploads for Homebrew) we want to allow this to be
overridden back to the defaults.
Relies on a change incoming to `brew test-bot` to set this there.
|
|
|
|
Use GitHub's code search API to search using the filename based on the
search query. This means we only need a single HTTP call and no more
multithreading madness. This also means we're able to search everything
in the Homebrew and Caskroom organisation by default without having to
maintain a list of things to search (and not) in here.
|
|
I wasn’t aware this existed when I created puts_hash so: may as well
remove it.
|
|
audit: audit_components method to rubocops and tests
|
|
utils: make which_editor handle editor args.
|
|
add date-based versioning
|
|
Handle cases like e.g. `EDITOR="subl -w"`.
|
|
|
|
|
|
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.
|
|
Fix those that can be done so without tearing Homebrew to pieces and
remove the comments for those that can never be done.
|
|
|
|
Hide sensitive tokens from install/test/post.
|
|
Install uninstall messages
|
|
It's used by ENV.fortran.
Fixes https://github.com/Homebrew/brew/issues/2530
Fixes https://github.com/Homebrew/homebrew-science/issues/5485
|
|
Fixes https://github.com/caskroom/homebrew-cask/issues/32840.
Fixes https://github.com/Homebrew/brew/issues/2529.
|
|
Refactor cask metadata directory methods.
|
|
tap: warn on tapping deprecated, official taps.
|
|
utils: fix which_editor.
|
|
readall: check for shadowed aliases.
|
|
More deprecations.
|
|
Handle when there's no editor variable specified or it's specified but
empty.
|
|
|
|
travis.yml: cache Bundler output.
|
|
If an alias has the same name as a formula then weirdness will result
so ensure this causes `readall` to fail.
|
|
audit: flip GNU mirror preference.
|
|
They don't contain any formulae so tapping them will add pointless
clutter.
|
|
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.
|
|
Travis needs some coaxing to find where we put it. This should improve
build reliability due to network issues.
|
|
audit: lookup unversioned formulae with Formulary.
|
|
tests: reduce some noise.
|
|
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.
|
|
formula_installer: remove feature flags.
|
|
Fix `brew edit` with environment filtering.
|
|
Validate `container :type`.
|