3522 Commits

Author SHA1 Message Date
Alex Dunn
ac6ee12994 cmd/install: check time of last update if FormulaUnavailableError
Closes Homebrew/homebrew#40035.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-11 14:36:05 +01:00
Xu Cheng
a2d9d68591 commands: support list all commands without header 2015-07-11 00:07:29 +08:00
Xu Cheng
609af678fd bottle: improve relocation
* skip document for relocatable check
* relocate INSTALL_RECEIPT.json file

Fixes Homebrew/homebrew#41545.

Closes Homebrew/homebrew#41568.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-10 23:28:41 +08:00
Mike McQuaid
913659efe4 pull: wait for Bintray publish, don't sleep.
Closes Homebrew/homebrew#41530.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-10 16:13:52 +01:00
Mike McQuaid
151890148c update: fix --rebase 2015-07-09 23:50:55 +01:00
Mike McQuaid
4f74e891aa audit: deprecate sha1 always.
Rather than just when --strict is set. We're asking people to do these
on most PRs now anyway so feels better to let them find this out with
`brew audit`.

Closes Homebrew/homebrew#41523.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-09 17:45:53 +01:00
Mike McQuaid
8e7f15eff4 audit: include date for Ruby 1.8. 2015-07-09 15:28:49 +01:00
Xu Cheng
f68869cc70 audit: better way to handle --online for audit_formula_name 2015-07-09 22:06:53 +08:00
Mike McQuaid
3ac6005931 audit: add --online flag.
Also add it to the manpage and brew-test-bot.

Closes Homebrew/homebrew#41516.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-09 14:50:55 +01:00
Mike McQuaid
b11ae2abdc update: stash save/pop uncommitted changes.
Also:
- return to your previous branch after `brew update`.

Closes Homebrew/homebrew#38568.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-09 12:33:31 +01:00
Mike McQuaid
804f1431d4 audit: github repo: verify stable formula is set . 2015-07-08 16:28:51 +01:00
Mike McQuaid
333c3d700f audit: slightly loosen GitHub repo audit. 2015-07-08 15:29:55 +01:00
Mike McQuaid
c0c68b2b3f audit: handle some GitHub repo audit edge cases. 2015-07-08 15:19:36 +01:00
Mike McQuaid
51a1792e7a Audit GitHub repository notability.
This stuff seems to be taken better when coming from a script rather
than from a human. Feel free to disagree about the specific numbers
chosen here.
2015-07-08 14:53:48 +01:00
Alex Dunn
48df76dc89 cmd/search --desc: bold formula names
Closes Homebrew/homebrew#40717.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-08 13:56:00 +01:00
Dominyk Tiller
2456c9a4c4 pull: sleep for longer 2015-07-07 23:26:04 +01:00
Xu Cheng
ab9a62370f support downloading bottles through 3rd-party mirror
Closes Homebrew/homebrew#41328.

Closes Homebrew/homebrew#41332.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-06 18:05:00 +08:00
Xu Cheng
4443a87524 stop setting root_url for offical taps' bottles 2015-07-06 18:04:59 +08:00
Misty De Meo
90af721152 deps: Array#keep_if isn't defined in 1.8.7
Fixes Homebrew/homebrew#41365.
2015-07-04 18:26:08 -07:00
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