14409 Commits

Author SHA1 Message Date
Markus Reiter
72f2bb2643
Merge pull request #5009 from reitermarkus/atomic_write
Fix `atomic_write` inside non-sticky directory.
2018-10-02 16:56:27 +02:00
Markus Reiter
2308f0c571 Skip quitting applications when not logged into GUI. 2018-10-02 16:27:45 +02:00
Markus Reiter
071108b868 Fix atomic_write inside non-sticky directory. 2018-10-02 15:58:34 +02:00
Markus Reiter
52d04dc97c
Merge pull request #5008 from reitermarkus/brew-mirror
Fix `brew mirror`.
2018-10-02 13:58:44 +02:00
Markus Reiter
98a6399e46 Force chmod_R after extracting. 2018-10-02 13:33:00 +02:00
Shaun Jackman
447baab9a0 DevelopmentTools::locate: Prefer brewed tools [Linux] 2018-10-01 15:34:47 -07:00
Chongyu Zhu
c6a2e280a2
xcode: fix expected Clang version for CLT with Xcode 10 (10A255) 2018-10-02 02:51:29 +08:00
Mike McQuaid
1f53099020
Merge pull request #4991 from javian/moverubocopoption
rubocop: move requirement to configuration file
2018-10-01 14:19:11 +01:00
Markus Reiter
a37c02982e Fix brew mirror. 2018-10-01 10:28:07 +02:00
Markus Reiter
fe2f909417
Merge pull request #5001 from reitermarkus/extract-writable
Make all extracted files writable after extracting.
2018-10-01 10:26:06 +02:00
Markus Reiter
bec5272c77
Merge pull request #5000 from reitermarkus/7z
Don’t treat `.7z` as part of a version.
2018-10-01 10:25:41 +02:00
Shaun Jackman
1cdc34eec3 Default compiler is gcc on Linux 2018-09-30 11:20:35 -07:00
Shaun Jackman
47fdc3dfc9 test/compiler_selector: :gcc was renamed to :gcc_4_2 2018-09-30 11:20:35 -07:00
Mike McQuaid
b94a19af60
xcode: note CLT is now updated in System Preferences.
This should avoid some confusion.
2018-09-30 16:58:53 +01:00
Jan Viljanen
3a73c6c9b2 remove exclusions 2018-09-30 16:40:20 +02:00
Jan Viljanen
e5b3b7e326 further updates 2018-09-30 15:35:49 +02:00
Mike McQuaid
1ee8c60834
Merge pull request #4994 from MikeMcQuaid/config-hide-optional
config: hide optional system packages.
2018-09-30 12:49:23 +01:00
Mike McQuaid
6017e505a4
Merge pull request #4936 from lembacon/mojave-clang-version
xcode: update expected version on High Sierra and Mojave with Xcode 10 (10A255)
2018-09-30 12:21:37 +01:00
Mike McQuaid
566b5b45ef
os/mac/diagnostic: don't complain about Xcode version on Azure.
It hasn't been updated yet and we want to be able to update the Xcode
versions for everyone else.
2018-09-30 11:10:19 +01:00
Mike McQuaid
78ddc34847
config: hide optional system packages.
Java, XQuartz and the CLT separate header package aren't required for
everyone's Homebrew usage or a default macOS development install.

As a result, only show then in `brew config` when they are actually
installed.
2018-09-30 10:50:37 +01:00
Mike McQuaid
b5bc65d535
Merge pull request #4999 from sjackman/ld-so
Symlink ld.so [Linux]
2018-09-30 10:22:01 +01:00
JCount
ac801d4d63
Merge pull request #4990 from amyspark/check-xattr
Cask: check if xattr works before quarantining
2018-09-29 12:58:14 -04:00
Markus Reiter
d9da9b66f0 Make all extracted files writable after extracting. 2018-09-29 10:51:38 +02:00
Markus Reiter
c430baaee8 Don’t treat .7z as part of a version. 2018-09-29 10:32:18 +02:00
Shaun Jackman
c0f07db656 Symlink ld.so [Linux] 2018-09-28 14:01:09 -07:00
Jan Viljanen
53109455b8 move requirement 2018-09-28 18:09:03 +02:00
Mike McQuaid
ed9cf2ade6
keg: remove TOP_LEVEL_DIRECTORIES.
No longer needed in `brew test-bot` as of
https://github.com/Homebrew/homebrew-test-bot/pull/192
2018-09-27 08:19:47 +01:00
Jan Viljanen
25b9a7d35b rubocop: move requirement to configuration file
If you are using en external rubocop binary you will encounter the
following error.

.rubocop_todo.yml: RSpec/FilePath has the wrong namespace - should be Rails

By moving the option to the config file an external rubocop would be
treated equally to  brew style  without having to supply additional
command line options.
2018-09-27 04:33:11 +02:00
L. E. Segovia
6d7e49b02b
Cask: check if xattr works before quarantining
Fixes Homebrew/homebrew-cask#52128.
2018-09-26 20:55:54 +00:00
Mike McQuaid
bb177b3055
Merge pull request #4970 from MikeMcQuaid/keg-more-dirs-cleanup
keg: further tweak directory constants.
2018-09-26 09:14:57 +01:00
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
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
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
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
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
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
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