20687 Commits

Author SHA1 Message Date
Markus Reiter
0e1a237c5a
Merge pull request #6493 from Homebrew/dependabot/bundler/docs/rubyzip-2.0.0
build: bump rubyzip from 1.2.4 to 2.0.0 in /docs
2019-09-26 03:48:26 +02:00
Markus Reiter
7c9488d0ab
Merge pull request #6494 from Homebrew/dependabot/bundler/docs/html-proofer-3.13.0
build: bump html-proofer from 3.12.2 to 3.13.0 in /docs
2019-09-26 03:48:02 +02:00
dependabot-preview[bot]
d8d158657b
build: bump html-proofer from 3.12.2 to 3.13.0 in /docs
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.12.2 to 3.13.0.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.12.2...v3.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-25 21:51:11 +00:00
dependabot-preview[bot]
e27073836f
build: bump rubyzip from 1.2.4 to 2.0.0 in /docs
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 1.2.4 to 2.0.0.
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v1.2.4...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-25 21:28:27 +00:00
Mike McQuaid
e6e569fd19
Merge pull request #6489 from dawidd6/create-rust
create: add --rust option
2019-09-25 14:14:58 +01:00
Dawid Dziurla
b4c56937b1
create: add --rust option 2019-09-25 14:29:09 +02:00
Mike McQuaid
1279bba345
Merge pull request #6485 from dawidd6/create-python
create: add --python option
2019-09-25 13:20:53 +01:00
Mike McQuaid
d600ceb0b4
Merge pull request #6488 from MikeMcQuaid/tab-tap
formula_installer: output better tapped formula message.
2019-09-25 13:14:49 +01:00
Dawid Dziurla
da19c15c10
create: simplify conditional in template 2019-09-25 13:59:00 +02:00
Dawid Dziurla
3eef564beb
create: add commented out resource block if --python 2019-09-25 13:41:56 +02:00
Mike McQuaid
c9e0ba7d9b
formula_installer: output better tapped formula message.
If we don't have a tab in the receipt then don't print this message and
just continue as-is.
2019-09-25 10:46:06 +01:00
Dawid Dziurla
7b1288f658
create: add --python option 2019-09-24 19:35:21 +02:00
Mike McQuaid
28fc268060
Merge pull request #6475 from dawidd6/create-go-mod
create: add --go-mod option
2019-09-24 16:44:51 +01:00
Dawid Dziurla
a243f084e6
create: --go-mod -> --go 2019-09-24 16:49:27 +02:00
EricFromCanada
f6ef26a127 Fix OS version logic for uses_from_macos 2019-09-23 13:00:58 -04:00
EricFromCanada
9bd77b1819 formula API: expose uses_from_macos list 2019-09-23 13:00:15 -04:00
Alec Clarke
45806f6a97 Include test casks in the cask style check.
Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style".

This change includes these test cask paths in the checked paths, and also includes the auto style fixes made by running `brew cask style --fix`.
2019-09-23 08:50:24 -04:00
Mike McQuaid
1544988201
Merge pull request #6481 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.12.0
build: bump minitest from 5.11.3 to 5.12.0 in /Library/Homebrew
2019-09-23 13:04:33 +01:00
Gautham Goli
393c8dfbf1 ARGV: Replace options_only and flags_only with Homebrew.args counterparts 2019-09-23 12:39:22 +05:30
dependabot-preview[bot]
ee502a5f23
build: bump minitest from 5.11.3 to 5.12.0 in /Library/Homebrew
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.11.3 to 5.12.0.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/seattlerb/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/compare/v5.11.3...v5.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 06:25:37 +00:00
Markus Reiter
4326a7b22e
Merge pull request #6480 from Homebrew/dependabot/bundler/docs/minitest-5.12.0
build: bump minitest from 5.11.3 to 5.12.0 in /docs
2019-09-23 08:24:11 +02:00
dependabot-preview[bot]
172157ed8e
build: bump minitest from 5.11.3 to 5.12.0 in /docs
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.11.3 to 5.12.0.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/seattlerb/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/compare/v5.11.3...v5.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 05:25:07 +00:00
Gautham Goli
d18b122272 cli_args: Fix options_only and flags_only 2019-09-22 20:28:43 +05:30
Markus Reiter
39dabb4171
Merge pull request #6435 from alecclarke/add-cask-blacklist-to-cask-audit
Check blacklisted Casks when auditing.
2019-09-20 17:36:14 +02:00
Dawid Dziurla
964d189109
regenerate manpages 2019-09-20 17:11:11 +02:00
Mike McQuaid
c8390dfc55
Merge pull request #6459 from issyl0/more-linux-maintainer-docs
More Homebrew/linuxbrew-core maintainer guide sections
2019-09-20 15:13:28 +01:00
Dawid Dziurla
08f51a5d5a
create: add --go-mod option 2019-09-20 16:09:52 +02:00
Mike McQuaid
6a7288e4d3
Merge pull request #6474 from Homebrew/revert-6471-not_always_install_test_deps
Revert "formula_installer: don't always install test deps."
2019-09-20 08:55:55 +01:00
Mike McQuaid
fb12724bdd
Revert "formula_installer: don't always install test deps." 2019-09-20 08:17:50 +01:00
Mike McQuaid
1e584f95c3
Merge pull request #6468 from MikeMcQuaid/brew-cleanup-tweaks
cleanup: some speedup optimisations.
2019-09-19 09:37:15 +01:00
Issy Long
0198011c20
Post-review clarifications 2019-09-19 08:57:22 +01:00
Mike McQuaid
ea0e7f6d62
cleanup: some speedup optimisations.
- avoid calling `rm_ds_store` multiple times when unnecessary
- use native Ruby method to remove `.DS_Store` files as it saves
  shelling out to `find` and is a bit quicker.
2019-09-19 08:42:03 +01:00
Mike McQuaid
1e725f486e
Merge pull request #6471 from scpeters/not_always_install_test_deps
formula_installer: don't always install test deps.
2019-09-19 08:41:05 +01:00
Mike McQuaid
86e9af246b
Merge pull request #6472 from EricFromCanada/json-api-update
Cask: fixes for caveats output
2019-09-19 08:40:39 +01:00
EricFromCanada
c9a75db27d cask: recommend adoptopenjdk as per #6040 2019-09-18 19:28:44 -04:00
EricFromCanada
de26e491e2 cask: remove extra line break in :discontinued caveat 2019-09-18 19:28:44 -04:00
EricFromCanada
a9b9d4613d cask: return nil instead of "" if no caveats 2019-09-18 19:28:44 -04:00
Steven Peters
13647388c1 formula_installer: don't always install test deps.
Fixes #6470.
2019-09-18 15:14:11 -07:00
Mike McQuaid
605a9c6057
Merge pull request #6440 from igas/formula-pr-checklist
Maintainer's checklist on accepting formula PR
2019-09-18 11:47:43 +01:00
Mike McQuaid
aacdf4f2bd
Merge pull request #6463 from alebcay/1xx-status-codes
utils/curl.rb: accept 1xx HTTP status codes
2019-09-18 11:26:16 +01:00
Mike McQuaid
fbc13f05dd
utils/curl: extract status checks into method. 2019-09-18 10:32:13 +01:00
Mike McQuaid
94017ac320
Merge pull request #6464 from idoo/master
Create '.keepme' files in directories
2019-09-18 10:28:46 +01:00
Mike McQuaid
704ea4b4bb
install: add comment explaining why we're creating these files. 2019-09-18 09:44:29 +01:00
Mike McQuaid
8d6ac3869c
install: keep_file must be a Pathname. 2019-09-18 09:44:28 +01:00
Ivan Verevkin
878b79d456
install: create .keepme files in directories. 2019-09-18 09:44:06 +01:00
Markus Reiter
5356ebb20a
Merge pull request #6466 from Homebrew/dependabot/bundler/docs/github-pages-200
build: bump github-pages from 198 to 200 in /docs
2019-09-17 22:50:03 +02:00
dependabot-preview[bot]
fcf5a51399
build: bump github-pages from 198 to 200 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 198 to 200.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v198...v200)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 18:12:35 +00:00
Caleb Xu
78a0105fe2 utils/curl.rb: accept 1xx HTTP status codes
RFC 2616 states:

A client MUST be prepared to accept one or more 1xx status responses
prior to a regular response, even if the client does not expect a 100
(Continue) status message. Unexpected 1xx status responses MAY be
ignored by a user agent.

In the rare cases that we encounter a formula URL with a server that
provides a preliminary 1xx status code, it seems that (at least during
audit) we are failing on encountering this status code, even though
retrieving the file will succeed without issues.
2019-09-17 11:01:03 -04:00
Alec Clarke
af10d13381 Check blacklisted Casks when auditing.
In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ...

To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` steps.
2019-09-17 06:29:46 -07:00
Mike McQuaid
d40a4173d4
Merge pull request #6453 from reitermarkus/brew-ruby
Fix `brew ruby -r`.
2019-09-16 08:32:39 +01:00