Commit Graph
338 Commits
Author SHA1 Message Date
Mike McQuaid 898e309651 brew-pull: add missing require. 2013-01-02 21:27:23 +00:00
Mike McQuaid 674165b985 brew-pull: cleanup installation options. 2013-01-02 21:14:03 +00:00
Mike McQuaid 2491b33a06 Add --homebrew-developer flag 2013-01-01 16:39:06 +00:00
Mike McQuaid 892f64ce68 brew-test-bot: don't return success from git function 2012-12-25 19:20:20 +00:00
Mike McQuaid 99838f0e84 brew-test-bot: more Jenkins fixes and cleanup.
* Remove the unused HTML and commenting features.
* Return a good status code.
* Print command output on failure.
* Test bottle installation.
2012-12-22 21:21:42 +00:00
Charlie Sharpsteen 1d34e0d740 brew-pull: Don't pipe diff stats through the pager
Pass the `--no-pager` flag to git when grabbing a diff summary for a patch as
there is no good reason to invoke a pager for ~2-10 lines that the user must
then exit manually.
2012-12-19 12:42:44 -08:00
Mike McQuaid 25e8df55ec brew test-bot: handle dependencies better. 2012-12-16 19:39:54 +00:00
Aaron Suggs 32e188bacc brew-services: fix by using formula.plist_name.
Fixes errors like:

```
 $ brew services restart mysql
Error: Formula `mysql` not installed, #startup_plist not implemented or
no plist file found
```

Closes #16378.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-04 11:36:12 +00:00
Mike McQuaid 47b2e2dc71 brew-test-bot: fix building hashes and cleanup. 2012-12-01 11:46:12 +00:00
Mike McQuaid 98649c4bdb brew-test-bot: fetch before install. 2012-11-25 21:03:57 +00:00
Mike McQuaid d64d01bc9b brew-test-bot: don't cleanup HOMEBREW_PREFIX. 2012-11-25 21:03:57 +00:00
Mike McQuaid d14b5ceff6 brew-test-bot: general cleanup. 2012-11-25 21:03:57 +00:00
Mike McQuaid 3bc6154490 brew-test-bot: support commits as arguments. 2012-11-25 21:03:46 +00:00
Adam Vandenberg 7301b51c1c Update manpage. Fixes #16206. 2012-11-23 11:48:10 -08:00
Jack Nagel 5119803c00 Document some recently added options 2012-11-13 16:56:49 -06:00
Jack Nagel 976366e5ed bash completion for doctor checks 2012-11-13 16:49:43 -06:00
Misty De Meo cb2b95a97e fish completion: complete formula options 2012-11-13 15:46:14 -06:00
Mike McQuaid 670b470943 brew-test-bot: general cleanup. 2012-11-10 13:25:32 +00:00
Mike McQuaid d01dda725b brew-test-bot: Cleanup and improve documentation. 2012-11-10 09:17:21 +00:00
Mike McQuaid fa12688243 brew-test-bot: Change directory only for Git commands. 2012-11-10 09:05:31 +00:00
Mike McQuaid 3fd1f05b57 brew-test-bot: --cleanup (not --clean) and fetch origin. 2012-11-10 08:41:10 +00:00
Mike McQuaid c21033c431 brew-test-bot: print bottle output with --log. 2012-11-10 06:18:34 +00:00
Mike McQuaid e39cfa3e29 brew-test-bot: add skip cleanup, setup options. 2012-11-10 06:18:34 +00:00
Misty De Meo f52ebe5fc7 brew ln --force is now brew ln --overwrite
* Renames --force to --overwrite, freeing up brew ln --force for #13349
* Changes --dry-run to preview linking by default, rather than
  overwriting. An overwrite dry-run can be simulated via both
  --dry-run --overwrite
* Adds some basic Keg tests
2012-10-20 21:00:46 -05:00
Adam Vandenberg 240deab361 Sanity check 2012-10-19 18:56:18 -07:00
Jack Nagel 7ca31d57a1 brew-unpack: don't attempt to mv the build directory
When the current working directory is the root of the build tree, copy
it instead of moving it, otherwise an exception will be raised when we
try to clean up the build tree later.

Noticed when unpacking the vim source tree from a mercurial checkout.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-16 00:56:55 -05:00
Max Howell d53596f41e Always unpack the source tarball, not the bottle 2012-09-23 20:38:16 -04:00
Max Howell 80d6be3303 brew unpack: support -gpf
-g sets up git repo. -f forces even if already there. I found these useful.
2012-09-23 18:31:10 -04:00
Christian Höltje e1a68f1ffb Prevent linkapps from creating duplicate aliases
`brew linkapps` was creating `MacVim` on the first run, then
`MacVim alias` on the second run.

Closes #14955.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-15 12:56:18 -07:00
Ori Peleg bf2e6023d1 linkapp: create Finder aliases
Symlinks to apps don't play well with Spotlight, but Finder alises do,
so let's create them instead.

Closes #14821.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-09 13:00:21 -07:00
Jack Nagel 296f7f4d8d brew-aspell-dictionaries: handle mirrors
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03 23:13:43 -05:00
Alexis Hildebrandt ac2b4a1a13 brew-aspell-dictionaries - generate aspell formulae
This script fetches the current list of aspell dictionaries from
the gnu server and generates formulae that can then be
included into the aspell formula.
This makes updating current dictionaries and adding new ones easier.

Tweaked by Mike to generate SHA1s instead of MD5s.

Closes #12180.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-09-03 19:02:30 -07:00
Mike McQuaid 6aab036178 Add script to convert formulae from MD5 to SHA1. 2012-09-03 11:20:07 -07:00
Mike McQuaid 2e5a38c8b4 brew-test-bot: Only run brew-test if test defined. 2012-09-03 00:31:34 -07:00
Max Howell 025e84d548 Always find git and svn without trying hard
Two wrapper scripts that find git and svn using the ENV variables we support and then searching through the PATH and looking inside Xcode.app if necessary.

Now just calling git or svn in Homebrew code will find and exec the right tool and we can stop fussing.

Apologies to @adamv who is probably unimpressed that the cmds directory has non-commands in it now. If it's consolation these are temporary pending some more work on superenv whereby some more directories are created under the superenv root.
2012-08-29 12:41:36 -04:00
Mike McQuaid 246530cc4f brew-test-bot: add missing 'formula' require. 2012-08-25 13:46:16 -07:00
Adam Vandenberg add682df72 Honor GIT env var 2012-08-22 09:43:30 -07:00
Max Howell a9e43d65a1 Formula.Enumerable
Deprecated Formula.all, replaced usage with more appropriate enumerable options. Just check out how much nicer `brew audit` runs now.
2012-08-21 12:09:05 -04:00
Jack Nagel 41994f9423 brew-mirror-check: update for new specs API
This was missed as part of the specs refactor.

Fixes #14280.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18 12:05:18 -05:00
Max Howell cac059e185 Forgot to remove install_homebrew.rb
It's now in the go branch.
2012-08-17 17:10:59 -04:00
Misty De Meo 0cf17ad43e fish completion: Remove dupe lines, fix commands 2012-08-09 10:57:27 -05:00
Max Howell ea9c52bbe4 Document brew tap --repair 2012-08-07 14:24:09 -04:00
Brandon Black 8aa4f9dd3b Fix issues with writable? detection in brew doctor
Closes #13689.

Signed-off-by: Max Howell <mxcl@me.com>

There are subtle distinctions between writable? and writable_real? we don't
understand precisely why we need this, but it fixes the bugs :/
2012-08-06 22:02:38 -04:00
Misty De Meo 29b2eb06fc Revamp fish completion
The fish completion hadn't been updated since 2009; this brings it up
to date. Changes include:

* Create the list of commands the same way as in bash completion
* Add every option for every current command, with descriptions
* Fixes a bug in fish_complete_brew_command
* Allow fish_complete_brew_command to take multiple commands
* Expand functionality of fish_complete_homebrew_formula to support
  other commands and taps, and change name to reflect new functionality

Tested on fishfish, but should be compatible with fish.
2012-07-25 21:38:45 -05:00
Adam Vandenberg 7e03409233 Make --version/--verbose slightly less confusing. 2012-07-23 14:27:50 -07:00
Misty De Meo 5047c85ced brew-test-bot: move html and css into subdirectory
Also updates the bash-completion to ignore subdirectories, rather than
specific filename patterns.
2012-07-18 08:25:07 -05:00
Misty De Meo 30f93e2690 bash-completion: hide brew-bot support files
Hides files with the extensions ".css" and ".erb" to ensure that the
brew-bot's support files don't show up in tab-completion.
2012-07-17 23:29:28 -05:00
Jack Nagel 2af120b2bd Restore completion for "link" and "ln"
Commit 3b5d7939d9 added completion for
`brew link` options, but disabled completion of the actual command
itself.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-12 02:41:12 -05:00
Adam Vandenberg 3b5d7939d9 Add completions for brew link 2012-07-11 20:08:09 -07:00
Misty De Meo bf051054b6 link: add --force and --dry-run options
`brew link` can now be made to delete any conflicting files using
the --force argument. It also has a --dry-run option, similar to
git clean -n, which will list any files which would be deleted
without touching the filesystem.

Closes #11811.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-09 12:01:09 -05:00