Mike McQuaid
b0e39203fe
bottle: don't use empty tab.
2015-12-15 17:05:24 +00:00
Baptiste Fontaine
50f94e5233
audit: don't fail if there's no tap
...
Closes Homebrew/homebrew#47041 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-15 15:52:05 +01:00
Mike McQuaid
214c865167
bottle: make bottle checksums reproducible.
...
I've set all the variable data to versions that are dependent on the
latest source file date and various modification dates also to the
latest source file date. With this if you rerun `brew bottle`
multiple times in a row you will see the same checksum even if you have
`brew reinstall`ed (as long as upstream does not hardcode e.g. the
build date).
I debugged this with diffoscope and worked on this as part of the
Athens 2015 reproducible builds workshop:
https://reproducible-builds.org/events/athens2015/
Closes Homebrew/homebrew#46587 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-15 14:24:18 +00:00
Martin Afanasjew
b0b5d22af1
man: modernize and reduce code duplication
...
Also use `popen_read` instead of `safe_system` for cleaner argument
passing and write the output with `atomic_write`.
Closes Homebrew/homebrew#46826 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-13 22:18:27 +01:00
Martin Afanasjew
4a89cfb1dc
man: remove broken --verbose functionality
2015-12-13 22:18:26 +01:00
Martin Afanasjew
9789726fff
update: make stashing local changes more robust
...
Users with local changes and without a configured Git identity won't be
able to update Homebrew via `brew update`, as the update will fail when
trying to stash the local modifications with `git stash`. They will be
unable to proceed until they follow Git's advice to configure their
identity or they manage to revert their local changes.
This change always sets a commit e-mail and name, avoiding this issue. A
nice bonus is that experienced Git users can see who created the stash
commit (identifying `brew update` as the author).
Fixes Homebrew/homebrew#46930 .
Closes Homebrew/homebrew#46939 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-13 22:18:14 +01:00
Xu Cheng
3cc101ec5e
pull: use tap object
...
Fix the regression introduced by Homebrew/homebrew#46735 .
2015-12-13 01:29:52 +08:00
Mike McQuaid
c347d40f1b
test-bot: allow tapuser/taprepo/tapformula format.
2015-12-11 20:16:05 +00:00
Xu Cheng
71e023a2c6
test-bot: fix resolve_test_tap
2015-12-11 21:46:02 +08:00
Xu Cheng
43713afa5f
test-bot: remove dead code
2015-12-11 17:14:51 +08:00
Mike McQuaid
d48bdcdabb
test-bot: remove ci-reset-and-update.
2015-12-11 08:48:59 +00:00
Xu Cheng
5773ca64c5
test-bot: fix Bintray url for bottle uploading
2015-12-11 16:19:51 +08:00
Mike McQuaid
65b197d2e0
test-bot: fix tap URL detection from Jenkins.
2015-12-11 08:10:59 +00:00
Mike McQuaid
e3dcf7776a
Revert "test-bot: remove dead code."
...
This reverts commit 373da8666e633b06d8a5bb98621461b700f4b2d7.
2015-12-11 08:08:51 +00:00
Mike McQuaid
4b3056e2fc
test-bot: fetch/audit formulae despite requirement
...
It's still useful to do a basic test even if requirements cannot be
satisfied.
2015-12-10 10:43:45 +00:00
Mike McQuaid
d2a44869f0
test-bot: remove dead code.
2015-12-10 10:43:45 +00:00
Josh Hagins
d5de719c2b
Do not brew install brew-cask
...
Refs caskroom/homebrew-cask#15381
Closes Homebrew/homebrew#46845 .
2015-12-10 09:32:53 +00:00
Baptiste Fontaine
48b39ba1e7
audit: flag '--with{,out}-check' options
...
Closes Homebrew/homebrew#46794 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-09 11:29:47 +01:00
Mike McQuaid
d36d88edf2
Allow taps to link manpages.
...
A blocker for https://github.com/caskroom/homebrew-cask/pull/15381
being merged.
Closes Homebrew/homebrew#46795 .
2015-12-09 09:09:26 +00:00
Xu Cheng
fe032e3e96
avoid using FORMULA_RENAMES directly
2015-12-09 16:56:59 +08:00
Xu Cheng
62a623f0c3
info: tap is a Tap object now
2015-12-09 16:56:59 +08:00
Xu Cheng
d948ec231d
audit: tap is a Tap object now
2015-12-09 16:56:59 +08:00
Xu Cheng
6e92609cf4
Formulary: use same logic to handle core fully-qualified name
2015-12-09 16:56:59 +08:00
Xu Cheng
2c25303949
remove unnecessary tap_args
...
It's now handled by Tap.fetch
2015-12-09 16:56:59 +08:00
Misty De Meo
a8476c0dbe
doctor: remove Xcode 7 on 10.10 warning
2015-12-07 13:17:43 -08:00
Mike McQuaid
7b26c585c2
test-bot: use uses --recursive
.
...
Sometimes the linkage means the recursive dependencies also link to
libraries and need bumped.
2015-12-07 19:34:42 +00:00
Mike McQuaid
bf2315b1f4
Use (installed)
and emoji ticks consistently.
...
Across info, search and update.
Closes Homebrew/homebrew#45131 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-07 14:56:30 +00:00
Mike McQuaid
d603c03aa3
test-bot: more Jenkins Mavericks 1.8.7 fixes.
2015-12-07 14:08:55 +00:00
Mike McQuaid
f7d3710d12
test-bot: fix cleanup check.
...
HOMEBREW_RUBY_PATH is always set.
2015-12-07 13:48:28 +00:00
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