aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2017-04-26brew.sh: use OS X in user agent rather than macOS.Mike McQuaid
This matches what Safari does on macOS 10.12 and is generally what tools like Google Analytics expect the format to be.
2017-04-26audit: fix audit of new formulae.Mike McQuaid
When auditing new formulae without `--new-formula` the `audit_revision_and_version_scheme` method fails ungracefully. Instead, set some better defaults so fewer checks are needed. Fixes #2551.
2017-04-25software_spec: process macOS versions on Linux.Mike McQuaid
This module doesn't actually have any behaviour that's problematic at runtime on Linux so we may as well use it to properly sort macOS versions there.
2017-04-25tap: fix env typo.Mike McQuaid
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-25audit: fix use of search_tap method.Mike McQuaid
This was removed in #2540 but this call site was note updated to use the `search_taps` method instead.
2017-04-25Remove unnecessary block.Markus Reiter
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-25Merge pull request #2545 from JCount/xcode-update-cltMike McQuaid
xcode: update Sierra CLT version to 802.0.42
2017-04-25Allow forcing Homebrew GitHub organisation.Mike McQuaid
On Linux this defaults to Linuxbrew but in some cases (i.e. a Linux machine performing uploads for Homebrew) we want to allow this to be overridden back to the defaults. Relies on a change incoming to `brew test-bot` to set this there.
2017-04-24xcode: update Sierra CLT version to 802.0.42JCount
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-23remove inner groupReto Kromer
2017-04-23remove inner uncaptured groupReto Kromer
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-23global: set HOMEBREW_PATH if unset.Mike McQuaid
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-22super: re-add set_cpu_flags.Mike McQuaid
It's used by ENV.fortran. Fixes https://github.com/Homebrew/brew/issues/2530 Fixes https://github.com/Homebrew/homebrew-science/issues/5485
2017-04-22readall: fix tapping taps without aliases.Mike McQuaid
Fixes https://github.com/caskroom/homebrew-cask/issues/32840. Fixes https://github.com/Homebrew/brew/issues/2529.
2017-04-22Merge pull request #2514 from reitermarkus/refactor-cask-metadataMarkus Reiter
Refactor cask metadata directory methods.
2017-04-22Merge pull request #2480 from MikeMcQuaid/no-tap-deprecate-tapsMike McQuaid
tap: warn on tapping deprecated, official taps.
2017-04-22Merge pull request #2528 from MikeMcQuaid/which_editor_fixesMike McQuaid
utils: fix which_editor.
2017-04-22Merge pull request #2108 from MikeMcQuaid/readall-shadowed-aliasesMike McQuaid
readall: check for shadowed aliases.
2017-04-22Merge pull request #2522 from MikeMcQuaid/more-deprecationsMike McQuaid
More deprecations.
2017-04-22utils: fix which_editor.Mike McQuaid
Handle when there's no editor variable specified or it's specified but empty.
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-22readall: check for shadowed aliases.Mike McQuaid
If an alias has the same name as a formula then weirdness will result so ensure this causes `readall` to fail.
2017-04-22Merge pull request #2526 from MikeMcQuaid/audit-gnu-mirror-flipMike McQuaid
audit: flip GNU mirror preference.
2017-04-22tap: warn on tapping deprecated, official taps.Mike McQuaid
They don't contain any formulae so tapping them will add pointless clutter.
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-22Merge pull request #2484 from MikeMcQuaid/unversion-formula-tap-matchMike McQuaid
audit: lookup unversioned formulae with Formulary.
2017-04-22Merge pull request #2521 from MikeMcQuaid/tests-reduce-noiseMike McQuaid
tests: reduce some noise.
2017-04-22audit: flip GNU mirror preference.Mike McQuaid
Now that both the primary and mirror URLs use HTTPS we can flip these around so the primary URL is the primary URL and we don't have problems with waiting for mirror propagation.
2017-04-22audit: lookup unversioned formulae with Formulary.Mike McQuaid
This means that if e.g. the unversioned formulae exists in another tap this audit won't produce a false positive.
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-22Merge pull request #2523 from MikeMcQuaid/remove_formula_installer_feature_flagsMike McQuaid
formula_installer: remove feature flags.
2017-04-22Merge pull request #2476 from MikeMcQuaid/edit-env-filteringMike McQuaid
Fix `brew edit` with environment filtering.
2017-04-22Merge pull request #2519 from reitermarkus/validate-container-typeMarkus Reiter
Validate `container :type`.