aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2017-07-07Merge pull request #2853 from GauthamGoli/disable-strict-cops-brew-styleMike McQuaid
style: Don't run FormulaAuditStrict cops when `brew style foo` cmd is executed
2017-07-07Fix `brew tests` on High Sierra.Mike McQuaid
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.
2017-07-07language/node: general cleanup.Mike McQuaid
- Avoid using a temporary variable where not necessary - Use fewer, better stubs in the tests to avoid warnings and better test the implemented functionality.
2017-07-07Merge pull request #2863 from mistydemeo/formula_keg_only_booleanMike McQuaid
Formula#keg_only should be a boolean
2017-07-07Merge pull request #2841 from mistydemeo/formula_assertions_constantMike McQuaid
Define a custom assertion failure error for cross-version compat
2017-07-07test: use Test::Unit class.Mike McQuaid
2017-07-07formula_assertions: make removable on Ruby 2.0.Mike McQuaid
2017-07-07audit: don't suggest non-stable versioned alias.Mike McQuaid
Additionally handle the case where a formula has been installed as devel/HEAD rather than just e.g. `brew audit --devel`.
2017-07-07formula: tweak keg_only? formatting.Mike McQuaid
2017-07-07rubocop.yml: remove doublenegation disable.Mike McQuaid
2017-07-06Also remove directories with `brew cask cleanup`.Markus Reiter
2017-07-06Merge pull request #2859 from jonchang/fix-sse3-linuxMike McQuaid
cpu: fix SSE3 detection on Linux
2017-07-05Disable Style/DoubleNegation copMisty De Meo
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.
2017-07-05Formula#keg_only should be a booleanMisty De Meo
2017-07-05cpu: fix SSE3 detection on LinuxJonathan Chang
2017-07-05Bump `rubocop-cask` version.Markus Reiter
2017-07-03style: Don't run FormulaAuditStrict cops when `brew style some_formula` cmd ↵Gautham Goli
is executed
2017-07-02missing_formula: no need to tap homebrew/core.Mike McQuaid
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 ```
2017-07-02Merge pull request #2850 from ilovezfs/software-spec-rescue-unavailableilovezfs
software_spec: rescue TapFormulaUnavailableError in recursive_dependencies
2017-07-02Merge pull request #2842 from GauthamGoli/audit_only_cops_optionMike McQuaid
audit: Don't run audit methods when `--only-cops` option is passed
2017-07-02software_spec: rescue TapFormulaUnavailableError in recursive_dependenciesilovezfs
2017-07-02Merge pull request #2772 from reitermarkus/dmg-eulaMarkus Reiter
Fix DMG mounting.
2017-07-01Merge pull request #2829 from mislav/bump-formula-pr-unshallowilovezfs
Fix `bump-formula-pr` when working with a shallow git clone
2017-07-01Merge pull request #2825 from reitermarkus/refactoringMarkus Reiter
Refactoring using `Forwardable` and `DelegateClass`.
2017-06-30Merge pull request #2827 from JCount/version-improve-url-only-version-parsingJCount
version: improve url-only version parsing
2017-06-30Enable LegacyPatches copGautham Goli
2017-06-30audit: Don't run audit methods when `--only-cops` is passedGautham Goli
2017-06-30version_spec: add tests for char prefixed and w.x.y.z url-only stylesJCount
2017-06-30version: improve parsing of url-only, non-filename versionsJCount
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
2017-06-30Merge pull request #2826 from chrmoritz/languagenodeMike McQuaid
language/node: multiple improvements
2017-06-30Merge pull request #2813 from DomT4/high_sierra_updatesMike McQuaid
High Sierra: update expected CLT/libcurl pkgconfig file.
2017-06-30Merge pull request #2819 from reitermarkus/trashMarkus Reiter
🗑️ Use AppleScript instead of Swift for trashing.
2017-06-29Merge pull request #2837 from mistydemeo/audit_request_full_index_patchesMisty De Meo
audit: ask for full_index patches
2017-06-29Define a custom assertion failure error for cross-version compatMisty De Meo
Fixes #2840.
2017-06-30Refactor Formula/Cask dependencies.Markus Reiter
2017-06-30partly revert log verbose npm pack output commitChristian Moritz
to fix issues with shwoing npm debug output even on non-verbose install runs.
2017-06-29language/node: set cache config via argumentChristian Moritz
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.
2017-06-29language/node: npm pack ignore prepublish scriptsChristian Moritz
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)
2017-06-29language/node: log verbose npm pack outputChristian Moritz
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.
2017-06-29language/node: make packname detection more robustChristian Moritz
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.
2017-06-29language/node: build native addons from sourceChristian Moritz
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.
2017-06-29language/node: set npm loglevel to max -dddChristian Moritz
to match the loglevel used in npm_debug.log (previous --verbose loglevel would match -dd)
2017-06-29formula_desc_cop: allow formula name in descilovezfs
except at the very beginning, as the audit originally intended. See https://github.com/Homebrew/legacy-homebrew/pull/45493.
2017-06-29Strip trailing newlineMislav Marohnić
2017-06-28audit: ask for full_index patchesMisty De Meo
2017-06-28Use `attr_reader` in `CaskLoader`.Markus Reiter
2017-06-28Remove `utf8_inspect` method.Markus Reiter
2017-06-28Refactor using `Forwardable` and `DelegateClass`.Markus Reiter
2017-06-27Fix unshallowing taps in `bump-formula-pr`Mislav Marohnić
Never try to unhshallow full clones.
2017-06-27Fix `bump-formula-pr` when working with a shallow git cloneMislav Marohnić
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.