Baptiste Fontaine
4648aa54c0
search --desc: cache the query regexp
...
Closes Homebrew/homebrew#40795 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-17 08:43:01 +02:00
Jack Nagel
72cb403a56
Move 10.11 warning to doctor, pre-install, and post-failure
...
Fixes Homebrew/homebrew#40778 .
2015-06-16 20:02:10 -04:00
Xu Cheng
d9b1fec14f
doctor: fix __check_linked_brew
...
This fixes the case when multiple versions of a formula are installed.
Closes Homebrew/homebrew#40777 .
Fixes Homebrew/homebrew#40781 .
Fixes Homebrew/homebrew#40797 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-06-16 19:06:52 -04:00
Xu Cheng
0e3c11ea07
doctor: use Formula.installed directly
...
Before
```
brew doctor 9.83s user 0.52s system 76% cpu 13.563 total
```
After
```
brew doctor 0.25s user 0.16s system 9% cpu 4.332 total
```
Closes Homebrew/homebrew#40770 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-16 16:08:52 +08:00
Mike McQuaid
1e86730289
Rename requirements named *Dependency.
...
Dependency is another similar, related class and it's super confusing
to have some Requirements that are named *Dependency.
Closes Homebrew/homebrew#38891 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-16 08:12:01 +01:00
Jack Nagel
621a7ada95
Remove reference to "open" command
...
Closes Homebrew/homebrew#40706 .
2015-06-15 20:08:46 -04:00
Xu Cheng
4c6da16221
audit: fix for no compat mode
...
Closes Homebrew/homebrew#40731 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-15 17:35:04 +08:00
Xu Cheng
74d99d647d
cleanup: rescue TapFormulaAmbiguityError caused by Dependency#to_formula
...
Closes Homebrew/homebrew#40682 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-15 12:55:47 +08:00
Xu Cheng
3ded175241
uses: rescue TapFormulaAmbiguityError caused by Dependency#to_formula
...
Fixes Homebrew/homebrew#40636 .
2015-06-15 12:55:47 +08:00
Dominyk Tiller
a047fc08d6
audit: enforce http for gnu ftpmirror
2015-06-14 20:17:08 +01:00
Xu Cheng
4101cef3c5
Tap: make remote a separate method to reduce initial overhead
...
Also make remote method only response to installed tap.
2015-06-14 21:28:36 +08:00
Xu Cheng
b88cb13718
add TapUnavailableError
2015-06-14 21:28:36 +08:00
Dominyk Tiller
f63e7a92bb
audit: add npm path nudge
2015-06-13 22:25:26 +01: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
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
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
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
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
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
c6e1090c43
requirement: allow access default_formula directly
2015-06-07 20:32:45 +08: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
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
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
Xu Cheng
023230cb6a
update: only display version changed formulae
...
Closes Homebrew/homebrew#40090 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 17:24:05 +08:00
Xu Cheng
517ced731c
test-bot: use bottle_resolve_formula_names
...
Closes Homebrew/homebrew#40134 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 16:45:44 +08:00
Xu Cheng
be18a816af
bottle: remove bottle_filename_formula_name
2015-06-02 16:45:44 +08:00
Xu Cheng
296ca61510
test-bot: simplify the upload logic
...
If the bottle is already published, let's fail directly.
Also silent the curl output.
Closes Homebrew/homebrew#40295 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 15:41:12 +08:00
Xu Cheng
4cc21fb1f7
audit: audit formulae with the same name
...
Closes Homebrew/homebrew#40216 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-01 20:08:41 +08:00
Xu Cheng
938dc356c1
add official_taps
2015-06-01 20:08:41 +08:00
Xu Cheng
9382557a08
outdated: use Formula#full_name
...
Closes Homebrew/homebrew#40265 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-01 20:01:49 +08:00
Xu Cheng
6d93eee8bb
test-bot: allow overwrite unpublished bottles
...
Closes Homebrew/homebrew#40260 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-01 18:14:28 +08:00
Mike McQuaid
66aae02527
test-bot: tweak bottle uploading.
2015-05-30 11:40:48 +01:00
Xu Cheng
d8f9bfa730
test-bot: remove obsolete tap --repair
2015-05-30 16:04:03 +08:00
Baptiste Fontaine
9e6934d00c
brew-deps: improved --tree formatting
...
Closes Homebrew/homebrew#40018 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-05-29 19:26:27 +02:00
Xu Cheng
932afdd9be
uses: use Formula#full_name
2015-05-29 17:02:23 +08:00
Xu Cheng
082ce482fc
upgrade: use Formula#full_name
2015-05-29 17:02:23 +08:00
Xu Cheng
019bdb25f1
unpack: use Formula#full_name
2015-05-29 17:02:23 +08:00
Xu Cheng
85924eaf9f
test-bot: use Formula#full_name
2015-05-29 17:02:23 +08:00
Xu Cheng
cd22a722e4
test: use Formula#full_name
2015-05-29 17:02:22 +08:00
Xu Cheng
c1830828b2
search: use Formula#full_name
2015-05-29 17:02:22 +08:00
Xu Cheng
3da315167c
reinstall: use Formula#full_name
2015-05-29 17:02:22 +08:00