8471 Commits

Author SHA1 Message Date
Mike McQuaid
b745546943 Overhaul, simplify and cleanup documentation.
Remove duplication, link to the API documentation more often,
tweak wording, add `@UniqMartin` as a maintainer, note `@jacknagel`'s
and `@adamv`'s significant past contributions to Homebrew, delete some
outdated or unneeded documentation, add some missing `Formula` API.
entries and simplify/improve `CONTRIBUTING.md`.

Closes Homebrew/homebrew#46179.

Closes Homebrew/homebrew#46618.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-07 13:37:49 +00:00
Mike McQuaid
fe8a0569ca update: always reset to origin/master.
Do a reset to `origin/master` and then stash but don't pop the stash
after running update (unless you were on a branch). This may be mildly
more annoying for Homebrew developers but means it's easier for our
users who don't understand Git (and particularly when they don't
understand that every tap is a separate Git repository).

Closes Homebrew/homebrew#45825.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-07 13:37:27 +00:00
Mike McQuaid
3d3c3e0131 test-bot: don't cleanup the HOMEBREW_RUBY_PATH. 2015-12-07 13:30:37 +00:00
Mike McQuaid
17e5c1409f fetch: fall back to source if bottle fails.
This matches the behaviour when `brew install`ing formulae.

Closes Homebrew/homebrew#46490.

Closes Homebrew/homebrew#46619.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-06 21:30:46 +00:00
Andrew Janke
98fbcb7299 manpages: fix missing backtick 2015-12-05 10:23:16 -05:00
Andrew Janke
5230ed2117 man page: finer-grained markup
Closes Homebrew/homebrew#44769

Closes Homebrew/homebrew#46676.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2015-12-05 00:41:32 -05:00
Corey Prophitt
267465ea6f cleanup: don't warn when skipping pinned formula.
Closes Homebrew/homebrew#46604.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-04 18:07:11 +00:00
Dominyk Tiller
1990887191 ipe: boneyard
Closes Homebrew/homebrew#46428.

Closes Homebrew/homebrew#46652.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-04 06:34:51 +00:00
Ellis Berner
036904c9c7 git-encrypt: boneyard
This package is deprecated and no longer used. It can now be found in
the boneyard tap.

Closes Homebrew/homebrew#46592.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-04 05:43:47 +00:00
Dominyk Tiller
92585165f3 Formula-Cookbook: wording clarity 2015-12-04 05:37:19 +00:00
Xu Cheng
48950f2cc0 centralize the logic of handling homebrew- in Tap.fetch
Closes Homebrew/homebrew#46537.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-03 13:46:59 +08:00
Xu Cheng
9755662e49 add String#strip_prefix 2015-12-03 13:46:58 +08:00
Martin Afanasjew
18a743c470 manpage: synchronize maintainer list with README 2015-12-02 00:56:36 +01:00
Martin Afanasjew
f1a7e51d2a bin/brew: avoid unnecessary 'readlink' invocation
For typical installations where `brew` is not a symbolic link, this
reduces the number of processes that need to be spawned.

Closes Homebrew/homebrew#46269.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-01 21:36:05 +01:00
Martin Afanasjew
5b828d4265 bin/brew: avoid unnecessary 'tr' invocation
This reduces the number of processes that need to be forked. If
libtool's `config.guess` is to be trusted, there was never another
spelling/capitalization other that `Darwin`.
2015-12-01 21:36:05 +01:00
Martin Afanasjew
8f175cb03c bin/brew: separate variable assignment and export
This very slightly reduces duplication and the risk of inconsistency by
exporting in one branch, but not the other. By putting all the `export`
statements right before the `exec` it is more obvious what is passed on.
2015-12-01 21:36:05 +01:00
Martin Afanasjew
73a7889de5 bin/brew: quote in assignments for consistency
While `var=$(<command>)` is perfectly valid and won't create any issues,
it is often surprising for less shell-savvy users. Quoting these cases
like in all other instances makes the code more uniform, helps to avoid
future mistakes, and has no downsides.
2015-12-01 21:36:05 +01:00
Martin Afanasjew
fb4a2ea387 bin/brew: be consistent about code style 2015-12-01 21:36:05 +01:00
Baptiste Fontaine
15d4da01d6 shark: migrate from boneyard to science
Closes Homebrew/homebrew#46510.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-30 17:46:57 +01:00
Baptiste Fontaine
7afb9a3600 tcpurify 0.11.2 (new formula, import from boneyard)
Closes Homebrew/homebrew#46394.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-30 13:17:01 +01:00
Alex Dunn
6175ea8ad7 upscaledb 2.1.12 (rename)
Closes Homebrew/homebrew#46434.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-29 19:25:27 -08:00
Mike McQuaid
2fea571863 travis.yml: chown /usr/local. 2015-11-29 16:19:55 +00:00
Xu Cheng
c0f33d650f fix test_formula_pin
Closes Homebrew/homebrew#46468.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-29 20:24:30 +08:00
Xu Cheng
b124c81697 test_tab: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
f442510787 tab: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
fade4af050 formula_pin: use installed_prefixes/installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
863c83a0f5 upgrade: use installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
aaa945be68 missing: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
3e99f16a7d info: use installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
2f50d3a279 doctor: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
cc8859f86a cleanup: use installed_prefixes/installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
0686ebfcc0 formula: use installed_prefixes/installed_kegs
Closes Homebrew/homebrew#46463.
2015-11-29 20:24:30 +08:00
Xu Cheng
6273d464ee add Formula#installed_prefixes and Formula#installed_kegs 2015-11-29 20:24:30 +08:00
Dominyk Tiller
b31f84f270 xcode.md: document xcode 7.1.1
Closes Homebrew/homebrew#46459.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-29 02:11:32 +00:00
Dominyk Tiller
f1b555b150 xcode: expect 7.1.1 2015-11-29 02:11:32 +00:00
Dominyk Tiller
cbab4566dd mac: expect xcode 7.1.1 2015-11-29 02:11:32 +00:00
Mike McQuaid
4a457d191d formula: fix reference to self. 2015-11-27 20:43:13 +00:00
Andrew Thorburn
4c3a6c6022 formula: add missing require.
Closes Homebrew/homebrew#46433.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-27 18:48:38 +00:00
Mike McQuaid
10c79620c1 tab: use cache to avoid rereading the same files.
Closes Homebrew/homebrew#46400.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-27 16:52:54 +00:00
Mike McQuaid
6054666fa6 formula: refactor outdated handling, add to hash. 2015-11-27 16:52:54 +00:00
Zhiming Wang
30d8084643 External-Commands: remove brew-any-tap, brew-desc.
The functionality of both external commands have been merged into core
(#40326 and Homebrew/homebrew#39911).

Closes Homebrew/homebrew#46412.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-27 08:17:42 +00:00
Dominyk Tiller
1e96ec1bde Formula-Cookbook: don't remove bottle revisions 2015-11-26 23:51:11 +00:00
gunnaraasen
293bd76658 Formula-Cookbook: note when to remove revisions
Closes Homebrew/homebrew#46286.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-26 23:46:22 +00:00
Zhiming Wang
5fc2405db3 Fix typo: hyphen-minus instead of en dash in command
Closes Homebrew/homebrew#46408.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-26 15:22:19 -08:00
Alex Dunn
a19de4a94a gptfdisk: boneyard
See Homebrew/homebrew#46378.

Closes Homebrew/homebrew#46398.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-11-26 14:30:06 -08:00
Andrew Janke
d05c4d2408 gist-logs: Friendlier titles and display for log gists
Adds a summary file and description to get more informative displays on gist.github.com.

Closes Homebrew/homebrew#45023.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2015-11-26 12:42:30 -05:00
Xu Cheng
e07adf1619 GitRequirement: use Utils.git_available?
`which("git")` will return incorrect result for OS X without Xcode/CLT
installed, where `/usr/bin/git` is a stub.

Closes Homebrew/homebrew#46386.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-26 20:21:37 +08:00
Dominyk Tiller
fd44154645 gdrive: boneyard
This is a prime candidate for either Homebrew/binary or Caskroom/cask, given the
issues building against newer Go versions with no imminent fix in sight.

Closes Homebrew/homebrew#45916.

Closes Homebrew/homebrew#46301.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-25 21:30:54 +00:00
Daniel Trebbien
af10515f81 Skip pouring from a bottle if --cc is passed
A formula should be built from source by default if the --cc option is
passed to specify a particular compiler.

Added a test to test_formula_installer: test_not_poured_from_bottle_when_compiler_specified

Modified test_formula_installer to assert that the formula was not poured
from a bottle. Similarly modified test_formula_installer_bottle to assert
that the formula *was* installed from a bottle.

Added an install method to the TestballBottle formula (the same as the
Testball formula's install method) so that the TestballBottle formula can
be "built from source".

Fixes Homebrew/homebrew#46046 - Build from source should be the default behavior if --cc
option is passed

Closes Homebrew/homebrew#46162.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-25 16:49:58 +00:00
Baptiste Fontaine
1855dd1da8 dromeaudio 0.3.0 (import from head-only)
Closes Homebrew/homebrew#46163.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-25 11:33:55 +01:00