15166 Commits

Author SHA1 Message Date
Gabriel
01c5bc48d2 Create extended os formula specs 2019-06-03 15:52:53 -03:00
Gabriel
a7e3304735 Extends Formula class with mac os #uses_from_macos 2019-06-03 15:52:52 -03:00
Gabriel
79808638a6 Add default #uses_from_macos behaviour to Formula 2019-06-03 15:52:52 -03:00
Gabriel
f2abaf6862 Add #uses_from_macos specs 2019-06-03 15:52:52 -03:00
Misty De Meo
1495cdbf8f macOS Catalina 2019-06-03 11:45:08 -07:00
Mike McQuaid
5524077f7a
Merge pull request #6193 from Homebrew/dependabot/bundler/Library/Homebrew/tins-1.20.3
build: bump tins from 1.20.2 to 1.20.3 in /Library/Homebrew
2019-06-01 11:28:07 +01:00
Markus Reiter
0a0672fade Don't URL-encode cookies. 2019-05-31 23:39:59 +02:00
Markus Reiter
17f6d19b9c Add Cask#install_time method. 2019-05-31 20:50:31 +02:00
Markus Reiter
b12623f4eb Don't redownload “latest” casks unnecessarily. 2019-05-31 20:50:31 +02:00
Markus Reiter
7640dfe601
Merge pull request #6194 from reitermarkus/brew-cask-upgrade
Output all upgradable casks before upgrading.
2019-05-31 20:40:19 +02:00
Markus Reiter
e2369fcde0 Output all upgradable casks before upgrading. 2019-05-31 19:16:04 +02:00
dependabot-preview[bot]
8db3903e85
build: bump tins from 1.20.2 to 1.20.3 in /Library/Homebrew
Bumps [tins](https://github.com/flori/tins) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/flori/tins/releases)
- [Commits](https://github.com/flori/tins/compare/v1.20.2...v1.20.3)
2019-05-31 16:29:38 +00:00
Joe George
2d89e48bbc
Fix #6188
Add trailing -- to git reset when performing a branch reset to remove
ambiguity between revision and file
2019-05-31 08:58:17 -04:00
Tom Forbes
bc320ad229
Support running the Linuxbrew docker image in Kubernetes 2019-05-30 20:06:25 +01:00
dependabot-preview[bot]
4b644c5d39
build: bump rubocop from 0.70.0 to 0.71.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.70.0 to 0.71.0.
- [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.70.0...v0.71.0)
2019-05-30 17:13:37 +00:00
Mike McQuaid
781ad57ded
Merge pull request #6163 from xu-cheng/cask-cache
Add brew cask --cache <cask> command
2019-05-30 08:57:48 +01:00
dependabot-preview[bot]
ae9a477eaa
build: bump ruby-progressbar from 1.10.0 to 1.10.1 in /Library/Homebrew
Bumps [ruby-progressbar](https://github.com/jfelchner/ruby-progressbar) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/jfelchner/ruby-progressbar/releases)
- [Changelog](https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jfelchner/ruby-progressbar/compare/releases/v1.10.0...releases/v1.10.1)
2019-05-28 08:17:57 +00:00
Isabell (Issy) Long
4a5b02661a
[Linux] Don't prompt users to brew cask install
- I tried to install `keybase`, thinking I'd get the CLI. On Linux,
  casks don't work, yet I was still prompted to `brew cask install
  keybase`. When I tried that (just to make sure), I got the "casks are
  only supported on MacOS" error.
- This change makes it so we don't prompt people to install casks if
  they're on platforms other than MacOS.

Before:

```
╭─issyl0@grus /home/linuxbrew/.linuxbrew/Homebrew ‹master›
╰─ $ brew install keybase
Error: No available formula with the name "keybase"
Found a cask named "keybase" instead.
```

After:

```
Error: No available formula with the name "keybase"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
```
2019-05-25 15:44:46 +01:00
Mike McQuaid
7091898014
Merge pull request #6164 from MikeMcQuaid/better-permissions-errors
Improve permissions errors
2019-05-24 18:12:55 +02:00
Mike McQuaid
4759ffb88f
reinstall: handle remove/rename permission errors. 2019-05-24 16:46:54 +01:00
Mike McQuaid
68068875c7
Merge pull request #6168 from zbeekman/accelerate-vs-veclibfort-lapack
Allow Accelerate linkage, deny veclibfort & lapack
2019-05-24 09:32:00 +02:00
Izaak Beekman
0cf8ec7547
Allow Accelerate linkage, deny veclibfort & lapack
- Accelerate provides more than just BLAS and LAPACK functionality, see
   https://developer.apple.com/documentation/accelerate
 - Veclibfort exists only to wrap Accelerate's BLAS/LAPACK
 - LAPACK is a slow, seldom updated reference implementation
 - Encourage usage of OpenBLAS
 - Reverts PR #6130
2019-05-23 19:07:17 -04:00
Mike McQuaid
8908dc51d6
keg: tell people what command will remove keg.
This will work regardless of permissions.
2019-05-23 10:19:34 +02:00
Mike McQuaid
a89a3dfe91
Use whoami consistently in chown commands 2019-05-23 10:19:33 +02:00
Cheng XU
ba517e07e2
fix brew style error
Spec path should end with cask/cmd/cache*_spec.rb.
describe Cask::Cmd::Cache, :cask do
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-05-23 15:50:55 +08:00
Mike McQuaid
c82496cf5c
Merge pull request #6155 from core-code/master
Add configuration to new appcast check
2019-05-23 08:28:56 +01:00
Cheng XU
ebec9d35d9
manpages: add brew cask --cache command 2019-05-23 15:28:00 +08:00
Cheng XU
8ad48f56e8
add test for brew cask --cache 2019-05-23 15:28:00 +08:00
Cheng XU
169ac2d413
cask: add new --cache command
It prints the file used to cache Casks.

This can be used to help users to install casks with their files
downloaded from outside brew.

See #6157.
2019-05-23 15:28:00 +08:00
dependabot[bot]
2ea5a6d878
build: bump rubocop from 0.69.0 to 0.70.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.69.0 to 0.70.0.
- [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.69.0...v0.70.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-22 06:56:14 +00:00
CoreCode
b81ead6dbb
Update appcast.rb 2019-05-21 15:10:39 +02:00
L. E. Segovia
a5fc2ec834
Skip :trash step if no paths exist
Fixes Homebrew/cask#63583
2019-05-21 12:56:23 +00:00
CoreCode
b6840c5638
Update audit.rb 2019-05-21 14:51:06 +02:00
Julian Mayer
0939c8832d Add configuration to new appcast check 2019-05-21 12:07:25 +02:00
Mike McQuaid
7f4aefe41a
Merge pull request #6144 from xu-cheng/bottle
Fix bug in bottles
2019-05-20 20:00:08 +01:00
Mike McQuaid
c3f7b7f94c
brew vendor-gems: commit updates. 2019-05-20 16:58:14 +01:00
Mike McQuaid
c3df5aa513
Merge pull request #6132 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.3.0
build: bump rubocop-performance from 1.2.0 to 1.3.0 in /Library/Homebrew
2019-05-20 15:20:14 +01:00
Cheng Xu
6437a70a5f
Revert "Elide default root_url in the bottle block"
This reverts commit e4f4e0f98b6ff9c0f9f988345c2257fbc151e8b0.

This is no longer necessary as `HOMEBREW_FORCE_HOMEBREW_ON_LINUX`
is set when uploading bottles for Homebrew.
2019-05-20 15:09:31 +08:00
Cheng Xu
2e5fbf57af
brew.sh: export HOMEBREW_BOTTLE_DEFAULT_DOMAIN
It is used in `global.rb` and `brew bottle`.

Closes https://github.com/Homebrew/linuxbrew-core/issues/13110.
2019-05-20 15:09:31 +08:00
Maik Riechert
e113fd70be add HOMEBREW_CURL_RETRIES 2019-05-18 13:23:08 +01:00
Thierry Moisan
816fdd0f5a
bump-revision: raise an error when no formula 2019-05-17 20:50:15 -04:00
Christian Moritz
3bb0f8c665 fix copying top level symlinks to folders in directory unpack_strategy 2019-05-17 00:54:34 +02:00
Mike McQuaid
a1dc808972
brew vendor-gems: commit updates. 2019-05-16 07:55:09 +01:00
dependabot[bot]
c000a78189
build: bump backports from 3.14.0 to 3.15.0 in /Library/Homebrew
Bumps [backports](https://github.com/marcandre/backports) from 3.14.0 to 3.15.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.14.0...v3.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 06:32:21 +00:00
Mike McQuaid
3dc3ab97dc
Merge pull request #6135 from MikeMcQuaid/github-handle-blank-scopes
utils/github: better handle blank scopes.
2019-05-15 15:20:35 +01:00
Chongyu Zhu
0bb29e8253
python_virtualenv_constants: upgrade virtualenv to 16.6.0 2019-05-15 20:05:37 +08:00
Mike McQuaid
2e817d2644
utils/github: better handle blank scopes.
If both provided and required scopes are blank then we cannot display a
good error message so don't try.

Fixes #6134.
2019-05-15 09:18:05 +01:00
Izaak Beekman
056a2d41fd
Add exception for veclibfort linking to Accelerate
- veclibfort exists soley to wrap Apple's accelerate and provide BLAS/LAPACK
   access to Accelerate
 - Improve the help message for that audit to mention veclibfort
2019-05-14 12:04:04 -04:00
Izaak Beekman
b52e23c3ff
Fix audit errors in dev-cmd/bump-revision.rb
- Method alignment was bad across line break in 3 places.
2019-05-14 12:03:06 -04:00
Mike McQuaid
191898ced5
Merge pull request #6127 from issyl0/brew_cask_info_space_between_multiple_casks
Add a blank line between `brew cask info` output for multiple casks
2019-05-14 08:21:41 +01:00