Mike McQuaid
02cc0be527
Merge pull request #4984 from MikeMcQuaid/json-cache-store
...
cache_store: use JSON.
2018-09-26 08:51:30 +01:00
commitay
1243183294
Merge pull request #4876 from commitay/jdk11
...
java_requirement, cask dsl caveats: JDK 11
2018-09-26 08:35:03 +10:00
Mike McQuaid
9a698d2130
keg: further tweak directory constants.
...
- ensure that `HOMEBREW_CELLAR` is always created on `install`.
- remove the need for a special `PRUNEABLE_DIRECTORIES` variable
- reuse values from existing variables and get `uniq`s.
2018-09-25 22:03:29 +01:00
Mike McQuaid
8b5f64881c
cache_store: use JSON.
...
After all our recent troubles with DBM I figured I'd benchmark the
performance of DBM vs. JSON. At read time (what we care more about) the
performance is pretty much identical and JSON is only 1.5x slower at
write time. This seems worth it for the reliability increases to avoid
messing with unreliable native code.
2018-09-25 21:07:01 +01:00
Mike McQuaid
c35ade18ab
Merge pull request #4983 from MikeMcQuaid/dbm-values-size
...
cache_store: check DBM values size.
2018-09-25 20:18:05 +01:00
Mike McQuaid
5506dc22bd
cache_store: check DBM values size.
...
This seems to reproduce more crashes (and therefore avoid them).
2018-09-25 19:59:12 +01:00
Mike McQuaid
d4f8335f0a
Merge pull request #4978 from MikeMcQuaid/remove-dbm-analytics
...
Remove dbm_test_read analytics.
2018-09-25 16:24:58 +01:00
Mike McQuaid
2ea3aee461
Merge pull request #4833 from jonchang/pypy-support
...
language/python: support pypy
2018-09-25 10:05:51 +01:00
Mike McQuaid
9a4b54f85d
Remove dbm_test_read analytics.
...
This can now be removed because my paranoia was unjustified and it's
successful 99.93% of the time.
2018-09-25 09:56:13 +01:00
Jonathan Chang
3ce4caeb1a
Add tests for language/python
2018-09-24 17:13:51 -04:00
Jonathan Chang
0fe273be5f
language/python: support pypy
2018-09-24 16:24:30 -04:00
Mike McQuaid
899bfbcaf1
Merge pull request #4971 from MikeMcQuaid/default-git-boring
...
system_config: don't print default HOMEBREW_GIT value.
2018-09-24 16:41:19 +01:00
Mike McQuaid
5ac056fa52
system_config: don't print default HOMEBREW_GIT value.
...
This is `git` for most people.
2018-09-23 19:43:30 +01:00
Mike McQuaid
27c2a0a0b4
Merge pull request #4954 from alebcay/prune
...
prune: preserve some directories
2018-09-23 15:29:55 +01:00
Mike McQuaid
144949d786
Merge pull request #4967 from commitay/boring_keys
...
system_config: add `HOMEBREW_MACOS_VERSION_NUMERIC` to `boring_keys`
2018-09-23 09:17:15 +01:00
commitay
2cb253520e
system_config: add HOMEBREW_MACOS_VERSION_NUMERIC
to boring_keys
2018-09-23 12:59:03 +10:00
commitay
f239b7a627
Merge pull request #4958 from commitay/haskell
...
language/haskell: use `v1` commands
1.7.6
2018-09-22 08:43:27 +10:00
Caleb Xu
876021a926
prune: preserve some directories
...
Some directories, while empty, are created in brew upgrade and
should be kept.
2018-09-21 12:52:15 -04:00
Mike McQuaid
d44bc8be27
Merge pull request #4960 from MikeMcQuaid/cache_store_spec_bad_rebase
...
cache_store_spec: fix bad rebase.
2018-09-21 15:53:43 +01:00
Mike McQuaid
0f5ee72073
Merge pull request #4959 from MikeMcQuaid/cache_store_handle_failed_pkill
...
cache_store: handle missing process.
2018-09-21 14:41:56 +01:00
Mike McQuaid
f99f1b611f
cache_store_spec: fix bad rebase.
...
https://github.com/Homebrew/brew/pull/4948#discussion_r219276137
2018-09-21 14:36:38 +01:00
Mike McQuaid
752714b71c
cache_store: add dbm_test_read analytics.
2018-09-21 14:14:51 +01:00
Mike McQuaid
7eb4b92d30
cache_store: handle missing process.
...
If we try to kill the process but it's already dead just ignore it.
2018-09-21 14:09:57 +01:00
commitay
108999f7d7
Merge pull request #4863 from commitay/component-order
...
components_order_cop: add all components
2018-09-21 15:07:18 +10:00
commitay
eb9f9f5e36
language/haskell: use v1
commands
2018-09-21 13:23:39 +10:00
FX Coudert
3192d2d438
Merge pull request #4950 from fxcoudert/mojave2
...
Mojave is being released
2018-09-20 20:32:05 +02:00
Mike McQuaid
8125aba04e
Merge pull request #4948 from MikeMcQuaid/rubocop-rspec-default
...
Install and use RuboCop RSpec by default.
2018-09-20 14:37:39 +01:00
Mike McQuaid
65ef29e71e
Merge pull request #4952 from MikeMcQuaid/superenv-portable-ruby-fix
...
shims/super/cc: detect High Sierra differently.
2018-09-20 14:11:13 +01:00
Mike McQuaid
25249f0114
shims/super/cc: detect High Sierra differently.
...
Don't rely on `RUBY_PLATFORM`'s kernel version as it's the machine that
Ruby was built on (10.5) for portable ruby.
2018-09-20 13:49:10 +01:00
Mike McQuaid
359fb27cfe
Manually fix RuboCop RSpec autofix failures.
2018-09-20 13:40:38 +01:00
Mike McQuaid
79c2ccd0bc
Generate rubocop_todo.yml for RuboCop RSpec
2018-09-20 13:36:42 +01:00
Mike McQuaid
78eba5b815
Autofix RuboCop RSpec failures
2018-09-20 13:36:42 +01:00
Mike McQuaid
da404fcb4e
Install and use RuboCop RSpec by default.
2018-09-20 13:36:41 +01:00
FX Coudert
1a381206c6
docs/Installation: support Sierra or higher
2018-09-20 13:05:42 +02:00
FX Coudert
0967c3e549
os/mac: support Mojave, drop El Capitan
2018-09-20 12:52:37 +02:00
FX Coudert
2901c36798
Merge pull request #4941 from fxcoudert/mojave
...
super/cc: further bump -mmacosx-version-min on Mojave
2018-09-20 12:20:50 +02:00
Mike McQuaid
97dca89e7e
Merge pull request #4949 from MikeMcQuaid/dbm_crash
...
cache_store: handle corrupt DBM database.
2018-09-20 11:16:02 +01:00
Mike McQuaid
a11fe57cd2
cache_store: handle corrupt DBM database.
...
When the DBM database cannot be read by the current version of Ruby's
DBM library (due to corruption or another incompatibility) it segfaults
or freezes which takes down the entire Homebrew Ruby process.
This isn't desirable so instead perform a shell out with the Homebrew
Ruby to see if it can read the DBM database before we try to use the
information. If this hangs or crashes: silently delete the database and
recreate it.
2018-09-20 10:57:27 +01:00
FX Coudert
481ffcf4e1
super/cc: bump -mmacosx-version-min on High Sierra and later
2018-09-20 10:37:35 +02:00
Markus Reiter
1ff42f9058
Merge pull request #4909 from reitermarkus/non-developer
...
Run tests with `HOMEBREW_DEVELOPER` unset.
2018-09-19 21:34:23 +02:00
Mike McQuaid
0ef821765b
Merge pull request #4940 from Homebrew/dependabot/bundler/docs/sass-3.6.0
...
Bump sass from 3.5.7 to 3.6.0 in /docs
2018-09-19 19:08:34 +01:00
Markus Reiter
e5aaf36f7d
Add spec for FormulaInstaller#audit_installed
.
2018-09-19 20:07:15 +02:00
Markus Reiter
7a991985a4
Run tests with HOMEBREW_DEVELOPER
unset.
2018-09-19 19:43:45 +02:00
dependabot[bot]
a4e1e2f90b
Bump sass from 3.5.7 to 3.6.0 in /docs
...
Bumps [sass](https://github.com/sass/ruby-sass ) from 3.5.7 to 3.6.0.
- [Release notes](https://github.com/sass/ruby-sass/releases )
- [Commits](https://github.com/sass/ruby-sass/compare/3.5.7...3.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-19 17:22:08 +00:00
Mike McQuaid
ae7ee0a44c
Merge pull request #4939 from Homebrew/dependabot/bundler/docs/faraday-0.15.3
...
Bump faraday from 0.15.2 to 0.15.3 in /docs
2018-09-19 17:15:58 +01:00
dependabot[bot]
d5c4a6b993
Bump faraday from 0.15.2 to 0.15.3 in /docs
...
Bumps [faraday](https://github.com/lostisland/faraday ) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/lostisland/faraday/releases )
- [Changelog](https://github.com/lostisland/faraday/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday/compare/v0.15.2...v0.15.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-19 15:46:05 +00:00
Chongyu Zhu
e6b80ae7fd
xcode: update expected version on High Sierra with Xcode 10 (10A255)
2018-09-19 23:30:24 +08:00
Mike McQuaid
b614cad3b5
Merge pull request #4938 from MikeMcQuaid/travis-cleanup
...
Cleanup Travis and CI configuration.
2018-09-19 15:36:21 +01:00
Mike McQuaid
59c858a8e8
Cleanup Travis and CI configuration.
...
Use the environment variables set by `brew test-bot`. Eventually we'll
disable Travis CI running CodeCov so move `TRAVIS` references to
`HOMEBREW_TRAVIS_CI` so it doesn't need whitelisted.
Also, fix `azure-pipelines.yml` so it's testing the correct version of
Homebrew/brew (the one checked out in the `pwd`).
2018-09-19 15:01:33 +01:00
William Woodruff
2246780f0b
Merge pull request #4853 from woodruffw/error-pipe-check-closed
...
utils/fork: Check if error pipe is closed
2018-09-19 10:00:01 -04:00