aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2018-03-01Add tests for ENV#clear_sensitive_environment!Alyssa Ross
2018-02-28Move linkage_checker from os/mac to genericShaun Jackman
2018-02-28irb: add pry support.Mike McQuaid
Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
2018-02-22Cross-platform java detectionMaxim Belkin
2018-02-21Make 'xz' and 'cvs' dependencies conditionalMaxim Belkin
2018-02-20Code refactoring 4.0Maxim Belkin
2018-02-19Code refactoringMaxim Belkin
2018-02-19Refactoring based on suggestionsMaxim Belkin
Defaulting zip_dep_if_needed(tags) and bzip2_dep_if_needed(tags) methods to those on Linux and overriding them on macOS.
2018-02-16Removing unnecessary argumentsMaxim Belkin
2018-02-16Fixing brew-style offensesMaxim Belkin
2018-02-16zip and bzip2 dependencies when neededMaxim Belkin
On some systems identified as Linux, zip and bzip2 might not be available. Therefore, on such platforms we add them unconditionally as dependencies when required. On Mac, these dependencies are always satisfied.
2018-02-11write_jar_script: add java version optionAndrew Janke
2018-01-19pathname: fix rmdir_if_possible with mount pointsilovezfs
Attempting to rmdir a directory that is a mount point results in EBUSY, not EACCES or ENOENT, so also rescue EBUSY in rmdir_if_possible.
2018-01-18Deprecate requirements harderMike McQuaid
Remove more Requirement logic to enable future removal of default formula logic. Also, output deprecations, convert symbol requirement usage to deps and simplify the compatibility code for the direct Requirement usage.
2018-01-10Deprecate Git, Subversion requirements.Mike McQuaid
These rely on `default_formula` to be useful and are better following the `*_dep_if_needed` pattern.
2018-01-04Merge pull request #3627 from sjackman/circleciMike McQuaid
pathname: Use CI env variable rather than TRAVIS
2018-01-03pathname: Use CI env variable rather than TRAVISShaun Jackman
2018-01-03LD64Dependency is needed on macOS onlyShaun Jackman
Move ld64_dependency.rb to os/mac/.
2017-12-30requirements: move more to compat.Mike McQuaid
2017-12-23Deprecate more requirements.Mike McQuaid
These are ones that were either already deprecated due to audit rules or are just a simple `which` with a `default_formula` so should just be a dependency.
2017-12-23dependency_collector: cleanup optional system depsMike McQuaid
2017-12-10Merge pull request #3543 from MikeMcQuaid/remove-env-unsetsMike McQuaid
Remove some unset/checked environment checks
2017-12-08X11Requirement: Inherit from generic class [macOS]Shaun Jackman
Fix the warning: already initialized constant X11Requirement
2017-12-08Remove some unset/checked environment checksMike McQuaid
These will be redundant once environment filtering is on by default in #3529.
2017-12-08Merge pull request #3483 from sjackman/x11Mike McQuaid
Implement X11Requirement for Linux
2017-12-07config: Print host glibc version [Linux]Shaun Jackman
2017-12-07Implement X11Requirement for LinuxShaun Jackman
Move the XQuartz implementation to extend/os/mac/requirements.
2017-12-03Implement linkage for LinuxShaun Jackman
2017-12-03extend/pathname: Add os/linux/elf.rbShaun Jackman
2017-12-03Merge pull request #3516 from sjackman/system-config-versionMike McQuaid
config: Print the linked_version [Linux]
2017-12-02config: Print the linked_version [Linux]Shaun Jackman
Otherwise when the keg was installed but out-of-date, it would display "N/A".
2017-12-01Hardware::CPU: Implement OS-agnostic methodsShaun Jackman
2017-11-27More environment filtering fixesMike McQuaid
- Make `brew pull` pass through Git environment variables - Whitelist all `TRAVIS_` variables.
2017-11-26Cleaner: ELF files are executable on LinuxShaun Jackman
2017-11-18ENV: don't set MACOSX_DEPLOYMENT_TARGETilovezfs
CMake tries to use Xcode if MACOSX_DEPLOYMENT_TARGET is set but that can lead to build failures when SDKROOT isn't set. The CMake behavior at minimum manifests as -isysroot spontaneously being set to the Xcode SDK, which brew sometimes can't successfully fully unwind with its ENV hacks.
2017-11-17Tweak SDK variables for new Xcode/CLT setup.Mike McQuaid
2017-11-17diagnostic: check if Xcode needs CLT installed.Mike McQuaid
Require the CLT on all but the latest version of macOS to avoid the continuous workarounds for SDK weirdness.
2017-11-13environment filtering: pass through TRAVIS vars.Mike McQuaid
We use these internally so let's map them to `HOMEBREW_` variables.
2017-11-10Merge pull request #3377 from maxim-belkin/extend-pathnameMike McQuaid
pathname: new methods and improvements
2017-11-07pathname: improvements, cleanups, and new methodsMaxim Belkin
- atomic_write: close file before renaming to prevent error: 'Device or resource busy' - ensure_writable: preserve executable bit - new elf? and dynamic? methods
2017-11-07Clear/mask passwords as well as tokens.Mike McQuaid
2017-11-07os/mac/diagnostic: fix XQuartz message.Mike McQuaid
Fixes #3434.
2017-11-05ENV/super: simplify version checks.Mike McQuaid
2017-11-05diagnostic: simplify version checks.Mike McQuaid
2017-11-05system_config: handle new non-string Xcode versionMike McQuaid
2017-10-30Merge pull request #3387 from MikeMcQuaid/env-std-homebrew-pathsMike McQuaid
ENV/std: fully extend from HOMEBREW_PATH.
2017-10-29Tweak use of with_envMike McQuaid
- Use it in more places where it saves code - Allow using symbolic keys for a cleaner interface - Use `HOMEBREW_GEM_*` instead of `GEM_OLD_*`
2017-10-29ENV/std: fully extend from HOMEBREW_PATH.Mike McQuaid
Rather than just re-adding HOMEBREW_PREFIX/bin if it's missing re-add everything from HOMEBREW_PATH. This works well with or without environment filtering being enabled but with environment filtering it ensures that ENV/std just builds on the original user environment.
2017-10-26java_requirement: support prompting users to install legacy Java casksJCount
This enhances the Java requirement to support prompting the user to install the correct legacy Java version via Cask for formulae that don't yet work with the latest version of Java. Previously, even if the formula had a strict requirement that a specific, older version of Java be used, the messaging would tell the user to `brew cask install java` (i.e. to install the latest version of Java), which wouldn't actually satisfy the requirement.
2017-10-18Move `String#undent` to `compat`.Markus Reiter