aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2012-05-03Detect uncompressed tarsAdam Vandenberg
From a patch by @RuiPereira Closes #12011.
2012-05-03Fix brew auditAdam Vandenberg
2012-05-03GitDownloadStrategy: don't pass --depth to fetchJack Nagel
The --depth option is apparently more nuanced that I had originally thought, and while it does not actually break repositories, repeatedly using "--depth 1" can cause problems depending on the structure of the history. Luckily, we don't actually need it to prevent the entire repository from being fetched as long as the fetch respec is set correctly, which we do since 7718c939b06987ff8f1ecd599c8ace6f998ce180. Fixes #12024. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-03ENV.rb: Always return integers from make_jobsCharlie Sharpsteen
When referencing `Hardware.processor_count`, `ENV.make_jobs` will return an integer. If referencing the environment variable `HOMEBREW_MAKE_JOBS`, it returned a string. Now, the function always returns an integer. Fixes #12033.
2012-05-03Revert "ENV.rb: Always return integers from make_jobs"Charlie Sharpsteen
This reverts commit ea1a9e603abe3dab90bf5b157d2614cf58e2cc8e. Argh. Unrelated PySide changes slipped in.
2012-05-03ENV.rb: Always return integers from make_jobsCharlie Sharpsteen
When referencing `Hardware.processor_count`, `ENV.make_jobs` will return an integer. If referencing the environment variable `HOMEBREW_MAKE_JOBS`, it returned a string. Now, the function always returns an integer. Fixes #12033.
2012-05-02zsh: support site specific filesChristian Höltje
This fixes the `site-scripts` and `site-functions` directories so that zsh points to the HOMEBREW_PREFIX version of these files instead of the Cellar version. This means you can drop files in these directories and the files will persist when you upgrade zsh. Otherwise they disappear when you upgrade zsh. Closes #11955. [jn: mkpath everything under share/zsh] Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-02patches - support detection of compression typesAdam Vandenberg
2012-05-02Extract detection of compression typesAdam Vandenberg
Separate out detecting compression types from uncompressing and staging.
2012-05-02GitDownloadStrategy: don't assume --single-branch is availableJack Nagel
git-clone's --single-branch is too new, and Xcode 4.3's stock git doesn't have it. Since we don't require git from Homebrew, don't use it. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-01GitDownloadStrategy optimizationJack Nagel
The current series of fetch invocations in GitDownloadStrategy has the unfortunate behavior of fetching full history even in shallow clones that only need the history between the clone point and the remote HEAD. It should be possible to determine if it is actually necessary to fetch the full history, including all tags, and if it is not to avoid this overhead. Fixes #11958, and several other recurring problems. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-01Don't set GIT_DIR when staging git clonesJack Nagel
GIT_DIR is convenient, but it does not work when both a formula and subformula try to stage a git checkout, as git will use the main formula's repository when staging the subformula. Stop setting it, and restore the kludge to the git-multipush formula. Fixes #10893. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-01Fix Ruby warnings.Mike McQuaid
Fixes #11966.
2012-04-30brew tap: allow dashes in GitHub usernamesMisty De Meo
2012-04-30Improve Formula.resolve_alias warning.Mike McQuaid
2012-04-30Add ofail command and fix bottle command output.Mike McQuaid
2012-04-30Cleanup old bottles.Mike McQuaid
2012-04-30Fix native bottle regex.Mike McQuaid
2012-04-29audit: reduce false-positivesAdam Vandenberg
2012-04-28doctor: add another path to the macgpg2 checkAdam Vandenberg
2012-04-26CurlDownloadStrategy: fix .rar detectionJack Nagel
We now read six bytes instead of four in order to detect xz compression; this broke rar detection which used a string literal instead of a regexp for comparison. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-26mkpath all directories under lib/python*Jack Nagel
The python formula explicity creates lib/python2.7/site-packages. However, that path may already exist as a symlink if something that installs python bindings is installed before python itself. The result is that some random keg will end up hosting the site-packages directory instead of the top-level directory. Fix this by explicitly creating directories under lib/python* during linking. Fixes #11882. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-24Generate the bottle download URL correctly.Mike McQuaid
Fixes #11561. Fixes #11614.
2012-04-24Change versioned bottle syntax and fix issues.Mike McQuaid
Fixed #11562.
2012-04-24Add and correctly find erlang bottle.Mike McQuaid
Fixes #11780.
2012-04-24Fix screwup.Mike McQuaid
2012-04-24Revert "Add and correctly find erlang bottle."Mike McQuaid
This reverts commit 146e253856eb3e27b6b7382734fd178c160c1beb.
2012-04-24Revert "Change versioned bottle syntax and fix issues."Mike McQuaid
This reverts commit f80908bead8b620ebcc5cdde9de65e70598002b6.
2012-04-24Revert "Generate the bottle download URL correctly."Mike McQuaid
This reverts commit 092004e7820791030f568af0e3b03389ea4f7ee3.
2012-04-24Add and correctly find erlang bottle.Mike McQuaid
2012-04-24Change versioned bottle syntax and fix issues.Mike McQuaid
Fixed #11562.
2012-04-24Generate the bottle download URL correctly.Mike McQuaid
Fixes #11561. Fixes #11614.
2012-04-22Fix compiler selection tests on Xcode 4.2+Misty De Meo
MacOS.gcc_42_build_version is nil when not available, not 0
2012-04-22Can't force checkouts if using Leopard system SVNCharlie Sharpsteen
2012-04-20test: improve "formula not installed" error textJack Nagel
Closes #11779. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-20Hardware test: add :arrandaleMisty De Meo
For some reason :arrandale was missing from the list of hardware in the Intel family in the hardware test.
2012-04-19Detect .git as git urlsAdam Vandenberg
2012-04-18tests: add utility method to quell outputJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-17Don't attempt to walk nonexistent directoriesJack Nagel
Fixes #11298. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16tests: silence `zip` output in test_bucketJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16tests: silence test_detect_failed_configureJack Nagel
The standard `nostdout` method doesn't work here because Formula#system does some redirection of its own; both stdout and stderr have to be of the same type, so just do it manually here. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16tests: replace tests script with rake-based runnerJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16tests: setup and teardown cleanupsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-17Allow forcing bottle installation.Mike McQuaid
2012-04-16Fix Git installation warnings (again).Mike McQuaid
We have to install them to lib; anywhere else requires root access, a non-system perl or patching Git. Tried just moving them in 9597d5 but that breaks git-svn.
2012-04-16Fix Qt installation warnings.Mike McQuaid
PRL files are necessary in lib so whitelist them. Debian installs them too: http://packages.debian.org/squeeze/amd64/libqt4-dev/filelist
2012-04-15StandardCompilers: 3.1.4 doesn't have llvmMisty De Meo
2012-04-15info: handle git:// URLs in origin remoteMaurice Kelly
The URL being constructed is only able to extract the correct username when git@ or https:// URLs are found as the origin remote. This change allows git:// to be used as well. Signed-off-by: Maurice Kelly <osv-github@chatswood.org.uk> Closes #11670. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-14tests: reorganize compiler selection testsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-14Add ofail command to print error and exit.Mike McQuaid