aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2014-09-27Add test for inreplace sub!/gsub! with hash argumentJack Nagel
2014-09-27Add test for inreplace sub!/gsub!Jack Nagel
2014-09-27Intercept calls to sub! in inreplace blocksJack Nagel
2014-09-27Don't warn about tap conflicts during pruningJack Nagel
Fixes Homebrew/homebrew#32710.
2014-09-26Clean up inreplace regexpsJack Nagel
- use literal syntax - escape interpolated variables - remove intermediate variables - remove unnecessary capture
2014-09-26Add missing test for inreplace with tabsJack Nagel
2014-09-26Fix formatting in inreplace testsJack Nagel
2014-09-26don't clean libexecAdam Vandenberg
2014-09-25Rescue any SystemCallError from atomic_writeJack Nagel
2014-09-24Redact electric-fenceAdam Vandenberg
Closes Homebrew/homebrew#31203.
2014-09-24Use Dir.glob and array operations to remove whitelisted filesJack Nagel
2014-09-24Dir.exist? is not in 1.8Jack Nagel
2014-09-24Make sure the directory exists before chdirJack Nagel
2014-09-24Revert "Revert "Whitelist MacFuse headers""Jack Nagel
This reverts commit e81b82cc725ede00c1292a50a076bb8a652ccecd.
2014-09-24Revert "Revert "Simplify unbrewed file whitelists""Jack Nagel
This reverts commit 338a451a47c884eb9ca96d7b0023417a1eaa4d3d.
2014-09-24Revert "Revert "Whitelist OSXFuse headers""Jack Nagel
This reverts commit f96ed45fe19855d0f8acc37d5d77d16d607dfce3.
2014-09-24Revert "Revert "Match whitelisted files using fnmatch""Jack Nagel
This reverts commit 91be9f5344d5931ddae6e4f905c18a607fa9e9f1.
2014-09-24brew-man: Rubify, make an internal command.Mike McQuaid
Closes Homebrew/homebrew#32472.
2014-09-24brew-cleanup-installed: Rubify, make internal cmd.Mike McQuaid
2014-09-24brew-tap-readme: make an internal command.Mike McQuaid
2014-09-24Move manpage to Homebrew (from Contributions).Mike McQuaid
As this is something we support and update.
2014-09-24brew-aspell-dictionaries: make a developer commandMike McQuaid
2014-09-24brew-switch: make an internal command.Mike McQuaid
2014-09-24brew-pull: make an internal command.Mike McQuaid
2014-09-24brew-gist-logs: make an internal command.Mike McQuaid
2014-09-24brew-test-bot: fix error detection logic.Mike McQuaid
2014-09-24brew-test-bot: make an internal command.Mike McQuaid
2014-09-24brew: add contributed tap commands to PATH.Mike McQuaid
This means that taps root and `cmd` directories are added to the PATH. This should enable migration of some of our contributed commands into taps (e.g. `homebrew-boneyard`) and make it easy for third parties to be able to maintain these. It might also make stuff easier for existing tools like e.g. `brew-cask` and `boxen`. Closes Homebrew/homebrew#32471.
2014-09-24Generate RDoc documentation.Mike McQuaid
This is currently still very messy and we probably want to work out the best way to declare what parts of our DSL/what files are "public". Still, even if this is a WIP I'd rather get something committed sooner rather than later and start iterating on this as a replacement for `example_formula.rb` and the formula cookbook. To test: ```bash cd $(brew --prefix)/Library/Homebrew && \ rdoc formula.rb requirement.rb utils.rb &&\ open doc/index.html ``` Closes Homebrew/homebrew#32470.
2014-09-24Revert "Match whitelisted files using fnmatch"Mike McQuaid
This reverts commit f9c8b5e1da7ac09c85a6ebf9a94624bb9c60bed5. Closes Homebrew/homebrew#32609. Closes Homebrew/homebrew#32613.
2014-09-24Revert "Whitelist OSXFuse headers"Mike McQuaid
This reverts commit f05d29e3fd0d056b78da6a0b0247e64f91014e04.
2014-09-24Revert "Simplify unbrewed file whitelists"Mike McQuaid
This reverts commit 2885a92612173f480303b03da1da739eb68550d7.
2014-09-24Revert "Whitelist MacFuse headers"Mike McQuaid
This reverts commit 6319cac687fa722a1d005fe056e0dac22d91ef9c.
2014-09-24Whitelist MacFuse headersJack Nagel
2014-09-24Simplify unbrewed file whitelistsJack Nagel
Only the keys of the hashes are used, so we can just use arrays and comments instead.
2014-09-24Whitelist OSXFuse headersJack Nagel
2014-09-24Match whitelisted files using fnmatchJack Nagel
2014-09-24Add doctor check for unbrewed header filesJack Nagel
2014-09-23Note that the JDK is required for java dependenciesJack Nagel
Closes Homebrew/homebrew#32224.
2014-09-23audit: make `has_DATA?` ignore commented-out lineschdiza
Before this change, audit would detect commented-out lines containing the string 'DATA' as if there were no commenting. Then it could complain, e.g., problem "'DATA' was found, but no '__END__'", which would be a false alarm in that circumstance. Closes Homebrew/homebrew#32568. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-23Audit for outdated devel versionsJack Nagel
2014-09-21Update CLT version checkJack Nagel
2014-09-21XQuartz 2.7.7Mike McQuaid
2014-09-21Xcode 6.0.1Mike McQuaid
2014-09-21Stop recording the fails_with cause internallyJack Nagel
The string passed as the cause is currently unused, so we don't need to actually store it.
2014-09-20Boneyarding MetaluaDominyk Tiller
Proposing that we toss Metalua into the boneyard. Reasons: 1) It is hard-coded to look for Lua & Luac binaries, which are obviously now pointing at Lua (5.2). I tried tweaking those hard-coded lines with inreplace and had some success, but it still broke on finding Luac. It complies ‘successfully’, but it won’t do very much. 2) There’s been no stable Metalua release for 5 years. 3) The HEAD build hasn’t worked in at least 8 months because the github has moved away from compile scripts in favour of becoming Luarocks. 4) Honestly, interest in Metalua seems to be pretty low. If nobody has noticed the HEAD build has been dead for 8 months
? I feel like we’d be better scrapping this and pointing people at the new Luarocks available for Metalua, which are on versions 0.7.2-1 compared to our shipped 0.5-rc2.
2014-09-20Make Pathname#atomic_write truly atomicJack Nagel
As we know, files cannot be moved across filesystems atomically. In that case, FileUtils.mv will make a copy. But if we create the temp file in the same directory as the target, we can avoid this and use File.rename directly. Additionally, the rename should be the absolute last step, so that the original file is preserved if altering ownership and permissions fails.
2014-09-20Don't to_s the cmd parameter in Homebrew.systemJack Nagel
2014-09-20Stop invoking the editor through an interactive shellJack Nagel
This was added in d2ecfb9 / Homebrew/homebrew#12784 to fix a bug repotted in Homebrew/homebrew#12779, but at that time we were invoking the editor via `system` rather than `exec`. Now we are using exec, and running it through an interactive shell seems to cause other problems, for example, emacs does not suspend/resume properly. Fixes Homebrew/homebrew#32328.
2014-09-20Remove incorrect comment from example formulaJack Nagel
You can use any number of "/" operators, just as you can "+".