Commit Graph
897 Commits
Author SHA1 Message Date
Adam Vandenberg e096fba9d8 fix deps
Closes #21113.
2013-07-10 06:59:45 -07:00
Adam Vandenberg d9aa5e3bca github doesn't use .io urls 2013-07-09 20:50:30 -07:00
phinze 90e3fd0f43 Properly define tapped formulae in update
A tapped formula is a ruby file present:

  - in the root of the tap
  - in directory of the tap called Formula
  - in a directory of the tap called HomebrewFormula

And nowhere else. This corrects an overzealous definition of tapped
formula in the updater. (the correct definition has been in Pathname
since e613cbe578)

Refs #19743.
Closes #21087.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-09 20:52:51 -05:00
Adam Vandenberg 6afd6e0f48 audit more template comments 2013-07-05 12:05:29 -07:00
Adam Vandenberg da3e11c6f0 Add audit for leading 'v' in version numbers 2013-07-04 08:49:10 -07:00
Adam Vandenberg bf5f1cafe8 Don't always show an error at the end of brew versions 2013-07-03 10:06:11 -07:00
Adam Vandenberg cd9a87ef44 audit default template comments 2013-07-03 09:20:41 -07:00
Adam Vandenberg bbb9ad2a21 versions: pass string to factory
Closes #20951.
2013-07-01 16:46:05 -07:00
Jack Nagel 08c3fb0ed2 Better behavior for failed connections in brew search
Fixes #20868.
2013-07-01 17:00:08 -05:00
Mike McQuaid 31bf918ecb CLT is just CLT now; not "for Xcode".
References #17383.
2013-07-01 19:02:32 +01:00
Adam Vandenberg 6cf14a7196 audit sourceforge URLs even harder 2013-06-30 12:17:47 -07:00
Jack Nagel ca1048bfca Do this in a saner way 2013-06-29 21:36:04 -05:00
Jack Nagel b1ad9b861c doctor: don't pass pathnames to Formula.factory
Fixes #20908.
2013-06-29 21:26:49 -05:00
Adam Vandenberg 3aca060b8f Add 'unload' 2013-06-29 16:44:45 -07:00
Jack Nagel 99262f41b0 Don't attempt to audit md5 checksums, but complain if they are used 2013-06-29 15:36:44 -05:00
Jack Nagel a16c80add0 Detect versions in tag specs
Closes #18300.
Closes #20891.
2013-06-28 21:17:23 -05:00
Paul Fitzpatrick 9c1bafe53f brew --env: Add missing CPATH environment variable
Closes #20813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-27 21:00:22 -07:00
Jack Nagel fa69f8e3b6 Add an exception for imagemagick in build-time dep audit 2013-06-27 21:17:28 -05:00
Jack Nagel ce0b989c63 Add syntax sugar for MPIDependency
Closes #20797.
2013-06-26 22:18:13 -05:00
Adam Vandenberg 81cc136f34 Be explicit about passing formulae names or instances to Tab 2013-06-26 19:58:08 -07:00
Misty De Meo 37469d3072 info: Only print Cellar info if it exists 2013-06-26 20:19:55 -05:00
Jack Nagel be38b92d68 Don't use 'obj == nil' 2013-06-26 18:47:00 -05:00
Jack Nagel 2db090fd4a audit: don't try to audit missing deps
Refs #20829.
2013-06-26 18:09:12 -05:00
Jack Nagel e4468baae3 Clean up brew options 2013-06-26 15:11:34 -05:00
Adam Vandenberg 579f3d6170 Reword uses comment 2013-06-26 11:33:31 -07:00
Jack Nagel 1553496664 uses: fail fast if invalid formula names are given
Fixes #20819.
2013-06-26 12:59:46 -05:00
Adam Vandenberg 21fef89630 Fix info --github
Closes #20780.
2013-06-25 11:21:04 -07:00
Adam Vandenberg 28126c8163 Add 'From:' to GitHub url for formula
Closes #20724.
2013-06-24 07:43:29 -07:00
Adam Vandenberg 09e477d1f0 Update audit for Fortran dependency 2013-06-24 07:38:25 -07:00
Adam Vandenberg d038bfa1c2 irb: pass strings to factory, not symbols 2013-06-23 13:07:55 -07:00
Adam Vandenberg 61f0054ffa remove no-op code in bottle.rb
ARGV.formulae returns formulae, so no need to pass through factory
2013-06-23 13:02:10 -07:00
Jack Nagel 163067512b Add Utils::JSON to wrap the JSON implementation 2013-06-22 21:34:02 -05:00
Jack Nagel 2b56c52696 deps: allow "--installed --tree" 2013-06-22 12:54:46 -05:00
Jack Nagel acf7595e03 deps: use OpenStruct to capture the mode 2013-06-22 12:54:46 -05:00
Jack Nagel e44df047aa deps: remove need for Array extension 2013-06-22 12:54:45 -05:00
Jack Nagel 7969d97964 deps: extract output methods 2013-06-22 12:54:45 -05:00
Mike McQuaid 88fa0d8eda bottle: sort --merge output in OS X version order. 2013-06-22 11:13:59 +01:00
Jack Nagel f0dfea67f3 Don't clean up lockfiles if the directory doesn't exist
Fixes #20673.
2013-06-21 18:38:39 -05:00
Jack Nagel 68ebacb355 Clean up lockfiles 2013-06-21 15:42:14 -05:00
Samuel John 49d04cb5b7 doctor: share/python no longer needed in PATH
Check for HOMEBREW_PREFIX/share/python and python3
in PATH and tell about the new location and that
files from there can be removed. Also instructions
on how to upgrade python packages are given.
2013-06-19 12:27:50 +02:00
Jack Nagel e17d2a24fc Use Hardware::CPU module 2013-06-14 10:34:17 -05:00
Simon Sigurdhsson ccbbed2ca8 Fix bug in brew list --pinned
Pinned formulae which were pinned at a previous version but then upgraded
would not be listed by `brew list --pinned`. This is due to the good old
"File.exist? thinks broken symlinks don't exist" gotcha, so the test in
the select block in list_pinned has been changed to check if the pin file
exists _or_ is a symlink.

Closes #20423.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-06-13 10:22:03 -05:00
Jack Nagel 387a7002ed Rename variables for clarity 2013-06-12 14:48:17 -05:00
Jack Nagel a2971aeb70 Extract search_taps method 2013-06-12 14:48:17 -05:00
Jack Nagel e3f12e1219 Pull tap list into a constant 2013-06-12 14:48:17 -05:00
Jack Nagel d6d112f227 Remove use of global variable 2013-06-12 14:48:17 -05:00
Jack Nagel cf37904f84 Rename method 2013-06-12 14:48:16 -05:00
Jack Nagel bceae883c7 Extract query construction 2013-06-12 14:48:16 -05:00
Jack Nagel c77e9d5cdf Use inspect instead of escaping quotes 2013-06-12 14:48:16 -05:00
Jack Nagel eb287869ef Move require out of method 2013-06-12 12:23:45 -05:00