aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
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 #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 #30632.
2014-07-03hllib: migrate to homebrew/boneyard.Mike McQuaid
Closes #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 #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 #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
2014-07-01Use predicate methods instead of inspecting the tags arrayJack Nagel
2014-07-01Replace find_all + each with grepJack Nagel
2014-07-01X11Dependency objects: fix hash equalityJack Nagel
2014-07-01X11Dependency: use Version objectsJack Nagel
2014-07-01Use to_a definition from EnumerableJack Nagel
2014-07-01Use sort_by in missing deps doctor checkJack Nagel
2014-07-01Better Formula#inspect stringJack Nagel
2014-07-01Always use class.name to build inspect stringsJack Nagel
2014-07-01Use sort_by in PrettyListingJack Nagel
2014-07-01Flesh out linking testsJack Nagel
2014-06-30Remove default argument from make_relative_symlinkJack Nagel
All callers of this method now pass a mode object.
2014-06-30Pass the mode through the optlink methodJack Nagel
2014-06-30Simplify optlink methodJack Nagel
delete/unlink on a directory is the same operation as rmdir.