aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2016-07-29Refurbish args in virtualenv (#600)Tim D. Smith
Instead of adding additional lines to formula.rb: https://git.io/vKxxh just turn on argument refurbishment for any formula that creates a virtualenv. cf Homebrew/ruby-macho#50, Homebrew/homebrew-core#1663
2016-07-28audit: don't check formula linkage.Mike McQuaid
This partly reverts commit 0ed673abdb59e2f75f9b8539cce318607924e87f.
2016-07-28tests: fix duplicate test case class nameMartin Afanasjew
Rename test case class to avoid two definitions of `BlacklistTests`.
2016-07-27test: add default Linux x86_64 bottle.Mike McQuaid
2016-07-27Make method names inquisitiveTim D. Smith
Closes #592. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-07-27Don't fail on arbitrary absolute symlinksTim D. Smith
Still forbid absolute symlinks including prefix
2016-07-27Factor out absolute symlink testTim D. Smith
2016-07-27tests: add cmd/switch integration testAndrea Kao
2016-07-27os: fix Rubocop warnings.Mike McQuaid
2016-07-27test-bot: run all tests in generic mode.Mike McQuaid
2016-07-27test_version_subclasses: make OS X specific.Mike McQuaid
2016-07-27test_x11_requirement: make OS X specific.Mike McQuaid
2016-07-27test_mach: make OS X specific.Mike McQuaid
2016-07-27test_keg: port to generic layer.Mike McQuaid
2016-07-27test_formula: port to generic layer.Mike McQuaid
2016-07-27test_dependency_collector: port to generic layer.Mike McQuaid
2016-07-27bottles: more porting to generic layer.Mike McQuaid
2016-07-27hardware: more porting to generic layer.Mike McQuaid
2016-07-27exceptions: port to generic layer.Mike McQuaid
2016-07-27diagnostic: port to generic layer.Mike McQuaid
2016-07-27xcode: add update instruction helpers.Mike McQuaid
2016-07-27development_tools: add install instruction helpers.Mike McQuaid
2016-07-27blacklist: port to generic layer.Mike McQuaid
2016-07-27Rakefile: skip OS X-only tests on non-OS X.Mike McQuaid
2016-07-27utils/github: fix reverted order of credentialsMartin Afanasjew
We always return the token/password first and, if applicable, the user name is the second element in the returned array. Closes #581. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-27utils/github: fix broken pipe errorMartin Afanasjew
Closes #573.
2016-07-27tap: more thoroughly validate tap namesMartin Afanasjew
`Tap.fetch` and commands building on top of it accepted tap names like `homebrew/homebrew/bogus` causing some misbehavior. Ensure neither `user` nor `repo` include slashes and print a more helpful error message that additionally includes the problematic tap name. Closes #585. Closes #591. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-27tap: test fetch/validation of invalid tap namesMartin Afanasjew
2016-07-27tests: extend cmd_fail to all non-zero exit codes (#595)Andrea Kao
2016-07-26Test Language::Python::VirtualenvTim D. Smith
2016-07-26Add helper class for Python virtualenvsTim D. Smith
2016-07-26test-bot: don't checkout/reset on --no-pullMike McQuaid
2016-07-27tests: add cmd/analytics integration test (#558)Andrea Kao
2016-07-26tests: add cmd/pull integration test (#525)Andrea Kao
2016-07-24analytics.sh: use full uuidgen path on OS X.Mike McQuaid
Fixes #575.
2016-07-24brew.rb: Use odie instead of onoe+exitBaptiste Fontaine
Closes #577. Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
2016-07-24audit: only check undeclared deps for standard installations. (#576)Xu Cheng
In fact, we don't really care about undeclared dependencies for optional installations. Because, this is mainly used to help us to detect breakage for bottles so we can do a revision bump.
2016-07-21add BuildOptions#build_bottle?Xu Cheng
This makes BuildOptions more compatible with Tab object. Otherwise, `brew reinstall foo` will just crash if foo is not installed.
2016-07-21FormulaInstaller#sanitized_ARGV_options: fix regexXu Cheng
This fixes a regression caused by 2e961dc9dee63f641f7f162fd7a2845c5fd092fe, where a misplaced `+` cause the regex only catch one character. Fixes https://github.com/Homebrew/homebrew-science/issues/3847.
2016-07-20pkg-config: update for macOS 10.12 beta 3Dominyk Tiller
2016-07-20xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-07-19tests: add cmd/irb integration test (#501)Andrea Kao
2016-07-19tests: nest HOMEBREW_TEMP inside TEST_TMPDIR (#554)Andrea Kao
2016-07-19test-bot: fix coverage on Travis CIMartin Afanasjew
Make sure to call `brew tests` only once with `--coverage` to avoid expensive multiple runs and to prevent later runs from overwriting previously sent results to Coveralls. (The previous setup overwrote the results from a regular run with results from the `--generic` run.) The `--no-compat` variant without any other options specified seemed to be the most appropriate for a coverage report. Closes #546. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-19tests: use SimpleCov 0.12.0 and Coveralls 0.8.14Martin Afanasjew
SimpleCov 0.12.0 brings some moderate speed improvements and soon (sadly not yet) can be switched back to a stable release. Update to matching Coveralls release, fortunately with fewer dependencies than before.
2016-07-19tests: strip Homebrew prefix from coverage reportMartin Afanasjew
Make `Library/Homebrew` the new root now that *all* implementation files are in this directory. Update filters/groups accordingly. Note that paths in filters/groups are not anchored at the root and are always matched against the full path. Our rules are effectively anchored because they always include the `/Homebrew/` path component.
2016-07-18inreplace: support for audit arg in non-block formilovezfs
Provides feature parity between the block and non-block forms of inreplace by creating a four-argument version of the non-block form, where the fourth argument is an optional Boolean value, defaulting to true, which specifies whether a failed inreplace should cause an InreplaceError error to be raised. The fourth argument is passed along to StringInreplaceExtension#gsub!, which already supports an optional audit_result argument. This resolves the Catch-22 that single replacements aren't permissible in the block form (in that they now cause `brew audit` to complain), but the audit_result argument is not available in the non-block form. Closes #552. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-18reinstall: handle new optionsXu Cheng
Since we are loading options as Formula#build from tab, we will have to explicitly read options from ARGV as well. Fixes #3066. Closes #537. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-18remove unnecessary `Tab.for_formula`Xu Cheng
We already loaded tab in ARGV.resolved_formulae or Formulary.from_rack
2016-07-18remove unnecessary build options manipulation for test and postinstallXu Cheng
We already loaded build options in ARGV.resolved_formulae for test and postinstall