Mike McQuaid
33fa3bacf6
pull: support Jenkins "Homebrew Testing" jobs.
2015-07-03 10:59:53 +01:00
Xu Cheng
78a7dea3a0
add brew command
...
Closes Homebrew/homebrew#41034 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-03 14:22:38 +08:00
Viktor Szakats
c443fe139d
audit: fix/extend ietf.org https rules
...
Domains known to be covered by certificates: https://crt.sh/?q=%25ietf.org
Closes Homebrew/homebrew#41244 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-02 21:31:10 +01:00
Dominyk Tiller
986a62ebe9
audit: flag re-added tap migrations
...
Re 411c217844 (commitcomment-11714539)
Closes Homebrew/homebrew#40806 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-30 03:00:32 +01:00
Xu Cheng
c07f4ad737
outdated: output full name
...
Closes Homebrew/homebrew#41099 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-26 16:56:22 +08:00
Xu Cheng
e04f115f8d
outdated: inline method
2015-06-26 16:56:22 +08:00
Jack Nagel
2bc40ff385
Pull complex condition out of loop
2015-06-25 19:33:47 -04:00
Colin Dean
e12295849d
Adds JSON output to outdated
command
...
After some musing on brunophilipe/Cakebrew#71 , I thought it would
be useful to let Cakebrew and other tools grab the outdated formulae
version information using a method more elegant than regex.
Closes Homebrew/homebrew#30693 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-06-25 19:32:23 -04:00
Dominyk Tiller
83d6c946af
style: bump rubocop to 0.32.1
...
Closes Homebrew/homebrew#41049 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-25 00:12:18 +01:00
Jack Nagel
75642e6271
Use Dir.mktmpdir in doctor
...
This matches how we create temporary directories elsewhere.
2015-06-23 23:20:31 -04:00
Jack Nagel
a1c1c1e3d3
Whitelist ntfs-3g libs
...
Closes Homebrew/homebrew#40950 .
2015-06-23 23:20:31 -04:00
Jack Nagel
22269b7007
Fix audit when tap is nil
...
This is the case when a formula is passed as a filename.
2015-06-23 19:58:37 -04:00
Xu Cheng
692795f82d
list: support --full-name
...
Closes Homebrew/homebrew#29716 .
2015-06-22 22:17:10 +08:00
Xu Cheng
b363175401
improve audit_formula_name performance
...
Closes Homebrew/homebrew#40939 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-22 21:24:50 +08:00
Jack Nagel
7edf3c88f6
Pass formula objects, not strings, into the build environment
2015-06-18 23:13:48 -04:00
Baptiste Fontaine
bd42901fa7
'brew man': abort if a formula is given
...
Closes Homebrew/homebrew#40735 .
Closes Homebrew/homebrew#40736 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-18 20:06:11 +02:00
Xu Cheng
d770a874e4
audit: add benchmark inject code
...
Closes Homebrew/homebrew#40847 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-18 20:30:33 +08:00
Xu Cheng
2f44990ea9
Revert "audit: add benchmark inject code"
...
This reverts commit fb23d603ded2796299ed7fc2f4ffee22870b7ea6.
2015-06-18 15:26:11 +08:00
Xu Cheng
6af47815b0
search: cache remote tap formulae
...
Closes Homebrew/homebrew#40775 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-18 14:46:29 +08:00
Xu Cheng
7a59a3ee37
audit: add benchmark inject code
2015-06-18 14:46:29 +08:00
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