Commit Graph
2486 Commits
Author SHA1 Message Date
Matt Torok 8488301b37 Added '--installed' option to deps command.
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.

Closes #18276.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-05 19:43:12 -08:00
Misty De Meo 56669c1645 tap: adjust formula count for unsymlinked files
Relying on the output of `tapped` results in ignoring formulae which
already exist in core, with messages like "Tapped 0 formula" for
non-empty taps.
2013-03-04 12:12:47 -06:00
Jack Nagel cfe799a43d Save a subshell here 2013-03-02 23:28:27 -06:00
Jack Nagel 360fca45d0 Normalize magic encoding comments 2013-03-02 17:43:58 -06:00
Peter Aronoff ebf6ba6ef5 A more helpful error message for brew untap
`brew untap` without arguments currently errors out (as it should), but the
error message is generic and unhelpful. (The error message is borrowed from
a method in the tap command - `tap_args`.)

Closes #18186.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-02 12:11:56 +00:00
Mike McQuaid 1578e1360f cleanup: don't remove old incomplete files twice. 2013-03-02 08:56:58 +00:00
Mike McQuaid 4e1d37ebdc Add environment variable to build bottles. 2013-03-01 17:49:09 +00:00
Mike McQuaid 041060e28f Support 32-bit 10.6 bottles.
Closes #17735.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid 82ecb69a53 Add non-/usr/local bottles support.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid d1cd6b2d86 Add custom bottle URL support.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid 1e4af27b1d Build from source on bottle pour failure.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid f99e05bb49 Cleanup bottle DSL.
* Remove legacy url syntax.
* Use revision instead of version.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid e26b70b6f2 Exclude all located superenv paths.
The previous fix only looked at the current Homebrew but we should
discard hits from other installations of Homebrew too.
2013-02-28 20:53:38 +00:00
Jack Nagel 0baac3bf5f BuildEnvironment: use separate sets for procs and symbols 2013-02-25 14:01:02 -06:00
Misty De Meo 7219530514 doctor: Update Mono pkg-config warning 2013-02-25 11:17:19 -06:00
Adam Vandenberg b9f0824565 Revert "Shouldn't override def patch"
This reverts commit 6963a35651.
2013-02-24 12:16:32 -08:00
Mike McQuaid 9e49a9a8ba brew create: use test DSL 2013-02-23 08:42:45 +00:00
Adam Vandenberg 6963a35651 Shouldn't override def patch 2013-02-22 09:34:06 -08:00
Jack Nagel 117977ca32 Formula: fix class-level version accessor
When given no arguments, this should return the stable version, but it
hasn't since we stopped setting this direction in the class's @version
variable.
2013-02-21 22:19:11 -06:00
Jack Nagel 71524dc44a audit: don't complain about versioned automake depending on autoconf 2013-02-21 16:47:35 -06:00
Mike McQuaid c0793d5296 Only fails_with compiler version for developers.
Actually works properly now.

This reverts commit a0e56345ea.
2013-02-21 21:40:15 +00:00
Mike McQuaid a0e56345ea Revert "Only fails_with compiler version for developers."
This reverts commit c98d504952.
2013-02-20 16:39:04 +00:00
Jack Nagel e078d42740 This file has embedded UTF-8 2013-02-19 14:27:17 -06:00
Jack Nagel 594590e5ad Fix X11 proxy constant lookup under 1.9+ 2013-02-19 10:15:52 -06:00
Mike McQuaid c98d504952 Only fails_with compiler version for developers.
Closes #17618.
Closes #17813.
2013-02-18 19:37:44 +00:00
Jack Nagel 1b6204e52c Silence warning about unescaped square brackets 2013-02-18 12:13:36 -06:00
Jack Nagel 4d341f2115 Don't shadow outer local variables 2013-02-18 12:13:36 -06:00
Jack Nagel 33393a2597 Remove unused variables 2013-02-18 12:13:35 -06:00
Jack Nagel 5a34e80675 Don't use deprecated form of attr
The form "attr :name, true" is deprecated and causes Ruby to emit a
warning in verbose mode. Using attr_{reader,writer,accessor} is more
clear anyway, so do so.
2013-02-18 12:13:34 -06:00
Jack Nagel ee25d02d54 Silence "* interpreted as argument prefix" warnings 2013-02-18 12:13:34 -06:00
Mike McQuaid 9f2782812c brew-create: don't insert autodetected versions. 2013-02-18 10:42:32 +00:00
Mike McQuaid d2273d3223 brew-doctor: fix autocrlf warning (again).
Closes #17843.
2013-02-18 10:42:14 +00:00
Mike McQuaid 4ed4eee942 Add 'brew reinstall' command. 2013-02-18 10:41:53 +00:00
Mike McQuaid f1748d9f9b brew-update: show upgrade command on formula parameters.
Closes #17814.
2013-02-18 10:40:48 +00:00
Jack Nagel 344c8d0d83 Don't shadow outer local variable 2013-02-17 20:57:10 -06:00
Jack Nagel 14fcf67895 GitDownloadStrategy: force checkouts
Local changes to the cached repository should not cause fetch or install
to error out.
2013-02-17 15:54:22 -06:00
Jack Nagel f65b171426 GitDownloadStrategy: reset after checkout during updates
Otherwise, if the local branch is behind the remote branch, or has
diverged, we will stage the wrong revision.
2013-02-17 15:53:35 -06:00
Jack Nagel c7668a73d8 GitDownloadStrategy: factor out checkout args 2013-02-17 15:43:16 -06:00
Jack Nagel 18bfb4310b GitDownloadStrategy: generalize has_tag? to has_ref? 2013-02-17 15:41:24 -06:00
Jack Nagel 012c3bca2e info: open history pages for all specified formulae
Closes #17852.
2013-02-16 21:20:17 -06:00
Jack Nagel 9a6d4168b9 Fix serialization of used_options 2013-02-16 21:19:35 -06:00
Jack Nagel d68bf30986 Fix option flag naming for tap deps
Fixes #17866.
2013-02-16 17:22:11 -06:00
Jack Nagel 727e8fdf3b Add test for String#get_make_var 2013-02-15 00:39:22 -06:00
Jack Nagel 1f7e3e7ec8 Remove redundant return 2013-02-15 00:36:03 -06:00
Jack Nagel a19b7d5793 Make this more idiomatic 2013-02-15 00:35:52 -06:00
Jack Nagel f2f2fa45db GitDownloadStrategy: default to remote HEAD during checkout 2013-02-14 17:29:59 -06:00
Jack Nagel cedca232c2 GitDownloadStrategy: quiet reset in non-verbose mode 2013-02-14 17:29:59 -06:00
Jack Nagel 5bc5bd288c GitDownloadStrategy: only fetch from remote when necessary
When we are building from a tag, and that tag is already present in the
cached repository, we don't to hit the network; everything we need
already exists.
2013-02-14 17:29:58 -06:00
Jack Nagel acf60fb662 GitDownloadStrategy: extract checkout from #stage 2013-02-14 17:29:58 -06:00
Jack Nagel 395b8fda73 GitDownloadStrategy: split up submodule update and checkout 2013-02-14 17:29:58 -06:00