8757 Commits

Author SHA1 Message Date
Mike McQuaid
d36d88edf2 Allow taps to link manpages.
A blocker for https://github.com/caskroom/homebrew-cask/pull/15381
being merged.

Closes Homebrew/homebrew#46795.
2015-12-09 09:09:26 +00:00
Xu Cheng
ed35c18fcf test-tab: tap is a Tap object now
Closes Homebrew/homebrew#46735.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-09 16:57:00 +08:00
Xu Cheng
fe032e3e96 avoid using FORMULA_RENAMES directly 2015-12-09 16:56:59 +08:00
Xu Cheng
571011ad59 migrator: tap is a Tap object now 2015-12-09 16:56:59 +08:00
Xu Cheng
c796198398 formula_versions: tap is a Tap object now 2015-12-09 16:56:59 +08:00
Xu Cheng
9a384f5134 exceptions: tap is a Tap object now 2015-12-09 16:56:59 +08:00
Xu Cheng
62a623f0c3 info: tap is a Tap object now 2015-12-09 16:56:59 +08:00
Xu Cheng
d948ec231d audit: tap is a Tap object now 2015-12-09 16:56:59 +08:00
Xu Cheng
8b510f82c4 bottles: tap is a Tap object now 2015-12-09 16:56:59 +08:00
Xu Cheng
b100ad223d Tap#==: allow compare with string 2015-12-09 16:56:59 +08:00
Xu Cheng
72f4323ea5 Tab#tap: returns tap object 2015-12-09 16:56:59 +08:00
Xu Cheng
5debd5b132 Formula#tap: returns tap object 2015-12-09 16:56:59 +08:00
Xu Cheng
6e92609cf4 Formulary: use same logic to handle core fully-qualified name 2015-12-09 16:56:59 +08:00
Xu Cheng
061a34b138 Formulary.core_path: use CoreFormulaRepository#formula_dir 2015-12-09 16:56:59 +08:00
Xu Cheng
b810c034b7 Formulary: use Tap#alias_dir 2015-12-09 16:56:59 +08:00
Xu Cheng
871ec75524 Formula: use CoreFormulaRepository, avoid duplicated logic 2015-12-09 16:56:59 +08:00
Xu Cheng
2c25303949 remove unnecessary tap_args
It's now handled by Tap.fetch
2015-12-09 16:56:59 +08:00
Xu Cheng
5b435db3bf add Tap#core_formula_repository? 2015-12-09 16:56:59 +08:00
Xu Cheng
9f7a383017 add CoreFormulaRepository singleton class 2015-12-09 16:56:59 +08:00
Xu Cheng
c2a5a8388f Tap: add formula_file_to_name and alias_file_to_name 2015-12-09 16:56:59 +08:00
Xu Cheng
ea81963b8a add Tap#alias_dir 2015-12-09 16:56:59 +08:00
Xu Cheng
327286cdfb add Tap#formula_dir 2015-12-09 16:56:59 +08:00
Xu Cheng
89bd945bb7 Tap: use method instead of variable 2015-12-09 16:56:59 +08:00
Rakesh
d20cd244f4 kbtin: boneyard
Closes Homebrew/homebrew#39167.
Closes Homebrew/homebrew#46727.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-08 22:41:23 +00:00
Rakesh
7693a62909 net6: boneyard 2015-12-08 22:39:27 +00:00
Andrew Janke
92a1fca6e4 manpages: minor markup fixes
Fixes a couple issues left behind by Homebrew/homebrew#46676.

Closes Homebrew/homebrew#46706.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2015-12-08 12:35:20 -05:00
Mike McQuaid
8d6b6a451b brew.rb: handle cask autoinstall when cask tapped.
Otherwise it would assume if `cask` was tapped it was also installed.
2015-12-08 10:41:27 +00:00
Alex Dunn
9b030d382c caveats: indent Emacs Lisp directory
This matches similar caveats messages.
2015-12-07 18:45:40 -08:00
Misty De Meo
a8476c0dbe doctor: remove Xcode 7 on 10.10 warning 2015-12-07 13:17:43 -08:00
Misty De Meo
5ecf3113a8 superenv: set SDKROOT, MACOSX_DEPLOYMENT_TARGET 2015-12-07 13:17:43 -08:00
Misty De Meo
48bdd4811e MacOS.sdk: return newest SDK if requested not found
`MacOS.sdk` and `.sdk_path` will now return the newest installed SDK
instead of nil if called on a system that doesn’t have an SDK for the
currently-installed OS. For example, Xcode 7 on OS X 10.10 does not
include the 10.10 SDK, only the 10.11 SDK; software can be built by
specifying both SDKROOT and MACOSX_DEPLOYMENT_TARGET.
2015-12-07 13:17:43 -08:00
Misty De Meo
3a1d7e7259 MacOS: refactor sdk_path lookup
* Pull SDK lookup code into a new `locator` class, which caches its
  results
* SDKLocator only queries one SDK location, not all SDK locations
* Build a map of all installed SDKs inside that location, instead of
  just the requested SDK
* Ask xcrun for --show-sdk-platform-path first so that all SDKs can be
  found, instead of asking xcodebuild for a specific SDK
* Add a new `SDK` class, which tracks the version and the prefix; add a
  new `MacOS.sdk` method which returns an `SDK` instance instead of a
  bare path; MacOS.sdk_path still returns a bare path
2015-12-07 13:17:43 -08:00
Mike McQuaid
7b26c585c2 test-bot: use uses --recursive.
Sometimes the linkage means the recursive dependencies also link to
libraries and need bumped.
2015-12-07 19:34:42 +00:00
Mike McQuaid
bf2315b1f4 Use (installed) and emoji ticks consistently.
Across info, search and update.

Closes Homebrew/homebrew#45131.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-07 14:56:30 +00:00
Mike McQuaid
d603c03aa3 test-bot: more Jenkins Mavericks 1.8.7 fixes. 2015-12-07 14:08:55 +00:00
Mike McQuaid
f7d3710d12 test-bot: fix cleanup check.
HOMEBREW_RUBY_PATH is always set.
2015-12-07 13:48:28 +00:00
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