16510 Commits

Author SHA1 Message Date
Michka Popoff
1c016ecee7 brew: remove sudo call
except for "brew services" command
2019-04-16 20:35:41 +02:00
Mike McQuaid
356f72dcc6
Merge pull request #6012 from amyspark/hotpatch-fix-atomic_write
atomic_write: repair permissions after writing
2019-04-14 10:02:15 +01:00
Mike McQuaid
1281c4a663
Merge pull request #5983 from zachauten/continue-upgrading-casks-after-failure
'brew cask upgrade' will continue upgrading casks after a failure
2019-04-14 10:01:32 +01:00
Mike McQuaid
0750971870
Merge pull request #5893 from reitermarkus/version-unstable
Add `#unstable?` method for cask versions.
2019-04-14 10:00:57 +01:00
Mike McQuaid
3b842ef41f
Merge pull request #6014 from vitorgalvao/caskroom-home
cask home: update to brew.sh
2019-04-14 10:00:15 +01:00
EricFromCanada
e0558dc7c7 trim line breaks 2019-04-13 21:37:48 -04:00
EricFromCanada
89f0fcedbe whitespace fixes 2019-04-13 21:32:04 -04:00
EricFromCanada
15c38a2d8b formatting fixes 2019-04-13 21:29:32 -04:00
EricFromCanada
fa6404e0f5 grammar fixes 2019-04-13 21:29:32 -04:00
Vítor Galvão
82d480eddd cask manpages: update homepage to brew.sh 2019-04-13 19:47:53 +01:00
Vítor Galvão
67ca3d372a cask home cmd: update homepage to brew.sh 2019-04-13 19:47:14 +01:00
L. E. Segovia
f9fcdec795
pathname.rb: style fixes 2019-04-13 17:18:14 +00:00
Zach Auten
41b5b788d5 'brew cask upgrade' will continue upgrading casks after a failure
'cask upgrade' command collects all exceptions thrown
from individual casks during the upgrade process. If
there were more than one cask that raised exceptions
during the upgrade process, a MultipleCaskErrors
exception will be thrown.

Issue #5203
2019-04-12 19:26:33 -04:00
L. E. Segovia
f706fffc6c
atomic_write: repair permissions after writing
This restores the original file uid, gid and permissions separately.
(ActiveSupport does it in a single step - atomically. This is not
useful in our use case because it may lead to ACL changes.)

Fixes #5916
2019-04-12 18:46:57 +00:00
Mike McQuaid
a679ec1cb3
Revert "brew: remove sudo call" 2019-04-12 08:29:07 +01:00
Mike McQuaid
1c655916fe
Merge pull request #5993 from amyspark/drop-unzip-in-macos
Drop unzip usage for Homebrew Cask
2019-04-10 09:08:02 +01:00
L. E. Segovia
c6894a23c1
Only merge extended attributes if required 2019-04-09 21:45:35 +00:00
Carlos Eduardo
f9a67019d6
Improve error message on cask doctor
Add fix command on brew cask doctor in case staging directory is not writable.
2019-04-09 13:08:06 -03:00
Mike McQuaid
9856a6c3bb
Merge pull request #6002 from MikeMcQuaid/xcode-requirement-fix
xcode_requirement: fix Swift compatability check.
2019-04-09 16:22:00 +01:00
Mike McQuaid
426c6e2c3f
xcode_requirement: fix Swift compatability check.
Ensure we're using the full macOS version so that
`MacOS::Xcode.version >= "10.14.4"` can ever be true.
2019-04-09 15:59:27 +01:00
dependabot[bot]
ff76d64a23
Bump rspec-its from 1.2.0 to 1.3.0 in /Library/Homebrew
Bumps [rspec-its](https://github.com/rspec/rspec-its) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rspec/rspec-its/releases)
- [Changelog](https://github.com/rspec/rspec-its/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-its/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-09 10:35:10 +00:00
L. E. Segovia
e09d4336a9
Unzip Casks w/ extended attributes with ditto
Fixes Homebrew/homebrew-cask#61386
2019-04-08 22:54:33 +00:00
Marc Seeger
8457fa5af5
Fix 2nd typo in cleaner.rb 2019-04-08 10:33:49 -07:00
Marc Seeger
4f8489faa1
Fix typo in cleaner.rb
Seems like auto-correct was a bit too eager to fix things :) ?
2019-04-08 10:24:56 -07:00
dependabot[bot]
517a2c7e24
Bump rubocop from 0.67.1 to 0.67.2 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.67.1 to 0.67.2.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.67.1...v0.67.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-08 06:34:58 +00:00
Mike McQuaid
b3a6419dc8
Merge pull request #5986 from muescha/patch-1
(cask): change cask template url `'` to `"` to allow string interpolation on version
2019-04-07 08:18:27 +01:00
Michael
2fbe4fe3b7
Update create_spec.rb 2019-04-07 02:10:01 +02:00
Mike McQuaid
b9db71a1ed
Merge pull request #5990 from Homebrew/dependabot/bundler/Library/Homebrew/backports-3.13.0
Bump backports from 3.12.0 to 3.13.0 in /Library/Homebrew
2019-04-06 17:21:43 +01:00
Michael
7ac157703f
change ' to " to allow 2019-04-06 09:30:59 +01:00
Mike McQuaid
cd705782a3
brew vendor-gems: commit updates. 2019-04-06 09:30:09 +01:00
dependabot[bot]
7a03baf56b
Bump backports from 3.12.0 to 3.13.0 in /Library/Homebrew
Bumps [backports](https://github.com/marcandre/backports) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/marcandre/backports/releases)
- [Changelog](https://github.com/marcandre/backports/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/marcandre/backports/compare/v3.12.0...v3.13.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-05 06:28:48 +00:00
Mike McQuaid
825d908d16
search: fix RuboCop style violation. 2019-04-04 19:49:06 +01:00
Mike McQuaid
86a5b86e2b
brew vendor-gems: commit updates. 2019-04-04 19:08:56 +01:00
dependabot[bot]
927f05702f
Bump rubocop from 0.66.0 to 0.67.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.66.0 to 0.67.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.66.0...v0.67.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-04 17:16:18 +00:00
Mike McQuaid
1337da0f89
Merge pull request #5940 from lembacon/xcode-10.2
xcode: upgrade for Xcode 10.2 release
2019-04-04 13:34:34 +01:00
Mike McQuaid
da392cd9e8
xcode_requirement: require macOS 10.14.4 for Xcode 10.2.
See discussion in https://github.com/Homebrew/brew/pull/5940.
2019-04-04 08:34:25 +01:00
Markus Reiter
75aa369102 Fix support for HOMEBREW_EDITOR with args. 2019-04-03 23:49:37 +02:00
Mike McQuaid
8ce7b1d39c
Merge pull request #5958 from xu-cheng/compiler
CompilerSelector: prefer the gcc version offered by the gcc formula
2019-04-03 21:51:48 +01:00
Mike McQuaid
983e542b9a
diagnostic: flag unreadable rather than unavailable formulae.
Fixes #5980.
2019-04-03 19:02:04 +01:00
dependabot[bot]
e6644422fc
Bump simplecov-cobertura from 1.3.0 to 1.3.1 in /Library/Homebrew
Bumps [simplecov-cobertura](https://github.com/dashingrocket/simplecov-cobertura) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/dashingrocket/simplecov-cobertura/releases)
- [Commits](https://github.com/dashingrocket/simplecov-cobertura/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 11:16:29 +00:00
Markus Reiter
4576fb0a68 Force GET for head requests. 2019-04-03 12:08:15 +02:00
Mike McQuaid
20e4262fb9
unpack_strategy: prioritise extension instead.
Instead of only looking at the extension when invoked as part of
Homebrew's formulae' download strategies instead prioritise the
extension if it actually exists. When it does not, fall back to the
magic detection logic which is likely to be more reliable.

Fixes https://github.com/Homebrew/brew/issues/5895
2019-04-03 10:32:29 +01:00
Mike McQuaid
8d01cda922
Merge pull request #5925 from MikeMcQuaid/more-deprecations
Deprecate tap pinning (and remove `odisabled`)
2019-04-03 09:00:06 +01:00
Mike McQuaid
2d3da5d383
Merge pull request #5974 from MikeMcQuaid/unreadable-installed-formulae
diagnostic: report unreadable, installed formulae.
2019-04-03 08:59:54 +01:00
Mike McQuaid
baecc4fdee
diagnostic: report unreadable, installed formulae.
We previously did this somewhat unintentionally. `brew readall` does
this for all formulae but takes way longer.
2019-04-02 19:06:05 +01:00
Markus Reiter
62a0c2fed9 Retry with ditto when “End-of-central-directory signature not found.”. 2019-04-02 13:27:20 +02:00
Mike McQuaid
6987fb4d05
upgrade: make clear formula options are used (not install options). 2019-04-02 08:20:28 +01:00
Mike McQuaid
fdb18b8916
brew install --ignore-dependencies: unsupported, developer flag.
People are using this instead of adjusting their PATH.
2019-04-02 08:18:30 +01:00
Mike McQuaid
7d26a61cc8
Deprecate tap pinning
Tap pinning is not used by Homebrew or the Homebrew maintainers so issues relating to pinned taps (#5418, #5796) don’t get fixed. Tap pinning does not work consistently or reliably and is conceptually confusing to encourage users to use fully-scoped user/tap/formula naming or avoid shadowing core tap formulae' names instead.
2019-04-01 15:07:50 +01:00
Mike McQuaid
d12e39633c
Remove odisabled. 2019-04-01 15:07:50 +01:00