aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
AgeCommit message (Collapse)Author
2016-04-02git: check homebrew/core existence before installing brewed gitXu Cheng
2016-03-21utils/git: various improvementXu Cheng
* Use `ENV/scm/git` to check whether git is installed. * Use `brew install git` to enforce pre-install checks such as sudo check.
2015-12-26Revert "minor perf improvements"Baptiste Fontaine
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
2015-12-26minor perf improvementsBaptiste Fontaine
Closes Homebrew/homebrew#47224. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-09-09FormulaInstaller: reset git_available? when installing gitXu Cheng
Closes Homebrew/homebrew#43693 Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-09doctor: use Utils.git_available? instead of git?Xu Cheng
2015-09-09git_available?: cache the resultXu Cheng
2015-09-02add git utilsXu Cheng
Two methods: * `Utils.git_available?` checks whether git is installed. * `Utils.ensure_git_installed!` installs git for users who don't install Xcode or CLT.
2015-08-29More API documentation.Mike McQuaid
And remove the documented stuff from the `example-formula.rb`. Closes Homebrew/homebrew#43241. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-12Close the socket after sending the file descriptor to the childJack Nagel
Fixes Homebrew/homebrew#39691.
2015-04-28The forked build process should never run at_exit handlersJack Nagel
We don't use at_exit anywhere that matters, but the test framework does.
2015-04-25Keep subprocess code inside begin blockJack Nagel
2015-04-25Clean up socket and filesystem resources separatelyJack Nagel
2015-04-15move safe_fork into a standalone methodXu Cheng
2014-09-28Make inreplace errors fatalJack Nagel
Closes Homebrew/homebrew#32649. Closes Homebrew/homebrew#32703.
2014-07-11Read if no block is passed to Utils.popen_readJack Nagel
2014-07-05Add popen wrapper that does not invoke the shellJack Nagel
2014-06-18Expose inreplace as a class methodJack Nagel
2014-03-26Replace files atomically in inreplaceJack Nagel
2014-03-26Drop intermediate variableJack Nagel
2013-11-12inreplace: odie for Homebrew developers.Mike McQuaid
2013-09-17inreplace: Open the file as binaryShaun Jackman
Closes Homebrew/homebrew#22628. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-08-17let inreplace take a symbolJason Whittle
As discussed in https://github.com/mxcl/homebrew/pull/21936 Closes Homebrew/homebrew#21942. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-12Move inreplace off of ObjectJack Nagel
Closes Homebrew/homebrew#21163.
2013-06-22Use OkJson directlyJack Nagel
2013-06-22Add Utils::JSON to wrap the JSON implementationJack Nagel