aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-07-07Fix BuildEnvironment marshalling testJack Nagel
2014-07-07Don't need mocks hereJack Nagel
2014-07-07Only store one proc per BuildEnvironment instanceJack Nagel
2014-07-07Merge instead of calling << in a loopJack Nagel
2014-07-06Give the cache the same permissions as the installer doesJack Nagel
2014-07-06Extend with a module instead of aliasing on the singleton classJack Nagel
2014-07-06Remove inaccurate commentJack Nagel
2014-07-06Hide the cxxstdlib data structure betterJack Nagel
2014-07-06nostdout doesn't need to capture outputJack Nagel
2014-07-06Close duped output streams before returningJack Nagel
2014-07-06Remove redundant "which git" guardsJack Nagel
There is always a git executable on PATH due to the git wrapper in Library/Contributions/cmd. The wrapper will notify the user if there is not a real git installed.
2014-07-06Drop pointless string splitJack Nagel
2014-07-06Use Formula tap methods instead of matching the pathJack Nagel
2014-07-06Let File.expand_path also do the joinJack Nagel
2014-07-06Check File.file? first to avoid second stat()Jack Nagel
2014-07-06Use Formula tap methodsJack Nagel
2014-07-06Make tap_ref match similar code in updateJack Nagel
2014-07-06Escape paths in regexpsJack Nagel
2014-07-06Just use each since we're returning from inside the blockJack Nagel
2014-07-06Expand ~ in PATH entriesJack Nagel
2014-07-05Remove a RUBY_VERSION check, add a FIXME commentJack Nagel
2014-07-05Use popen wrapperJack Nagel
Closes Homebrew/homebrew#30678.
2014-07-05Add popen wrapper that does not invoke the shellJack Nagel
2014-07-04Use a regular conditional instead of `next unless ...`Jack Nagel
2014-07-04Simpler "use the correct symlink" checksJack Nagel
When determining whether to remove a symlink during unlinking, we check three things: (a) Is the destination a symlink? (b) Does the destination exist? (c) Does the destination resolve to the source path? However, since we know that the source path exists, (b) is guaranteed if (a) and (c) are true. Thus checking (b) is unnecessary. Similarly, when creating a new symlink during linking, we first check to see if the link already exists by checking the same three criteria. Again, checking (b) is unnecessary here. See also the expanded test coverage in b52b579b. Addendum: although we know that the source path exists during unlinking, it doesn't matter. If the source path does not exist, then we still know we have a broken symlink pointing into the keg we are unlinking, and removing that symlink is still safe.
2014-07-03Add more tests documenting linking behaviorJack Nagel
2014-07-03Avoid chdir just to make a symlinkJack Nagel
2014-07-03Move repeated pathname into setupJack Nagel
2014-07-03Don't assign @keg twice in setupJack Nagel
2014-07-03No need to silence output from Keg#link anymoreJack Nagel
2014-07-03Option does not need to be ComparableJack Nagel
2014-07-03Add assert_eql to provide better failure messages for eql? testsJack Nagel
2014-07-03Fix PkgVersion#<=>Jack Nagel
2014-07-03libspotify: migrate to homebrew/binary.Mike McQuaid
Closes Homebrew/homebrew#30632.
2014-07-03hllib: migrate to homebrew/boneyard.Mike McQuaid
Closes Homebrew/homebrew#30631.
2014-07-03bottle: use revision to find bottle block too.Mike McQuaid
2014-07-03stop Xcode tools from overriding deps when CLT is not installedCamillo Lugaresi
Closes Homebrew/homebrew#30641. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-03Fix Formula#<=> on trunk RubyJack Nagel
Arguably this method shouldn't exist and sort_by(&:name) used instead.
2014-07-03Replace ComparableSet with a Requirements collectionJack Nagel
2014-07-03Don't invoke mdfind in the testsJack Nagel
2014-07-03Add inspect to mock updater so test failures are readableJack Nagel
2014-07-02Accept -s as shorthand for --build-from-sourceJack Nagel
This is experimental and will be reverted if it causes problems. Closes Homebrew/homebrew#30392.
2014-07-02Move constants so we don't have to load all of ENV to get themJack Nagel
2014-07-02Move require into method to avoid circular requireJack Nagel
There is a nasty circular dependency here: formula.rb requirement.rb extend/ENV.rb extend/ENV/shared.rb formula.rb Probably the information that the build environment needs from formula should be passed in at runtime, but that seems hard and I really just want to be able to run the tests with warnings turned on. :/
2014-07-02Add min_version to X11Dependency inspect stringJack Nagel
2014-07-02Add regression test for decf7acced44bb156ba18677f55609b19ff6ca5aJack Nagel
2014-07-02Don't expose the dependency cache data structureJack Nagel
2014-07-02Pass relative paths into link exceptionsJack Nagel
2014-07-02Add a test that exercises the code in X11Dependency#satisfied?Jack Nagel
2014-07-01Fix typoJack Nagel