| Age | Commit message (Collapse) | Author |
|
style: Don't run FormulaAuditStrict cops when `brew style foo` cmd is executed
|
|
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.
|
|
Formula#keg_only should be a boolean
|
|
Define a custom assertion failure error for cross-version compat
|
|
|
|
|
|
Additionally handle the case where a formula has been installed as
devel/HEAD rather than just e.g. `brew audit --devel`.
|
|
|
|
|
|
|
|
cpu: fix SSE3 detection on Linux
|
|
As discussed in bbatsov/rubocop#3344, there are situations where
this is the shortest and most idiomatic way to convert a value
to a boolean - particularly for checking values which can be
nil or truthy.
|
|
|
|
|
|
|
|
is executed
|
|
Avoiding printing the weird message e.g:
```
It was migrated from homebrew/science to homebrew/core.
You can access it again by running:
brew tap homebrew/core
```
|
|
software_spec: rescue TapFormulaUnavailableError in recursive_dependencies
|
|
audit: Don't run audit methods when `--only-cops` option is passed
|
|
|
|
Fix DMG mounting.
|
|
Fix `bump-formula-pr` when working with a shallow git clone
|
|
Refactoring using `Forwardable` and `DelegateClass`.
|
|
version: improve url-only version parsing
|
|
|
|
|
|
|
|
add support for styles prefixed with a r,v,V and an optional _ ,
and styles with four groups of digits, seperated by periods;
combinations of the two are also supported
|
|
language/node: multiple improvements
|
|
High Sierra: update expected CLT/libcurl pkgconfig file.
|
|
🗑️ Use AppleScript instead of Swift for trashing.
|
|
audit: ask for full_index patches
|
|
Fixes #2840.
|
|
|
|
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.
|
|
This fixes some edge cases where verbose output from a prepublish script
could break our npm pack package name detection code by only using the
last line of the output printed by npm itself containing the desired
package name.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
Never try to unhshallow full clones.
|
|
Creating a fork and pushing to it doesn't work when the repository in
question is a shallow clone. By default, Homebrew clones all taps in
shallow mode unless `--full` was passed or $HOMEBREW_DEVELOPER was set.
|