| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
audit: Port audit_urls to rubocop and add corresponding tests Part 2
|
|
version: improve devel spec version parsing
|
|
|
|
audit: Port audit_urls partially to rubocop and add corresponding tests
|
|
Output plain list when running `brew cask search` without a TTY.
|
|
also expand coverage for improved dash version style
|
|
|
|
style: disable NewFormulaAudit cops' execution by default unless specified
|
|
|
|
Allow passing hash to system
|
|
|
|
|
|
|
|
|
|
We've been doing this in `brew test-bot`, for our CI and for
homebrew/core long enough that this is a reasonable default that
provides more protection to our users of non-homebrew/core taps.
|
|
audit: Port audit_options non-strict rules to rubocop and add tests
|
|
This should help with debugging `Gem::LoadError`s (e.g. for
https://github.com/Homebrew/homebrew-test-bot/pull/111).
|
|
|
|
|
|
Fix `brew tests` on High Sierra.
|
|
Don't add these unconditionally or with Bundler to speed things up a
bit. Also, to speed things up further cache these arguments so we don't
have to do the same generation every time.
|
|
|
|
audit: Port audit_conflicts method to rubocop and add tests
|
|
|
|
|
|
When adding `, :focus` as a trailing argument to a `describe` or `it`
this allows you to only run that single test.
|
|
|
|
The `brew test` tests were failing as they were unable to include
`test/unit/assertions`. This is because it's a gem and we were setting
the `GEM_HOME` so system gems were being ignored.
While I was there and examining the `$LOAD_PATH`: reduce the number of
things we add there by using `Bundler.with_clean_env` and only adding
`HOMEBREW_LIBRARY_PATH` in the `$LOAD_PATH` if it isn't already there
(which it always is [and has to be] for integration tests).
This also seems to have the side effect of speeding up integration
tests from 1m26s to 1m8s on my machine.
|
|
- Avoid using a temporary variable where not necessary
- Use fewer, better stubs in the tests to avoid warnings and better
test the implemented functionality.
|
|
|
|
Fix DMG mounting.
|
|
Refactoring using `Forwardable` and `DelegateClass`.
|
|
version: improve url-only version parsing
|
|
|
|
language/node: multiple improvements
|
|
🗑️ Use AppleScript instead of Swift for trashing.
|
|
|
|
to fix issues with shwoing npm debug output even on non-verbose install runs.
|
|
instead of writing a .npmrc file, which simplifies the code.
npm_cache_config is still preserved for backwarts compatiblility and
usage int he kibana@n formulas in core.
|
|
This tells npm pack to don't run prepublish scripts at all.
I think this is the best default because:
* most modules don't have a prepublish script at all and aren't affected
by this change
* most prepublish scripts are calling devDeps, which would fail in our
case, because (dev)Deps aren't installed at npm pack time until #2820
gets resolved
* we favor npm registry tarball for formula downloads, which are already
prepublished, so we would in the best case needlessly run prepublish
a second time and in the worst case it would fail (because a clean
step is required before running prepublish a second time in a row)
* This change does the right thing for >99% of all the packages and
would only affect packages with prepublish scripts downloaded from a
non-npm registry tarball (like github tarballs) and with a prepublish
script wich does no't require any devDep (unlike for cross platform)
|
|
This makes npm pack to log verbose debug output to the console to
simplify debugging npm pack failures.
Refs: https://github.com/Homebrew/brew/pull/2820#discussion_r123890729
Prevously Utils.popen_read swallowed all debug output.
|
|
By telling node-pre-gyp and prebuild to don't pull prebuild binaries and
instead build them from source. This still may not work for some custom
third party scripts for pulling prebuild binaries.
|
|
to match the loglevel used in npm_debug.log (previous --verbose loglevel
would match -dd)
|
|
except at the very beginning, as the audit originally intended.
See https://github.com/Homebrew/legacy-homebrew/pull/45493.
|
|
|
|
[WIP] Added tests for language/java
|
|
audit: Port audit_legacy_patches method to rubocop and add tests
|