4367 Commits

Author SHA1 Message Date
Jack Nagel
40c0ed8a9a SubversionDownloadStrategy: don't mutate URL string 2013-10-11 19:26:14 -05:00
Jack Nagel
284a3716ea CurlDownloadStrategy: dup mirror list before mutating it 2013-10-11 19:14:52 -05:00
Mike McQuaid
28a20b70fc icu4c: add bottle regex. 2013-10-11 08:40:19 +01:00
Jack Nagel
3f0a409ec5 GitDownloadStrategy: remove redundant use of nostdout 2013-10-11 00:21:25 -05:00
Jack Nagel
9705e922e3 GitDownloadStrategy: remove redundant use of :quiet_flag 2013-10-11 00:21:25 -05:00
Jack Nagel
90b1102f1a GitDownloadStrategy: @@git is always a string, so inline it 2013-10-11 00:21:24 -05:00
Jack Nagel
069d5d2dce SubversionDownloadStrategy: @@svn is always a string, so inline it 2013-10-11 00:21:24 -05:00
Jack Nagel
932091f9e0 VCSDownloadStrategy: pull construction of @clone into superclass 2013-10-11 00:21:23 -05:00
Jack Nagel
ed7f8faed2 VCSDownloadStrategy: rename checkout_name to cache_filename 2013-10-11 00:21:23 -05:00
Jack Nagel
dd719e7ca6 Move cached_location up to VCSDownloadStrategy 2013-10-10 11:24:36 -05:00
Jack Nagel
1626282c45 download_strategy: rename @co to @clone for uniformity 2013-10-10 11:24:35 -05:00
Misty De Meo
4a9cf0dd14 CxxStdlib: use f.recursive_dependencies in stdlib check 2013-10-10 09:09:53 -07:00
Misty De Meo
9c84b3799a formula_installer: pass effective_deps to CxxStdlib 2013-10-10 08:51:38 -07:00
Misty De Meo
c24aca4c58 CxxStdlib: don't check buildtime deps
Otherwise it's possible that certain buildtime dependencies, that won't
be linked against, will block a build.

See Homebrew/homebrew#23115.
2013-10-10 08:51:38 -07:00
Mike McQuaid
a6e2245732 git_etc: update based on bottle etc/var changes. 2013-10-10 16:46:47 +01:00
Mike McQuaid
a9764503b2 formula_installer: handle etc/var in bottles.
Copy these files/folders to a .bottle directory under the Cellar for installation
elsewhere at pouring time.

Temporarily disable HOMEBREW_GIT_ETC methods until fixed.
2013-10-10 16:46:47 +01:00
Mike McQuaid
af4247429b formula: add bottle_prefix method. 2013-10-10 16:46:47 +01:00
Mike McQuaid
19852bc47c Pathname: add cp_path_sub method.
This method allows copying a file to a new location by performing a
substitution on the pathname.
2013-10-10 16:46:47 +01:00
Mike McQuaid
caa2f87728 InstallRenamed: don't overwrite etc files; rename.
If an etc file exists on installation instead of overwriting it (or
requiring all the manual checks in formula) simply copy it with the
extension `.default` appended.
2013-10-10 16:46:47 +01:00
Jack Nagel
05a2261877 MercurialDownloadStrategy: avoid creating Formula object just for opt_prefix 2013-10-10 10:31:08 -05:00
Jack Nagel
4a2fc89c46 S3DownloadStrategy: use temporary_path accessor 2013-10-09 21:55:58 -05:00
Jack Nagel
bf1d04f039 Move checkout_name from AbstractDownloadStrategy to VCSDownloadStrategy 2013-10-09 21:41:15 -05:00
Jack Nagel
3cda215881 VCSDownloadStrategy: destructure spec hash more efficiently 2013-10-09 21:41:15 -05:00
Jack Nagel
6c5a9ae0fb Extract a new superclass for VCS-based download strategies 2013-10-09 21:41:15 -05:00
Jack Nagel
e27574b27b SubversionDownloadStrategy: stop mutating revisions hash 2013-10-09 21:41:14 -05:00
Jack Nagel
3d7de0065b download_strategy: style nits 2013-10-09 21:41:14 -05:00
Jack Nagel
c790a4f45e download_strategy: rename @spec to @ref_type 2013-10-09 21:41:14 -05:00
Mike McQuaid
88e5c4c333 brew-test-bot: remove escape characters. 2013-10-09 09:04:39 +01:00
Jack Nagel
9bd507b7be Remove unused variable 2013-10-08 23:58:48 -05:00
Jack Nagel
051061827c Remove outdated comment 2013-10-08 23:47:35 -05:00
Jack Nagel
424187fc15 Prefer interpolation to concatenation 2013-10-08 23:44:23 -05:00
Jack Nagel
b2516f9989 doctor: avoid using MACOS_VERSION 2013-10-08 23:32:22 -05:00
Misty De Meo
a5f68bb874 detect_cxx_stdlibs: Only detect for dylibs
Fixes Homebrew/homebrew#23115.
2013-10-08 09:04:21 -07:00
Mike McQuaid
01901314e9 brew-test-bot: use REXML to write JUnit file. 2013-10-08 16:45:22 +01:00
Mike McQuaid
85c1e5d02e Revert "brew-test-bot: cleanup junit file with iconv."
This reverts commit 5e26584736b310c365d4b9cce99d0dced9a2d309.
2013-10-08 13:00:27 +01:00
Mike McQuaid
90b7cfb507 brew-test-bot: cleanup junit file with iconv. 2013-10-08 12:13:06 +01:00
Mike McQuaid
8ec2d4594e BuildOptions: detect if building a bottle. 2013-10-08 10:13:03 +01:00
Jack Nagel
fe31e8ddb4 Use MacOS.locate to find otool
Fixes Homebrew/homebrew#23111.
2013-10-07 21:32:18 -05:00
Xiyue Deng
022f1225e6 Fix test failure for C++ stdlib. 2013-10-07 03:40:41 -07:00
Misty De Meo
15963322fd Tab#cxxstdlib: don't try to convert nil to_sym 2013-10-07 00:25:26 -07:00
Misty De Meo
d5ac2deefb Tab#cxxstdlib: remove default stdlib
Fixes Homebrew/homebrew#23089.
2013-10-07 00:15:03 -07:00
Misty De Meo
8e7fcaab1e formula_installer: change default bottle CxxStdlib 2013-10-07 00:02:46 -07:00
Misty De Meo
61ca8721fb Tab.dummy_tab: don't provide default stdlib value 2013-10-07 00:00:43 -07:00
Misty De Meo
80c77e6113 build: fix typo 2013-10-06 19:34:39 -07:00
Misty De Meo
8427e71368 Track the OS's default C++ stdlib 2013-10-06 19:26:06 -07:00
Misty De Meo
87b0137198 CxxStdlib: allow for nil stdlibs
A nil stdlib value represents non-C++ code.
2013-10-06 19:26:06 -07:00
Misty De Meo
74ab023422 Only track C++ stdlibs for C++ code
After a formula is built, scan all mach-o files for dynamic links
to see if any of them point to a C++ stdlib (libc++ or libstdc++).
If one of them is linked, record that information in the formula's tab.

This replaces the old behaviour where all files were assumed to be C++
code, and stdlibs were always tracked regardless of whether they were
actually linked against.

This also modifies the way that tabs are written - now tabs are written
with the stdlib field null, and values are only written if an stdlib
is detected.
2013-10-06 19:26:06 -07:00
Jack Nagel
9c53a1b8b7 Recommend Xcode 5.0.1 GM on 10.9 2013-10-06 17:24:22 -05:00
Misty De Meo
25ab8212a0 FileUtils#copy_metadata: update comment, version 2013-10-06 14:06:25 -07:00
Alex Malinovich
fb929f429f Fix typo in Keg#fixed_name invocation
Closes Homebrew/homebrew#23079.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-10-06 14:20:06 -05:00