2014 Commits

Author SHA1 Message Date
Alexis Hildebrandt
e9180b39f5 audit: simplify command-line spelling check
Closes Homebrew/homebrew#42403.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-05 20:19:40 +01:00
Dominyk Tiller
150a9fe514 audit: flag plaintext mirrorservice 2015-08-05 19:45:24 +01:00
Baptiste Fontaine
1bb9c56e9c test-bot: run postinstall on dependencies
Closes Homebrew/homebrew#36027.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-05 20:24:06 +02:00
Baptiste Fontaine
3a733cad09 shell completion of official taps added to 'brew tap'
Closes Homebrew/homebrew#42421.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-03 23:37:00 +02:00
Xu Cheng
1af6ffa950 brew readall --syntax: skip vendor files 2015-08-03 21:27:40 +08:00
Xu Cheng
14f060621e command: fix break caused by style update 2015-08-03 20:51:16 +08:00
Xu Cheng
d62095710f More core files style updates 2015-08-03 20:38:20 +08:00
BrewTestBot
13d544e11e Core files style updates.
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Mike McQuaid
e4ef7f8cb7 Don't try to Rubocop vendored files. 2015-08-03 18:47:23 +08:00
Baptiste Fontaine
79678cb109 online audit: use GET instead of HEAD
I also removed the `-L` flag which is already present in
`HOMEBREW_CURL_ARGS`.

Closes Homebrew/homebrew#42352.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-02 11:15:52 +02:00
Xu Cheng
ac738ae2cd enumerate all formulae by files rather than names
Before
```
$ time brew readall
brew readall  10.63s user 0.36s system 99% cpu 11.003 total
```

After
```
$ time brew readall
brew readall  5.62s user 0.24s system 99% cpu 5.859 total
```

Closes Homebrew/homebrew#42302.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-01 00:49:50 +08:00
Xu Cheng
2ebd1c974b print sandbox message
Closes Homebrew/homebrew#42293.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-31 19:52:36 +08:00
Xu Cheng
a9b9c5ade7 Tap: allow enumerate non-git taps
Also add a `Tap#git?` method to indicate whether the tap is a git
repository.

Closes Homebrew/homebrew#42264.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-30 21:28:52 +08:00
Dominyk Tiller
68b865fcb1 Revert a33c5b9121e66aa650d9d0fc5814202bd26154d0
Revert: "test-bot: ensure from-source initial installation"

This reverts commit a33c5b9121e66aa650d9d0fc5814202bd26154d0.

You know when your fix ends up causing another problem that you then have to
go fix as well? Yup...
2015-07-30 10:14:44 +01:00
Dominyk Tiller
a675aae553 pull: stop printing warning on test-bot
Closes Homebrew/homebrew#42097.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-24 19:22:01 +01:00
Xu Cheng
602ea66a0f bottle_resolve_version: return PkgVersion 2015-07-24 15:59:28 +08:00
Dominyk Tiller
c6e3a0240a test-bot: ensure from-source initial installation 2015-07-23 22:29:03 +01:00
Dominyk Tiller
c0ef6567b8 fetch: don't flag fs modification 2015-07-23 22:28:07 +01:00
Xu Cheng
ebd0f34561 tests: show fs leak result
Closes Homebrew/homebrew#41956.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:27:20 +08:00
Xu Cheng
9e6f1412ad test-bot: run brew tests in no-compat mode
Closes Homebrew/homebrew#42009.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:27:02 +08:00
Xu Cheng
ea21f9bc4d audit: more fix on no-compat mode 2015-07-22 16:41:10 +08:00
Xu Cheng
2648684b3b audit: rename audit_patches to audit_legacy_patches 2015-07-22 16:34:08 +08:00
Xu Cheng
51810ae1ea audit: fix for no-compat mode 2015-07-22 15:27:58 +08:00
Xu Cheng
60600c824c test-bot: build bottle with verbose
It will print out what stops bottle being relocatable.

Closes Homebrew/homebrew#41958.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:23 +08:00
Xu Cheng
8cebb64eec auto disable sandbox for interactive shell
Closes Homebrew/homebrew#38792.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:15 +08:00
Dominyk Tiller
895983fed5 readall: use RUBY_PATH 2015-07-22 05:10:27 +01:00
Alex Dunn
d2c1a182d5 cmd/deps: --tree shows required dependencies only
Until we figure out how to allow --tree to show optional dependencies in
a way that fits on a normal screen, this helps to explain the
discrepancy between `brew deps` and `brew deps --tree`.

Closes Homebrew/homebrew#41841.
Closes Homebrew/homebrew#41947.
2015-07-21 09:44:15 -07:00
Xu Cheng
1ead0d4fe5 tests: use ARGV.include? instead of ARGV.flag? 2015-07-21 15:02:15 +08:00
Baptiste Fontaine
44a8ebdc7e 'brew tests' optional coverage measure added
Closes Homebrew/homebrew#41890.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-20 20:44:12 +02:00
Dominyk Tiller
9877b1e7b8 doctor: update xcode links 2015-07-20 17:32:08 +01:00
Andy Blyler
653053f184 test-bot: handle conflicted formulas and unlinked dependencies
these changes are primarily needed for php tap pull requests, as they usally contain multiple formulas depend on conflicting php versions:
- unlink any conflicted formulas
- link any dependencies that are installed and not linked

Closes Homebrew/homebrew#41602.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-20 08:34:53 +01:00
Rainer M. Krug
86d04e94e9 audit: recognise head-only and devel-only taps.
add wildcard into expressions to identify head-only and dev-only taps
to avoid "head-only" and "devel-only" errors when formula is in
*head-only or *devel-only tap

Closes Homebrew/homebrew#41289.
Closes Homebrew/homebrew#41413.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-18 20:50:12 -07:00
Alex Dunn
da2e4d417d fetch/build formula from source when modified
closes Homebrew/homebrew#36068

Closes Homebrew/homebrew#41397.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-18 19:30:30 -07:00
Baptiste Fontaine
6303ff7e28 audit: missing spaces added in blocks order report
Closes Homebrew/homebrew#41783.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-18 10:45:47 +02:00
Alex Dunn
c7e986d65e use ohai headers at the top of search results
Closes Homebrew/homebrew#41832.
2015-07-17 18:33:34 -07:00
Mike McQuaid
24b0639e27 audit: recommend use of assert_match.
It produces significantly easier output to debug than doing `assert` and
`.include?` (which just shows if it passed or failed).

Closes Homebrew/homebrew#41662.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-14 11:54:38 -07:00
Dominyk Tiller
b554c8bcca audit: clarify desc calculation 2015-07-14 17:15:51 +01:00
Dominyk Tiller
52de5aa984 doctor: remove redundant EOS
Closes Homebrew/homebrew#41667
2015-07-13 18:13:45 +01:00
Mike McQuaid
fe68abf987 doctor: don't point to App Store for Xcode on 10.11.
Closes Homebrew/homebrew#41589.

Closes Homebrew/homebrew#41597.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-13 08:11:06 -07:00
Baptiste Fontaine
3ba3ecba9d audit --online: check homepage reachability
Closes Homebrew/homebrew#41607.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-12 20:32:15 +02:00
Mike McQuaid
7d0d232fb6 cmd/install: fix install warning timeout. 2015-07-11 21:16:00 +01:00
Mike McQuaid
83ab5f90bf install: cleanup outdated repository warning. 2015-07-11 14:36:06 +01:00
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