aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
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-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-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-20Merge pull request #2274 from rwhogg/fuse-requirementMike McQuaid
Port OsxfuseRequirement to Linux
2017-04-20Ensure `readline_nonblock` returns an UTF-8 string.Markus Reiter
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-15OsxfuseRequirement: Port to LinuxBob W. Hogg
2017-04-15Mac Hardware: provide a more Mac-specific implementation of can_run?Misty De Meo
2017-04-05Merge pull request #2442 from tdsmith/fix-symlink-relocationMike McQuaid
Virtualenv relocation fixes
2017-04-04Revert "keg_relocate: Don't relocate dylib IDs containing metavariables."Mike McQuaid
2017-04-02Add Skylake to Linux hardware listMaxim Belkin
2017-04-02diagnostic: also ignore outdated CLT on Travis CI.Mike McQuaid
2017-04-02Use extend/OS mechanism for grep argsTim D. Smith
2017-03-28update suggested Xcode/CLT download URLsEricFromCanada
2017-03-20blacklist: move to missing_formula class instead.Mike McQuaid
This will allow extending this class so it can be used by more than just blacklisting.
2017-03-17Merge pull request #2337 from sjackman/linux-system-configMike McQuaid
Add extend/os/linux/system_config.rb
2017-03-17Merge pull request #2279 from sjackman/determine_pathMike McQuaid
determine_path: Fix tests FormulaUnavailableError
2017-03-16Add extend/os/linux/system_config.rbShaun Jackman
Report the Linux kernel, OS, and gcc versions.
2017-03-14secure urls + remove -k from in-doc curl commandViktor Szakats
2017-03-11env: make prepend_path ignore system pathsilovezfs
`ENV.prepend_path "PATH", which("emacs").dirname` in the emacs requirement was causing us to end up invoking /usr/bin/clang instead of /usr/local/Homebrew/Library/Homebrew/shims/super/clang.
2017-03-10linux: Add ARM to CPU.typeShaun Jackman
2017-03-07determine_path: Fix tests FormulaUnavailableErrorShaun Jackman
Fix the brew tests error: InstallTests#test_a_basic_install: FormulaUnavailableError: No available formula with the name "gcc" Library/Homebrew/formulary.rb:231:in `get_formula' Library/Homebrew/formulary.rb:259:in `factory' Library/Homebrew/extend/ENV/shared.rb:287:in `gcc_version_formula' Library/Homebrew/extend/ENV/super.rb:124:in `determine_path' Library/Homebrew/extend/ENV/super.rb:44:in `setup_build_environment' Library/Homebrew/build.rb:87:in `install' Library/Homebrew/build.rb:201:in `<main>'
2017-03-05Merge pull request #2244 from jonchang/javaMike McQuaid
java_requirement: don't consider macOS Java stub
2017-03-05Don't check Subversion HTTPS pre-Sierra.Mike McQuaid
The system Subversion doesn't handle new certificate authorities (e.g. Let's Encrypt) well enough for this check to be useful.
2017-03-05mac/java_requirement: avoid adding/removing stub.Mike McQuaid
2017-03-02java_requirement: avoid nil in possible_javasJonathan Chang
2017-03-02java_requirement: don't consider macOS Java stubJonathan Chang
2017-02-28Merge pull request #2183 from vladshablinsky/questions_mean_boolUladzislau Shablinski
ARGV.include? should return boolean
2017-02-27Merge branch 'master' into exclude-executable-metafilesNaoto Kaneko
Added tests in keg_test and pathname_test was moved into keg_spec and pathname_spec.
2017-02-26ARGV.include? should return booleanUladzislau Shablinski
2017-02-24Extend #ds_file? in PathnameNaoto Kaneko
2017-02-23Add integration test helper methods.Markus Reiter
2017-02-21Merge pull request #2036 from woodruffw/rust-hackWilliam Woodruff
keg_relocate: Don't relocate dylib IDs containing metavariables.
2017-02-21Merge pull request #1948 from sjackman/gnu-gccMike McQuaid
gcc_version_formula: Use gcc@4.x rather than gcc4x
2017-02-20java_requirement: Make macOS overrides extend RequirementBob W. Hogg
This doesn't actually seem to make that much difference, but it is at least consistent with the main class body and with the Linux overrides.
2017-02-20Merge pull request #2057 from JCount/install-force-fixMike McQuaid
ARGV: add missing "--force" arg to formula_install_option_names
2017-02-20Merge pull request #1632 from rwhogg/make-java-req-portableMike McQuaid
java_requirement: port to Linux and refactor
2017-02-19keg_relocate: Don't relocate dylib IDs containing metavariables.William Woodruff
2017-02-19diagnostic: strip trailing whitespace.Mike McQuaid
2017-02-18ARGV: add missing "--force" arg to formula_install_option_namesJCount
2017-02-17diagnostic: fix typo.Mike McQuaid
2017-02-17diagnostic: detail TRAVIS opt-out reasoning.Mike McQuaid
2017-02-17Revert "Skip Xcode outdated check on CircleCI"Mike McQuaid
2017-02-15Code review cleanupsBob W. Hogg
2017-02-15java_requirement: port to Linux and refactorBob W. Hogg
Split the core requirement class into generic, Linux-specific, and macOS-specific parts. Additionally, the Linux version is now able to detect Java versions (the previous Linuxbrew implementation was only able to detect if Java was present at all.)
2017-02-12rubocop: trailing comma in multiline method callsAlyssa Ross
Discussed in https://github.com/Homebrew/brew/pull/1987/files#r100693581. This was originally ommitted because it wasn't compatible with Ruby 1.8. (See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
2017-02-11gcc_version_formula: Use gcc@4.x rather than gcc4xShaun Jackman
2017-02-10diagnostic: Add CircleCI to Env checkDanielle Tomlinson