aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2017-04-28audit_spec: test go get banDominyk Tiller
2017-04-25formula_installer: improve install/upgrade messageMike McQuaid
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.
2017-04-25Add test for `GitHub::search_code`.Markus Reiter
2017-04-25Add remote search to `brew cask search`.Markus Reiter
2017-04-25Add `GitHub::search_code` method.Markus Reiter
2017-04-24search: use single HTTP call for tap searches.Mike McQuaid
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.
2017-04-24Remove puts_hash, require ppMike McQuaid
I wasn’t aware this existed when I created puts_hash so: may as well remove it.
2017-04-24Merge pull request #2465 from GauthamGoli/audit_components_port_rubocopMike McQuaid
audit: audit_components method to rubocops and tests
2017-04-24Merge pull request #2534 from MikeMcQuaid/which_editor_argsMike McQuaid
utils: make which_editor handle editor args.
2017-04-24Merge pull request #2490 from retokromer/patch-1Mike McQuaid
add date-based versioning
2017-04-24utils: make which_editor handle editor args.Mike McQuaid
Handle cases like e.g. `EDITOR="subl -w"`.
2017-04-23Fix audit version_scheme and revision checks.Mike McQuaid
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.
2017-04-23Fix and remove various TODOs.Mike McQuaid
Fix those that can be done so without tearing Homebrew to pieces and remove the comments for those that can never be done.
2017-04-23Merge pull request #2524 from MikeMcQuaid/more-env-filtering-fixesMike McQuaid
Hide sensitive tokens from install/test/post.
2017-04-23Merge pull request #2362 from joshka/install-uninstall-messagesMarkus Reiter
Install uninstall messages
2017-04-22Merge pull request #2514 from reitermarkus/refactor-cask-metadataMarkus Reiter
Refactor cask metadata directory methods.
2017-04-22Merge pull request #2522 from MikeMcQuaid/more-deprecationsMike McQuaid
More deprecations.
2017-04-22Port audit_components method to rubocops and add corresponding testsGautham Goli
2017-04-22Merge pull request #2515 from MikeMcQuaid/travis-cache-bundlerMike McQuaid
travis.yml: cache Bundler output.
2017-04-22Hide sensitive tokens from install/test/post.Mike McQuaid
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.
2017-04-22More deprecations.Mike McQuaid
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.
2017-04-22travis.yml: cache Bundler output.Mike McQuaid
Travis needs some coaxing to find where we put it. This should improve build reliability due to network issues.
2017-04-22tests: reduce some noise.Mike McQuaid
- Tweak the way offline skipping happens - Skip more tests that break when offline - Hide more stdout output from tests.
2017-04-21Fix `brew edit` with environment filtering.Mike McQuaid
For many people `brew edit` makes use of the `EDITOR` variable to pick a sensible editor. With environment filtering enabled unless this editor is found in the default system PATH it'll fall back to e.g. `vim`. Instead, ensure that we export the original, pre-filtering `PATH` as `HOMEBREW_PATH` and use that internally to locate the editor. In future this same approach will likely be used for requirements to be able to find tools, too, and for other variables which we want to expose to Homebrew itself but not other build tools. Note that `HOMEBREW_PATH` is the same as `PATH` when build filtering hasn't been enabled.
2017-04-21Merge pull request #2520 from reitermarkus/pkgutil-plistMarkus Reiter
Partly revert “Fix `uninstall :pkgutil` leaving empty `.app` directories.”.
2017-04-21Partly revert “Fix `uninstall :pkgutil` leaving empty `.app` directories.”.Markus Reiter
2017-04-21Fix test for `chmod +x` on binaries.Markus Reiter
2017-04-21Refactor cask metadata directory methods.Markus Reiter
2017-04-20Merge pull request #2274 from rwhogg/fuse-requirementMike McQuaid
Port OsxfuseRequirement to Linux
2017-04-18move before dash version styleReto Kromer
2017-04-18audit: allow skipping audit methods.Mike McQuaid
Add `--only` and `--except` methods which can be used to selectively enable or disable audit groups.
2017-04-17add testReto Kromer
2017-04-17Merge pull request #2496 from mistydemeo/hardware_cpu_can_run_arch_helperMisty De Meo
Hardware cpu can run arch helper
2017-04-16Merge pull request #2446 from mansimarkaur/diagnostic_tests1.1.13Mike McQuaid
[WIP] Added test for check_access_lock_dir
2017-04-15OsxfuseRequirement: Port to LinuxBob W. Hogg
2017-04-15Mac Hardware: provide a more Mac-specific implementation of can_run?Misty De Meo
2017-04-15Hardware: add helper to determine if an executable can be runMisty De Meo
2017-04-09Merge pull request #2434 from JCount/gpg-spec-test-21-compatibilityMarkus Reiter
gpg_spec test add 2.1.x compatibility
2017-04-08gpg_spec: use new version method to directly compare version objectsJCount
2017-04-08gpg_spec: switch structure to if/else instead of rescueJCount
2017-04-08gpg2_requirement_spec: switch test to gnupg 2.1.xJCount
2017-04-07Corrected test for access_lock_dirmansimarkaur
2017-04-05Merge pull request #2242 from GauthamGoli/audit_custom_copsMike McQuaid
Port audit_desc audit rules to a cop
2017-04-03Added test for check_access_lock_dirmansimarkaur
2017-04-02Handle missing receipt on `brew install`.Mike McQuaid
For example if this is for a really old keg, keg where a user has manually removed stuff or used `brew diy`.
2017-04-01Fix the 'export PATH' message in `link` for a keg-only formulaEugene Nikolsky
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message, but it printed the wrong path, e.g. for `brew link sqlite`: ``` If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/sqlite:$PATH"' >> ~/.zshrc/bin ``` where `/bin` is appended at the end, but should be inserted before `:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc`. This patch fixes that and updates a test to verify it.
2017-04-01gpg_spec: make test compatible with gnupg 2.1.xJCount
maintain existing compatibility with gnupg 2.0.x
2017-03-31cask: remove pre_bug_report linksVĂ­tor GalvĂŁo
2017-03-31Remove osmium from blacklisted formulasIlya Zverev
2017-03-31Merge pull request #2374 from joshka/cleanup-command-continue-on-errorMike McQuaid
Cleanup: Continue on error removing keg