Xu Cheng
99e9a22b85
describe_homebrew_ruby: s may be a frozen string
2016-07-13 15:18:44 +08:00
Dominyk Tiller
706b06942f
audit: update ruby dependency advice
...
Closes #495 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-13 04:55:59 +01:00
Dominyk Tiller
bd4e24ae8f
superenv: restore HOMEBREW_PREFIX/lib
2016-07-13 01:18:42 +01:00
Andrea Kao
c8812522a4
tests: add cmd/link, cmd/unlink integration tests ( #398 )
2016-07-13 00:22:06 +02:00
Mike McQuaid
cdf4f42ab9
cleaner: fix generic executable handling. ( #498 )
...
Don't unset things that are already set as executable for the generic path.
OS X overrides this behaviour and detects if it's an MachO executable but
there's no cross-OS generic equivalent so just fall back to whatever the build
system has set.
2016-07-12 19:47:27 +01:00
Mike McQuaid
23306ab434
github: produce better curl error messages. ( #441 )
...
* global: add RUBY_TWO global variable.
* test-bot: use RUBY_TWO global variable.
* github: produce better curl error messages.
If we don't know why curl has failed then ensure that the error messages
that it produced are included as part of the user output.
2016-07-12 19:46:29 +01:00
Mike McQuaid
ed1d1e51da
update.sh: improve verbose output and readability. ( #486 )
...
Would have made it easier to debug
https://github.com/Homebrew/homebrew-core/issues/2804 where wasn't clear which
directory was causing the issue.
2016-07-12 19:45:49 +01:00
Mike McQuaid
0d189fae57
superenv: port to generic OS. ( #457 )
2016-07-12 12:01:20 +01:00
Mike McQuaid
498e81c9fc
stdenv: port to generic OS. ( #456 )
2016-07-12 11:39:39 +01:00
Mike McQuaid
873aa670d1
Merge pull request #494 from MikeMcQuaid/vendor-ruby-tweaks
...
Vendored Ruby tweaks
2016-07-12 09:13:23 +01:00
Mike McQuaid
dd14357b48
brew.sh: only setup/install Ruby when running Ruby.
2016-07-12 08:51:36 +01:00
Mike McQuaid
5a2eaf9a12
ruby.sh: allow forcing the usage of the vendored Ruby.
2016-07-12 08:51:36 +01:00
Mike McQuaid
b418fe94c8
ruby.sh: fix original setup ruby path name.
2016-07-12 08:51:36 +01:00
Xu Cheng
c598e1afd5
ENV/scm/git: rewrite in Bash ( #496 )
2016-07-12 15:20:37 +08:00
Martin Afanasjew
768ba34b14
style: use RuboCop 0.41.2, adjust defaults ( #489 )
...
Changes to our style configuration:
- Consolidate all rules related to Ruby 1.8 compatibility in one place.
- Codify our de-facto preference for `alias_method` over `alias` (drops
offense count by 54 after turning this on).
- Drop `Style/SignalException` as `only_raise` has been the new default
for quite a while (since RuboCop 0.37.0).
2016-07-12 07:49:55 +02:00
Xu Cheng
842862c653
ENV/scm/git: only execute file ( #493 )
...
Fixes #491 .
2016-07-11 22:33:48 +08:00
Xu Cheng
fe3915237e
config: show homebrew ruby for all system ( #492 )
2016-07-11 22:32:46 +08:00
Xu Cheng
7508da2876
Merge pull request #404 from xu-cheng/vendor
...
vendor ruby
2016-07-11 21:16:31 +08:00
Xu Cheng
dff6bfde9a
ruby.sh: add test flag
2016-07-11 21:12:57 +08:00
Xu Cheng
534bf08ec3
brew.sh: new HOMEBREW_RUBY_PATH resolution logic
...
* Use vendor Ruby if it's present
* Install vendor Ruby for system without Ruby 2.x
2016-07-11 21:12:56 +08:00
Xu Cheng
a35e3f1fc1
add vendor-install command
2016-07-11 21:12:56 +08:00
Mike McQuaid
4a73249406
Merge pull request #487 from MikeMcQuaid/requirement-tweaks
...
Requirement tweaks
2016-07-11 13:13:40 +01:00
Xu Cheng
8f178187c0
add file directory for vendor Ruby
...
The vendor Ruby will be put inside `Library/Homebrew/vendor/portable-ruby/<version>`,
with a symlink `Library/Homebrew/vendor/portable-ruby/current` pointed to it.
In addition, a `Library/Homebrew/vendor/portable-ruby-version` will
track the latest version of vendor binaries.
This gives us version control on vendor Ruby and enables us to bump vendor
Ruby whenever needed such as security update.
2016-07-11 19:23:00 +08:00
Mike McQuaid
ac229f95b5
test_integration_cmds: compile in install test. ( #479 )
...
Most of our formulae do compilation so let's do it here too.
2016-07-11 09:20:00 +01:00
Mike McQuaid
a00995fa09
osxfuse_requirement: remove formula reference.
...
We’re just supporting the Cask now.
2016-07-11 09:05:40 +01:00
Mike McQuaid
f950261b99
tuntap_requirement: remove formula reference.
...
We’re just supporting the Cask now.
2016-07-11 09:05:40 +01:00
Mike McQuaid
388876c201
osxfuse_requirement: tweak formatting.
...
Nicer to split this onto two lines.
2016-07-11 09:05:40 +01:00
Mike McQuaid
5413ddcb65
tuntap_requirement: fix binary logic.
...
Previously this was only using the last line.
2016-07-11 09:05:40 +01:00
Mike McQuaid
07d904fdb5
requirement: more obvious error message.
...
Make it more obvious which class was unsatisfied to produce this error
message.
2016-07-11 09:03:19 +01:00
Martin Afanasjew
88793ba798
tap-info: improve Bash completion
...
Closes #482 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-10 23:20:56 +02:00
Martin Afanasjew
2c97ae1277
tap-info: expose whether a tap is private
...
Or how many taps are private when summarizing all installed taps.
2016-07-10 23:20:56 +02:00
Martin Afanasjew
cf3806e747
tap-info: expand and correct help text
2016-07-10 23:20:56 +02:00
Dominyk Tiller
64b1822bca
test_language_go: update for HOMEBREW_DEVELOPER odie
...
Closes #488 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-10 21:26:39 +01:00
Dominyk Tiller
373d927e37
languages/go: die on empty arrays if HOMEBREW_DEVELOPER
2016-07-10 21:26:39 +01:00
Dominyk Tiller
e9925d6177
audit: flag incorrect language/go requires
2016-07-10 21:26:39 +01:00
Martin Afanasjew
ecc329e33f
tests: clean up after bottle test
...
Fix minor regression in b55250c44eacd49646407b26a73753965d4d36d0. The
bottle is placed in the current working directory, is unaffected by the
the single teardown introduced in #475 , and thus needs manual handling.
Closes #483 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-10 16:01:10 +02:00
Martin Afanasjew
942e1a726b
tests: fuse broken/split --repository tests
...
The latter was replacing the former due to an identical method name.
2016-07-10 16:01:10 +02:00
Martin Afanasjew
9eed84b85c
tests: remove bogus cleanup test
...
Test was added in 61614d35294c8faffaeb5c7f0ec6dea78dbbc30f, but never
had any effect because it was replaced by a method of the same name a
few lines further down.
2016-07-10 16:01:10 +02:00
Dominyk Tiller
288aff5365
diagnostic: adopt more certain tone
...
Closes #481 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-10 12:41:08 +01:00
Dominyk Tiller
1022bcff06
update: mimic doctor permissions advice
...
We might as well be consistent about it, since it's not obvious to people
what the next step is after we've pointed out the directory isn't writable.
Fixes #476 .
2016-07-10 12:41:08 +01:00
Viktor Szakats
df4982ed08
audit.rb: require https for download.savannah.gnu.org ( #438 )
...
and download-mirror.savannah.gnu.org
2016-07-10 01:43:27 +01:00
Martin Afanasjew
832a08abcd
extend/os/mac/keg_relocate: fix weird omission
2016-07-09 17:06:29 +02:00
Martin Afanasjew
eba437e153
bottle: revert overeager rename in method call
2016-07-09 16:50:35 +02:00
Mike McQuaid
f1c4141885
keg_relocate: port to generic OS. ( #453 )
2016-07-09 13:52:05 +01:00
Mike McQuaid
df7e36b86c
formula_cellar_checks: port to generic OS. ( #452 )
2016-07-09 13:51:53 +01:00
Mike McQuaid
a5ec0aa259
emoji: extract logic into generic OS classes. ( #450 )
2016-07-09 13:51:43 +01:00
Mike McQuaid
4da990587f
tap: run readall when tapping. ( #396 )
...
* readall: move readall logic to new class.
* tap: run readall when tapping.
This will prevent tapping an tap with syntax errors from causing issues
for users.
Fixes #58 .
2016-07-09 13:51:19 +01:00
Martin Afanasjew
4f2e31b3e3
language/python: fix bogus require
...
Including the extension is not an error, but we don't normally do this.
2016-07-09 11:58:43 +02:00
Mike McQuaid
2c792076dc
cmd/install: port to generic OS. ( #458 )
2016-07-08 20:52:07 +01:00
Mike McQuaid
51025a9fa2
brew.sh: enable autoupdate for Homebrew developers ( #429 )
...
Autoupdate has been working well for me/opt-in folks for a while so lets
enable it for Homebrew developers to test before we enable it for
everyone.
2016-07-08 20:30:32 +01:00