aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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`.
2017-04-22Merge pull request #2482 from MikeMcQuaid/audit-dependency-optionsMike McQuaid
audit: ensure default dependencies don't use options.
2017-04-21formula_installer: remove feature flags.Mike McQuaid
We've been testing the recursive dependency check and allowing unlinked dependencies in CI for a while with no adverse consequences so enable them globally now for all users.
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-21audit: ensure dependencies don't use options.Mike McQuaid
Option dependencies are nasty as they cause unnecessary builds from source.
2017-04-21audit: new formulae should not require patches.Mike McQuaid
We may under some circumstances accept these anyway but it's better to nudge people into the right behaviours on local `audit`s.
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-21Merge pull request #2512 from commitay/cask-binaryMarkus Reiter
Replace `FileUtils.chmod` with `/bin/chmod` for cask binaries.
2017-04-21Fix test for `chmod +x` on binaries.Markus Reiter
2017-04-21Update binary.rbcommitay
2017-04-21Replace `FileUtils.chmod` with `/bin/chmod` for cask binaries. [WIP]commitay
Update binary.rb Update binary.rb Update binary.rb
2017-04-21Merge pull request #2517 from reitermarkus/fix-select-blockingVĂ­tor GalvĂŁo
Fix `IO#select` blocking.
2017-04-21Set timeout to 10 seconds instead of retrying.Markus Reiter
2017-04-21Validate `container :type`.Markus Reiter
2017-04-21Fix `IO#select` blocking.Markus Reiter
2017-04-21Refactor cask metadata directory methods.Markus Reiter
2017-04-21Remove extraneous }Louis Romero
2017-04-20Merge pull request #2274 from rwhogg/fuse-requirementMike McQuaid
Port OsxfuseRequirement to Linux
2017-04-20Merge pull request #2511 from reitermarkus/fix-plist-parserMarkus Reiter
Fix `plist` parser failing when encoded with ASCII.
2017-04-20Merge pull request #2509 from scpeters/audit_message_swapMike McQuaid
audit: fix swapped audit messages
2017-04-20Add `OFFICIAL_CASK_TAPS` in `official_taps.rb`.Markus Reiter
2017-04-20Lowercase `Caskroom` in `search`.Markus Reiter
2017-04-19Merge pull request #2508 from JCount/xcode-8.3.2JCount
xcode: 8.3.2 is latest version
2017-04-20Ensure `readline_nonblock` returns an UTF-8 string.Markus Reiter
2017-04-20Fix `plist` parser failing when encoded with ASCII.Markus Reiter
2017-04-19xcode: 8.3.2 is latest versionJCount
2017-04-19audit: fix swapped audit messagesSteven Peters
2017-04-19Merge pull request #2502 from MikeMcQuaid/install-no-search-unreadableMike McQuaid
install: don't search when formula is unreadable.
2017-04-18move before dash version styleReto Kromer
2017-04-18move before lame-398-1Reto Kromer
2017-04-18Refactor uninstall existing caskJoshua McKinney
2017-04-18Merge pull request #2478 from MikeMcQuaid/audit-skip-methodsMike McQuaid
audit: allow skipping audit methods.
2017-04-18install: don't search when formula is unreadable.Mike McQuaid
These formulae are detected as missing but exist in an unreadable form. Fixes #2485
2017-04-18create: use GitHub metadata where available.Mike McQuaid
GitHub provides a description and homepage field so let `brew create` use them where possible. Also, detect GitHub repositories based on `releases` as well as `archive`s.
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 #2477 from MikeMcQuaid/audit-more-universalMike McQuaid
audit: check for more universal usage.