8377 Commits

Author SHA1 Message Date
Xu Cheng
b88cb13718 add TapUnavailableError 2015-06-14 21:28:36 +08:00
Dominyk Tiller
696d7f3ba0 manpages: document new environmental variable
Closes Homebrew/homebrew#38835.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-14 13:20:07 +01:00
Dominyk Tiller
794b08fc0d download_strategy: declare insecure redirects
Fixes Homebrew/homebrew#38824
2015-06-14 13:20:07 +01:00
Jack Nagel
552755b3de Update minitest 2015-06-13 21:11:32 -04:00
Dominyk Tiller
f63e7a92bb audit: add npm path nudge 2015-06-13 22:25:26 +01:00
Jack Nagel
be9c5d5d16 Remove some 10.5 hacks 2015-06-13 17:18:17 -04:00
Mike McQuaid
9c7b3b02ce test-bot: always do a git clean -ffdx
This ensures that all nested Git repositories (e.g. taps) are also
deleted. Previously this wasn't needed as we could just rely on the
symlinks in `Library/Formula` being missing but since Xu's good work
this inadvertedly made the bot's `brew uses foo` start showing things
from taps we hadn't previously deleted.
2015-06-13 18:35:19 +01:00
Jack Nagel
bd0f179478 Remove obsolete doctor check
We don't support 10.5 anymore, and tigerbrew doesn't have this check
anymore, either.
2015-06-12 22:58:04 -04:00
Jack Nagel
c4dfacaf0c Fix linked keg-only check when only directories are linked 2015-06-12 20:37:20 -04:00
Jack Nagel
aad4ed7faa Undocument return value of ENV.deparallelize
It's not clear whether it returns MAKEFLAGS with or without -j<n>, and
neither is particularly useful behavior, given you can easily get the
exact value by calling ENV["MAKEFLAGS"]. So let's not commit to this
API.
2015-06-12 20:14:07 -04:00
Xu Cheng
c1fb7a8e4a tap_paths: prevent conflicted formulae happen in the same tap
Closes Homebrew/homebrew#40606.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-12 16:20:44 +08:00
Mike McQuaid
9c3a6a3f52 tap: taps don't need to be Git repositories.
For example e.g. Boxen uses just a managed directory and puts formulae
into it.
2015-06-11 21:54:00 +01:00
PikachuEXE
c704142590 Add tip about devel version bumps
Tip mentioned in https://github.com/Homebrew/homebrew/pull/40570

Closes Homebrew/homebrew#40578.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-11 20:52:09 +01:00
Xu Cheng
f2d0a88292 remove Pathname#find_formula
Closes Homebrew/homebrew#40486.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-11 15:28:30 +08:00
Xu Cheng
d8876a9da4 manpage: add tap-info 2015-06-11 15:28:30 +08:00
Xu Cheng
787934ed6f add brew tap-info 2015-06-11 15:28:29 +08:00
Xu Cheng
44383fecb8 (un)tap/update/readall: use Tap class 2015-06-11 15:28:29 +08:00
Xu Cheng
f7bcfe5115 add Tap class 2015-06-11 15:28:29 +08:00
Larry Gilbert
69b629b041 Various edits for punctuation, grammar, spelling, etc.
Closes Homebrew/homebrew#40478.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-10 17:44:00 +01:00
Mike McQuaid
a631ae1983 formula_installer: don't install runtime dependencies from bottles.
They haven't been linked against so we don't care.

Closes Homebrew/homebrew#40410.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-10 15:25:28 +01:00
Alexandre Espinosa Menor
215b0dbdc7 Added --desc to search subcommand bash_completion
Closes Homebrew/homebrew#40535.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-06-09 21:15:45 -04:00
Ryan Hendrickson
32b3fc064b brew_bash_completion: more coverage
Add completion support for a few more built-in commands.

Closes Homebrew/homebrew#40293.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-06-09 21:15:23 -04:00
Dominyk Tiller
2a6a0e72ac pdftoipe: move to homebrew/head-only
Closes Homebrew/homebrew#40528.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-10 00:51:12 +01:00
Xu Cheng
ea167399a2 audit: fix index method for ruby 1.8
Per
https://github.com/Homebrew/homebrew/pull/40472#issuecomment-110357915
2015-06-09 21:34:44 +08:00
Dominyk Tiller
1cc6fa2e05 style: bump rubocop to 0.32.0
Closes Homebrew/homebrew#40506.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-09 09:20:57 +01:00
Xu Cheng
8604799f1a audit: add rules on field order
Closes Homebrew/homebrew#40472.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-09 16:03:53 +08:00
Jack Nagel
d3ab5e6034 Revert "audit: add rules for non-ascii character and encoding comment"
This reverts commit ab8fe812377bc60cc18fe8d7c1ea8ce2f0269294.
2015-06-08 22:27:28 -04:00
Jack Nagel
7d8bec3f20 Always treat formula files as UTF-8 2015-06-08 22:27:27 -04:00
Xu Cheng
18bb32a04d tap: fix Homebrew/homebrew#40487 2015-06-08 22:13:50 +08:00
Xu Cheng
7a96b6a7fa info: fix plural 2015-06-08 19:05:12 +08:00
Xu Cheng
036b9f6913 cleanup: use bottle_resolve_version
Closes Homebrew/homebrew#40378.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-07 23:51:15 +08:00
Xu Cheng
321d5e5c08 bottles: new method bottle_resolve_vesrion 2015-06-07 23:51:15 +08:00
Xu Cheng
97fff0cd50 bottles: new method bottle_receipt_path
Thanks @sjackman's advice
2015-06-07 23:51:15 +08:00
Xu Cheng
31ca2831f3 Revert "Pathname#version: support bottle version"
This reverts commit 02fba8ce25f1e34c981cb30197e2b4711f88b266.
2015-06-07 23:51:15 +08:00
Xu Cheng
3c418cfb4e bottle: add homepage and desc into regex
Some formulae put `desc` field behind `url` which can make bottle block go to strange place.
So let's add `homepage` and `desc` into bottle regex.

Closes Homebrew/homebrew#40469.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-07 20:33:25 +08:00
Xu Cheng
f8efea0cf3 formula#to_hash: record requirements
Closes Homebrew/homebrew#40451.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-07 20:32:46 +08:00
Xu Cheng
c6e1090c43 requirement: allow access default_formula directly 2015-06-07 20:32:45 +08:00
Viktor Szakats
a8caf3636c Formula-Cookbook: update download strategy example
The new one uses sha256 instead of md5 and
the urls still work and are all https, too.

Closes Homebrew/homebrew#40455.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-06 19:18:42 +01:00
Viktor Szakats
e5186c1541 update docs to use https urls
Closes Homebrew/homebrew#40446.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-06 17:45:41 +08:00
Baptiste Fontaine
67089f3aa2 sdelta3: migrate to boneyard
The original website doesn’t exist anymore, the download URL doesn’t
work and there are no mirrors. Debian doesn’t provide any package for
it, like Fedora and MacPorts.

Closes Homebrew/homebrew#40436.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-06 00:51:17 +02:00
Peter Aronoff
965e2f50c3 brew tap: allow tapping non-GitHub repositories.
`brew tap` restricts users to GitHub and checks for private repos. I
created `brew any-tap` to support a wider variety of taps.

With very small changes (and no extra flags!), this change allows users
to use `brew tap` with GitHub as they always have or add one extra
argument and tap any repository of any type from anywhere.

    brew tap user/name              # Same as it ever was
    brew tap user/name URL          # Tap URL, whatever it happens to be

Closes Homebrew/homebrew#40326.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-05 21:54:12 +01:00
Baptiste Fontaine
d87f9d4359 singular/plural phrasing in audit report
Closes Homebrew/homebrew#40395.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-05 19:32:23 +02:00
Nikolaus Wittenstein
df7dd903cd README: Change brew desc to brew search --desc 2015-06-05 14:47:59 +01:00
Nikolaus Wittenstein
cc21989107 Remove "An" from example-formula's desc
Formula descriptions shouldn't start with an article.
2015-06-05 14:47:59 +01:00
Baptiste Fontaine
1585284ebe Common-Issues: mention deps --installed.
Closes Homebrew/homebrew#40394.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-05 14:26:35 +01:00
Mike McQuaid
f4af833714 Revert "upgrade: announce usage of --all."
This reverts commit 9032f165bec3d0c7452169093fab32578816043b.

This seems to have been universally unpopular so let's revert it.

Closes Homebrew/homebrew#40372.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-05 14:20:21 +01:00
Xu Cheng
ef7eb0750c Pathname#version: support bottle version
Closes Homebrew/homebrew#40365.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-04 20:05:43 +08:00
Ryan Hendrickson
aa49da2600 utils: prefer keg curl over system on 10.6
Closes Homebrew/homebrew#39927.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-04 11:46:25 +01:00
Jack Nagel
9516444dfd Give namespace modules a name so formula objects can be marshaled
Fixes Homebrew/homebrew#40311.
2015-06-02 20:51:16 -04:00
Baptiste Fontaine
919698fdde brew deps --installed support for formulae
Closes Homebrew/homebrew#40233.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-03 00:35:26 +02:00