Commit Graph
85 Commits
Author SHA1 Message Date
Adam Vandenberg cd5098b9a3 Add 'brew grep' external command. 2011-03-12 13:26:45 -08:00
Adam Vandenberg fb85fbc6b6 'brew fetch' now an official command 2011-03-12 11:55:11 -08:00
Adam Vandenberg 485a6ee505 'brew options' now an official command 2011-03-12 11:55:10 -08:00
Adam Vandenberg 6f2e80e184 'brew test' now an official command 2011-03-12 11:55:10 -08:00
Max Howell 5cd927b8b5 Some Cleanup 2011-03-12 11:55:03 -08:00
Adam Vandenberg faaa1ad4b1 Move brew-audit to cmds 2011-03-12 11:55:03 -08:00
Max Howell 9afc85ad33 Refactor the brew command into one file per command
The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.

But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.

If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.

Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back.
2011-03-12 11:55:02 -08:00
Martin Kühl 5d7b9eec74 New options: brew graph
Accept any options that `brew deps` accepts.
Default to `--all` to preserve previous behaviour.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-20 18:04:53 -08:00
Adam Vandenberg d042388370 brew-audit - check formula versions 2011-02-20 15:03:17 -08:00
Adam Vandenberg b0ae301c5a brew --compact 2011-02-04 16:52:46 -08:00
Mike McQuaid f6d8d30936 brew-pull: Only append "Closes" to last commit. 2011-01-02 11:42:44 +00:00
Mike McQuaid c9d1e1bfff brew-pull: Handle multipatch pull requests better. 2011-01-02 11:38:22 +00:00
Mike McQuaid fff7e1ca18 brew-pull: only use matched string for url. 2010-12-30 16:30:50 +00:00
Mike McQuaid 1172dc2a5f Improve brew pull to close issues. 2010-12-30 15:27:07 +00:00
Mike McQuaid 0f0844d20f Add missing newline to brew bottle. 2010-12-02 01:13:41 +00:00
Mike McQuaid 883f1e664f Fix brew pull looking at uncommitted work. 2010-12-02 00:10:50 +00:00
Mike McQuaid af1ed49968 Add suffix for bottles to avoid cache confusion. 2010-12-01 23:08:12 +00:00
Mike McQuaid 09b2abe05d Improve reasoning in brew bottle for using gzip. 2010-12-01 23:08:12 +00:00
Mike McQuaid a5e0e0d700 Fix spaced paths with brew bottle.
We shouldn't ever really have these but better to be safe than sorry.
2010-12-01 23:04:33 +00:00
Mike McQuaid 5ca98214ed Change tabs to spaces in brew bottle. 2010-12-01 23:01:54 +00:00
Mike McQuaid d688fa310a Add initial brew bottle implementation. 2010-11-24 09:38:09 +00:00
Lee Packham 9cbd9ad220 Make the regex for URL checking more git friendly
* Urls for Git Commits need to be between 4-40 not 40.

For example:

https://github.com/mxcl/homebrew/commit/805a
https://github.com/mxcl/homebrew/commit/805

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-11-21 13:20:12 +00:00
Mike McQuaid 7d91506078 Don't count --install as a valid brew pull URL.
We were checking that at least one URL argument was added but
the --install parameter was also counted in that.
2010-11-21 10:33:14 +00:00
Mike McQuaid 0bb0cf396c Only try and install using git pull when formula. 2010-11-21 10:32:33 +00:00
Mike McQuaid 805afa14b8 Add brew pull for easy integration of user patches 2010-11-20 12:02:17 +00:00
Adam Vandenberg 06294a82d1 Separate man page for brew-man
Also, revise main man page, and update brew-man command to handle
multiple input files.
2010-11-06 17:36:44 -07:00
Adam Vandenberg 071071ac1d brew-audit - check harder for commented cmake 2010-11-04 08:11:49 -07:00
Adam Vandenberg 274758f677 brew-audit - check for combined make calls 2010-10-30 08:30:40 -07:00
Adam Vandenberg f391e837c7 brew-test - make ENV available to tests 2010-10-25 09:31:06 -07:00
Adam Vandenberg ae9b3ef59f brew-audit - add check for tabs.
Add a new mode "brew audit --warn" that performs stricter checks
that might not need to be fixed.

Currently this includes a check for using tabs instead of spaces
for indentation; Homebrew style is "2-space indentation."

Documented this new switch.
2010-10-21 07:53:37 -07:00
Adam Vandenberg 9ffe2e9e2a brew-audit - don't complain about --HEAD options 2010-10-12 08:44:03 -07:00
Adam Vandenberg 9b8206f7c2 brew-audit - check for include? --HEAD 2010-10-08 20:12:11 -07:00
Adam Vandenberg 844f25d65a brew-missing - don't count outdated as missing 2010-10-01 07:12:21 -07:00
Adam Vandenberg 0dc91ffcab brew-audit - use preferred debian mirror 2010-09-30 10:43:57 -07:00
Adam Vandenberg b34bd5041c brew-fetch - warn if checksums differ 2010-09-17 17:11:27 -07:00
Adam Vandenberg 5b3e9b37ee brew-audit - empty checksums with either type of quote 2010-09-14 16:13:57 -07:00
Adam Vandenberg 931e7d23db brew-audit - check for commented-out dependencies
"brew audit" will now warn about commented-out dependencies.

Updated formulae that had these to either take them out or rewrite
the comments around them.
2010-09-13 15:16:09 -07:00
Adam Vandenberg 42621cb022 brew-audit - check SourceForge urls 2010-09-09 14:16:05 -07:00
Adam Vandenberg 84cd96f302 brew-audit - yet another path shortcut check 2010-09-08 09:22:48 -07:00
Adam Vandenberg b6d36bbab1 brew-audit - check inreplace block var name 2010-09-08 09:07:59 -07:00
Adam Vandenberg 412e829e42 Fix brew-leaves 2010-09-08 07:48:11 -07:00
Adam Vandenberg 1f5f631427 brew-audit - catch more interpolation style issues 2010-09-07 14:36:51 -07:00
Adam Vandenberg 8fcc3fcf4a brew-audit: add check for git and fix warnings 2010-09-07 09:23:29 -07:00
Adam Vandenberg d0a7049535 brew audit - Google Code homes w/o trailing slash
Without a trailing slash, you redirect to the URL w/ a slash, so
might as well have it there in the first place.
2010-08-21 12:00:38 -07:00
Adam Vandenberg 3697022faf Tweak brew server - fixes #2191 2010-08-17 08:28:16 -07:00
Adam Vandenberg 06a471944c Fix brew server and document. 2010-08-15 19:47:46 -07:00
Adam Vandenberg cf6544bf27 Document 'brew missing'. 2010-08-15 15:25:35 -07:00
Adam Vandenberg 4931b65613 Tweak brew missing 2010-08-15 15:23:43 -07:00
Adam Vandenberg 247ac4f255 brew audit - check for FileUtils. 2010-08-15 15:20:56 -07:00
Adam Vandenberg ca2bb30cbc External command "brew missing"
This will print installed brews that are missing deps.
2010-08-15 15:11:09 -07:00