aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-07-30Remove confusing implicit options handlingJack Nagel
This code is supposed to allow depends_on "foo" => "with-bar" to work when foo has only a "without-bar" option. The options system was not designed to support this. Unfortunately, it was bolted on anyway. The implementation is extremely difficult to understand, and it only works for certain types of options, which is confusing from a user's point of view. Luckily, no formulae in core or the official taps rely on the behavior in order to function. It is hindering progress in improving this code, so I am removing it.
2014-07-30Use the tab in place of build during testsJack Nagel
2014-07-30Add without? to TabJack Nagel
2014-07-30Pass the build object into the TabJack Nagel
Since the Tab is written in the build process, the formula's build object will have the correct args attached to it already, so we don't need to reconstruct it.
2014-07-30Remove unused accessorJack Nagel
2014-07-30Simplify BuildOptions copy testsJack Nagel
2014-07-30Rename resource? to resource_defined?Jack Nagel
2014-07-30Handle nonexistent files when constructing ConflictErrorJack Nagel
Closes #31051.
2014-07-29Limit exposure of the options data structuresJack Nagel
2014-07-29--cc=: make GNU_GCC checks stricterMisty De Meo
Fixes #30668
2014-07-29Remove unused requireJack Nagel
2014-07-29Use the library path constant to get the library pathJack Nagel
2014-07-29Remove patch hacks from unpackJack Nagel
2014-07-29Remove patch hacks from auditJack Nagel
2014-07-29Simplify internal representation of patchesJack Nagel
- remove support for IO objects, since we no longer access ::DATA directly - since we don't need to support IO objects, use a separate class for string patches and stop wrapping strings in StringIO ojects
2014-07-29Decouple DATA patches from the executing scriptJack Nagel
2014-07-29Store test patches in constantsJack Nagel
2014-07-29Pathname.binreadAdam Vandenberg
2014-07-28Fix up dep directories before activating ENV extensionsJack Nagel
2014-07-28Move the fixopt method into the Build classJack Nagel
2014-07-28Make Patch a module since it only has singleton methodsJack Nagel
2014-07-28Remove inheritance patch classesJack Nagel
2014-07-28Add test 1x1 images for formula test fixtures.Mike McQuaid
images
2014-07-27backport binwrite from Ruby 2.1+Adam Vandenberg
2014-07-27Rename write_binary to binwriteAdam Vandenberg
2014-07-27audit 'def test'Adam Vandenberg
Closes #31120
2014-07-27add Pathname.write_binaryAdam Vandenberg
2014-07-26A period is a valid formula name characterJack Nagel
Fixes #31052.
2014-07-26Add test for reporting tap updatesJack Nagel
2014-07-26Clean up updater testsJack Nagel
2014-07-26Remove obsolete hacks from updater reportJack Nagel
2014-07-26Only populate the report with formula pathsJack Nagel
2014-07-26Switch from backticks to Utils.popen_readJack Nagel
2014-07-26Separate reading and parsing the diffJack Nagel
2014-07-25update: remove unused rename detectionJack Nagel
Right now this code only produces false positives. When we have real support for renames, we can implement it more carefully. Closes #31126.
2014-07-25update: simplify diff parsingJack Nagel
2014-07-24Stop rescuing Exception when making opt linkJack Nagel
2014-07-24Push keg_only special-case into linkJack Nagel
2014-07-24Pass the keg object into link and fix_install_namesJack Nagel
2014-07-24OS::Mac: allow clearing compiler version cache.Mike McQuaid
Without this it’s impossible for brew-test-bot to be able to verify if installing GCC has allowed it to fix a compiler selection failure.
2014-07-23storm 0.9.2Adrian Petrescu
Closes #31025. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-07-23Modify "git rev-parse --verify" args in "has_ref?"Dabrien 'Dabe' Murphy
Per the `git-rev-parse(1)` manpage: --verify Verify that exactly one parameter is provided, and that it can be turned into a raw 20-byte SHA-1 that can be used to access the object database. If so, emit it to the standard output; otherwise, error out. If you want to make sure that the output actually names an object in your object database and/or can be used as a specific type of object For example, git rev-parse "$VAR^{commit}" will make sure $VAR names an existing object that is a commit-ish (i.e. a commit, or an annotated tag that points at a commit). That actually means that: git rev-parse --verify af8e768e2bd3b4398bca033998f83b0eb8874914 will _always_ return the SHA-1 hash — regardless of whether or not that's actually a valid reference! Thus, when `GitDownloadStragtegy#update_repo` tries to check `has_ref?`, it mistakenly succeeds, and doesn't actually do a `git fetch origin`. The fix is to use: git rev-parse --verify "af8e768e2bd3b4398bca033998f83b0eb8874914^{commit}" Fixes #31045. Closes #31054. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-23Stop exposing mirrors arrayJack Nagel
2014-07-22Stop exposing the downloader as an attributeJack Nagel
2014-07-22Hide the downloader implementation from the installerJack Nagel
2014-07-21Ruby 1.8 doesn't have the \h regexp metacharacterJack Nagel
2014-07-21dependency_collector: add :java symbolMike McQuaid
2014-07-21requirements: add JavaDependency.Mike McQuaid
Requested in Homebrew/homebrew-science#1039. Closes #30852.
2014-07-20Simplify onoeJack Nagel
2014-07-20Fix install names in files in sbinJack Nagel