2303 Commits

Author SHA1 Message Date
Mike McQuaid
fe8a0569ca update: always reset to origin/master.
Do a reset to `origin/master` and then stash but don't pop the stash
after running update (unless you were on a branch). This may be mildly
more annoying for Homebrew developers but means it's easier for our
users who don't understand Git (and particularly when they don't
understand that every tap is a separate Git repository).

Closes Homebrew/homebrew#45825.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-07 13:37:27 +00:00
Mike McQuaid
3d3c3e0131 test-bot: don't cleanup the HOMEBREW_RUBY_PATH. 2015-12-07 13:30:37 +00:00
Mike McQuaid
17e5c1409f fetch: fall back to source if bottle fails.
This matches the behaviour when `brew install`ing formulae.

Closes Homebrew/homebrew#46490.

Closes Homebrew/homebrew#46619.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-06 21:30:46 +00:00
Corey Prophitt
267465ea6f cleanup: don't warn when skipping pinned formula.
Closes Homebrew/homebrew#46604.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-04 18:07:11 +00:00
Xu Cheng
48950f2cc0 centralize the logic of handling homebrew- in Tap.fetch
Closes Homebrew/homebrew#46537.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-03 13:46:59 +08:00
Xu Cheng
863c83a0f5 upgrade: use installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
aaa945be68 missing: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
3e99f16a7d info: use installed_kegs 2015-11-29 20:24:30 +08:00
Xu Cheng
2f50d3a279 doctor: use installed_prefixes 2015-11-29 20:24:30 +08:00
Xu Cheng
cc8859f86a cleanup: use installed_prefixes/installed_kegs 2015-11-29 20:24:30 +08:00
Andrew Thorburn
4c3a6c6022 formula: add missing require.
Closes Homebrew/homebrew#46433.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-27 18:48:38 +00:00
Mike McQuaid
6054666fa6 formula: refactor outdated handling, add to hash. 2015-11-27 16:52:54 +00:00
Andrew Janke
d05c4d2408 gist-logs: Friendlier titles and display for log gists
Adds a summary file and description to get more informative displays on gist.github.com.

Closes Homebrew/homebrew#45023.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2015-11-26 12:42:30 -05:00
Mike McQuaid
22b0abbfb8 audit: only run brew style when on Ruby 2.0. 2015-11-25 09:26:42 +00:00
Baptiste Fontaine
e8c8b876af brew-log: warn if shallow clone
Closes Homebrew/homebrew#46283.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-23 15:50:15 +01:00
Martin Afanasjew
cd267e0bce audit: check position of 'revision' and 'keg_only'
Closes Homebrew/homebrew#46178.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-23 04:56:27 +00:00
Mike McQuaid
5388f8c8f8 Travis: don't run cleanup at all. 2015-11-19 13:30:07 +00:00
Mike McQuaid
1a8f6388a6 test-bot: don't cleanup before on Travis.
As we may be using a Ruby 1.8 that this will delete.
2015-11-19 13:18:21 +00:00
Alexis Hildebrandt
a9b380539c brew-deps: improved --tree formatting
Use proper BOX DRAWINGS LIGHT VERTICAL unicode character.

Closes Homebrew/homebrew#46158.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-19 10:20:40 +01:00
Mike McQuaid
c6621faf18 travis: test 10.9 using Ruby 1.8.
Closes Homebrew/homebrew#45816.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-18 17:06:28 +00:00
Mike McQuaid
11a421948d test-bot: remove email support. 2015-11-18 10:28:04 +00:00
Baptiste Fontaine
24a1eeceb3 Common build environment methods moved in build_environment.rb
Closes Homebrew/homebrew#45966.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-17 00:17:22 +01:00
Martin Afanasjew
c55080abd5 audit: respect umask in formula file mode check
Closes Homebrew/homebrew#45837.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-16 20:07:23 +00:00
Xu Cheng
14af3e3515 audit: add godep and sphinx-doc to build time deps
Closes Homebrew/homebrew#46031.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-16 21:12:54 +08:00
Xu Cheng
14fbc8c39e improve brew info
* Show pinned and keg-only as attributes, where pinned
  version is shown as well.
* Use brackets instead of parentheses to distinguish formula
  attributes(e.g. keg-only) with spec attributes(e.g. bottled)
* Don't show blank line for formula without homepage.
* Don't show duplicated keg-only message which will be shown later
  in caveats.
* Underline urls.
* Remove unnecessary github_info return value check, which is always
  existed.

Closes Homebrew/homebrew#46037.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-16 20:59:13 +08:00
Dominyk Tiller
1a4068f0be pull: fix pulling desired bottles 2015-11-12 01:35:58 +00:00
Dominyk Tiller
b381137cef pull: don't try to publish nonexistent bottles
```
Fast-forward
 Library/Formula/ant.rb     |  8 ++++----
 Library/Formula/nailgun.rb | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)
Deleted branch pull-bottle-45902 (was 1fdb73d).
==> Publishing on Bintray:
{"files":3}
==> Publishing on Bintray:
Error: Failure while executing
```

In that case, "jetty-runner" is bottle unneeded, but because I've passed the
pull bottle command for the other two formulae, it attempts to publish a bottle
that isn't there.
2015-11-12 00:19:38 +00:00
Martin Afanasjew
4d772042f7 keg_relocate: remove options from Keg#dylib_id_for
No longer used since commit 3b0cbe6a56d9133941482a9e2d033ad86cdb5e79.

Closes Homebrew/homebrew#45835.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-11 14:23:59 +08:00
Martin Afanasjew
8091b33f85 ruby 1.8: address syntax warnings in Homebrew core
Closes Homebrew/homebrew#45849.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-11 14:22:44 +08:00
Dominyk Tiller
4296ec63eb rubocop: update to 0.35.1 2015-11-10 19:21:37 +00:00
Xu Cheng
d7e95997ae tap: warn already tapped 2015-11-10 18:33:57 +08:00
Mike McQuaid
aab53e65a9 tap: don't error when already tapped. 2015-11-10 09:12:25 +00:00
Mike McQuaid
0c20957f5b test: enable sandbox by default.
Closes Homebrew/homebrew#45843.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-10 09:09:03 +00:00
Alex Dunn
745ec8f7c9 cmd/update: check before tapping
Follow-up to ea6c8f7e2dc8f1adf8df9065468d0b37047d4a46
2015-11-09 07:30:02 -08:00
Alex Dunn
95bbd8ef02 cmd/install: check before tapping
Changes introduced in dfdc570abcd7c19a7b385c2fe8c6b26b12bca646 were
causing installations using fully-qualified formula names to fail.
2015-11-09 07:25:26 -08:00
Xu Cheng
82689d81f7 use Tap#install 2015-11-09 15:34:20 +08:00
Xu Cheng
e97610b916 add Tap#install and Tap#uninstall 2015-11-09 15:34:20 +08:00
Xu Cheng
7f167963b3 test-bot: skip optional deps when computing formulae test order
Closes Homebrew/homebrew#45611.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-07 02:26:33 +08:00
Dominyk Tiller
c7b0173688 doctor: tweak tmp sticky bit check 2015-11-04 12:53:31 +00:00
Xu Cheng
ffbb1828a2 update: always rescue formula loading
Closes Homebrew/homebrew#45676.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04 20:44:28 +08:00
Xu Cheng
ec114bb480 test-bot: cleanup bottle files in cache
Closes Homebrew/homebrew#45637.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04 14:58:00 +08:00
Xu Cheng
20d38701b5 test-bot: hard link generated bottle file to HOMEBREW_CACHE 2015-11-04 14:58:00 +08:00
Dominyk Tiller
85469b99b1 doctor: fix typo
Fixes Homebrew/homebrew#45623.
2015-11-02 21:04:03 +00:00
Dominyk Tiller
7d0c57cc9e doctor: whitelist Paragon ExtFS dylib 2015-11-02 18:27:13 +00:00
Mike McQuaid
39a1ff2aa0 audit: don't flag Gnome devel releases < 1.0. 2015-11-01 09:26:43 -08:00
Mike McQuaid
2614d39087 pull: fix pulling new bottles. 2015-11-01 08:25:02 -08:00
Xu Cheng
ae329a802b pull: use bottle_defined?
Fixes Homebrew/homebrew#45575

Closes Homebrew/homebrew#45577.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01 08:22:18 -08:00
Xu Cheng
593dff3dc1 pull: bottle_unneeded? is covered by bottle_disabled? 2015-11-01 17:51:10 +08:00
Mike McQuaid
18b2d0150e pull: handle unneeded and disabled bottles.
Closes Homebrew/homebrew#45563.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-31 23:45:11 -07:00
Dominyk Tiller
8acac5aa71 doctor: unify chown messages
Closes Homebrew/homebrew#45398.
2015-10-30 18:42:19 +00:00