2836 Commits

Author SHA1 Message Date
Steven Peters
7116b74705 dev-cmd/bottle: require arg for --root-url 2018-10-29 14:54:37 -07:00
dependabot[bot]
6d9143fab5
Bump parallel_tests from 2.26.0 to 2.26.2 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.26.0 to 2.26.2.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.26.0...v2.26.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 17:28:23 +00:00
Jarek Wojciechowski
452d1db109 Merge branch 'master' into feature/homebrew_install_cleanup 2018-10-29 11:24:56 -04:00
Jarek Wojciechowski
51ca60d6d5 add formula cleanup to install and reinstall 2018-10-29 11:23:32 -04:00
Mike McQuaid
18bac4fa5d
Merge pull request #5204 from GauthamGoli/immutable-args
cli_parser: Make Homebrew.args immutable once CLI args have been processed
2018-10-29 13:39:58 +00:00
dependabot[bot]
8978ce778b
Bump parser from 2.5.1.2 to 2.5.3.0 in /Library/Homebrew/test
Bumps [parser](https://github.com/whitequark/parser) from 2.5.1.2 to 2.5.3.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.5.1.2...v2.5.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 06:56:48 +00:00
Gautham Goli
6d3aa18f6a
cli_parser: Make Homebrew.args immutable once CLI arguments have been processed 2018-10-29 02:31:57 +05:30
commitay
cbae07cd0f options_cop: make audits non-strict 2018-10-27 22:20:17 +10:00
Mike McQuaid
987546148d
Merge pull request #5186 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.26.0
Bump parallel_tests from 2.25.0 to 2.26.0 in /Library/Homebrew/test
2018-10-26 15:41:09 +01:00
Mike McQuaid
2911e74624
Merge pull request #5184 from GauthamGoli/short-flag-options
cli_parser: Add support for short flag options
2018-10-26 15:38:12 +01:00
dependabot[bot]
aa59c16947
Bump parallel_tests from 2.25.0 to 2.26.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.25.0 to 2.26.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.25.0...v2.26.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-26 01:35:07 +00:00
Shaun Jackman
b1a4ed04c4
Merge pull request #5180 from sjackman/needs-svn
test/spec_helper: Fix :needs_svn
2018-10-25 14:15:42 -07:00
Gautham Goli
f7ec07680c
cli_parser: Add support for short flag options 2018-10-25 21:43:49 +05:30
Shaun Jackman
a7ad7eee78 test/spec_helper: Fix :needs_svn
which("svn") detects shims/scm/svn even when svn is not installed.
2018-10-25 08:54:23 -07:00
dependabot[bot]
6b33c786dc
Bump parallel_tests from 2.24.0 to 2.25.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.24.0...v2.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-25 06:09:15 +00:00
Gautham Goli
e32da937a6
cli_parser: Add custom description support for global switches 2018-10-24 17:27:31 +05:30
Jarek Wojciechowski
18f8adbd5c test and add HOMEBREW_INSTALL_CLEANUP to upgrade 2018-10-23 15:46:07 -04:00
Shaun Jackman
97a2c620a2
Merge pull request #5018 from sjackman/relocation-formulae
relocation_formulae: Poured bottles depend on gcc [Linux]
2018-10-23 11:15:42 -07:00
Shaun Jackman
605e61095a relocation_formulae: Poured bottles depend on gcc [Linux] 2018-10-23 09:03:20 -07:00
Viktor Szakats
44578adfdb audit: use debian canonical mirror 2018-10-23 15:52:00 +00:00
dependabot[bot]
30ed316bb0
Bump parallel_tests from 2.23.0 to 2.24.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.23.0...v2.24.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 03:25:31 +00:00
Mike McQuaid
57968a29a5
Merge pull request #5106 from MikeMcQuaid/vendor-rubocop-rspec
Vendor rubocop-rspec
2018-10-20 12:43:00 +01:00
Mike McQuaid
864be6d82f
Merge pull request #5105 from MikeMcQuaid/brew-info-verbose-analytics-table
info: make verbose analytics use tabular output.
2018-10-20 12:34:40 +01:00
Mike McQuaid
99749cbe9c
Merge pull request #5101 from MikeMcQuaid/requirements_cleanup
Cleanup Requirements
2018-10-20 12:13:26 +01:00
Mike McQuaid
0617dc1c1d
info: make verbose analytics use tabular output.
This copies (and slightly improves) the current `brew formula-analytics`
output so `brew formula-analytics` can be adjusted to just output JSON.
2018-10-20 12:06:25 +01:00
Mike McQuaid
4231197437
Merge pull request #5119 from javian/fixtodo1
rubocop: fix some rubocop offences
2018-10-20 11:56:52 +01:00
Mike McQuaid
303f9579d6
Merge pull request #5075 from EricFromCanada/cmd-help-new
docs: conversion & review of Homebrew::CLI::Parser help in dev-cmd/
2018-10-20 11:53:55 +01:00
Jan Viljanen
2b123153de update description 2018-10-20 09:26:40 +02:00
Jan Viljanen
bd3bc09720 restore sh test 2018-10-20 08:53:19 +02:00
commitay
598909577c
Merge pull request #5091 from commitay/versioned-keg-only
audit: check versioned formulae for `keg_only :versioned_formula`
2018-10-20 13:40:37 +10:00
EricFromCanada
ddf057f3dd dev-cmd/: edit help text and descriptions. 2018-10-19 13:12:11 -04:00
Mike McQuaid
0c0275771d
Cleanup Requirements
- remove unused NonBinaryOsxfuseRequirement
- import CodeSignRequirement from Homebrew/homebrew-core
- remove unused UnsignedKextRequirement
- don’t allow custom name for X11Requirement
2018-10-19 16:38:41 +01:00
Mike McQuaid
599ecc9b5a
Deprecate unused download strategies
Download the unused, private download strategies. These are a better fit
for being declared in the formulae and/or taps that use them rather than
in Homebrew/brew where they are unused by Homebrew maintainers or
official taps/formulae.
2018-10-19 10:48:52 +01:00
commitay
0a3ad268a0 audit: check versioned formulae for keg_only :versioned_formula 2018-10-17 23:52:42 +10:00
Markus Reiter
a838b372de Fix brew cask style with relative paths. 2018-10-17 13:51:51 +02:00
Jan Viljanen
96e5b8d9b1 fix rubocop offences 2018-10-16 22:44:07 +02:00
Mike McQuaid
1621eb0b9d
description_cache_store: handle empty database.
Don't perform an incremental update from a report or list of formulae if
the cache is currently empty.

Also, remove some accidentally remaining debugging output.
2018-10-15 22:51:43 -07:00
Mike McQuaid
4def45f499
utils/github_spec: use author that exists. 2018-10-15 14:15:08 -07:00
Mike McQuaid
800853a28d
Vendor rubocop-rspec
We aren't going to vendor its dependencies because we already require
a systemwide installation of `rubocop` to work in your editor. This
avoids requiring users to manually do another
`gem install rubocop-rspec` to have their editor integration behave as
expected.
2018-10-14 12:11:54 -07:00
Mike McQuaid
a2074f01a2
Merge pull request #4922 from MikeMcQuaid/azure-coverage
Generate Cobertura coverage data for Azure Pipelines
2018-10-14 02:19:06 +01:00
Mike McQuaid
100e85dda1
Generate Cobertura coverage data for Azure Pipelines
These can be used and displayed directly in the Azure Pipelines GUI.

It may not end up replacing CodeCov but it's easy enough so: why not.
2018-10-13 17:55:04 -07:00
Mike McQuaid
9a144fe0bd
Merge pull request #5095 from EricFromCanada/cli-parser-help
cli_parser: improve help text formatting
2018-10-14 00:27:38 +01:00
Markus Reiter
2cb0050a99
Merge pull request #5099 from alecclarke/fix-style-in-uninstall_zap_shared_examples
Use the `all` matcher to check the existence of each path.
2018-10-13 23:27:43 +02:00
Mike McQuaid
65b44f2f57
Merge pull request #5098 from Homebrew/dependabot/bundler/Library/Homebrew/test/mustache-1.1.0
Bump mustache from 1.0.5 to 1.1.0 in /Library/Homebrew/test
2018-10-13 19:54:52 +01:00
Mike McQuaid
5118fe2503
Merge pull request #5096 from MikeMcQuaid/descriptions-cache
Use cache_store for descriptions
2018-10-13 19:54:25 +01:00
Mike McQuaid
fe6b78a3f3
Use cache_store for descriptions
This makes use of both the existing interfaces and could use the
existing cache file but we'll create a new one and cleanup the old one
to avoid issues and use a more consistent name.
2018-10-13 08:22:52 -07:00
Alec Clarke
3a8e87134b Use the all matcher to check the existence of each path.
This change allows us to remove the `RSpec/IteratedExpectation` rule from `.rubocop_todo.yml` as we no longer iterate over each path to check existence.

Note: We this PR didn't change the subsequent test checking for the negative expectations as this isn't part of the rule (see: https://github.com/rubocop-hq/rubocop-rspec/issues/278).
2018-10-13 07:23:57 -07:00
dependabot[bot]
e19a0fe719
Bump mustache from 1.0.5 to 1.1.0 in /Library/Homebrew/test
Bumps [mustache](https://github.com/mustache/mustache) from 1.0.5 to 1.1.0.
- [Release notes](https://github.com/mustache/mustache/releases)
- [Changelog](https://github.com/mustache/mustache/blob/master/HISTORY.md)
- [Commits](https://github.com/mustache/mustache/compare/v1.0.5...v1.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-13 14:17:44 +00:00
EricFromCanada
6b8724431f cli_parser: improve help text formatting
- reduce desc_line_length so `brew help` output fits in 80 columns
- support special formatting across line breaks
- support emphasis using asterisks
- add missing depends_on: tests
2018-10-12 13:38:14 -04:00
Mike McQuaid
778e0dbdb1
Merge pull request #5043 from javian/rubocopadjustment
rubocop: only use config if style is testing specified file(s)
2018-10-12 11:02:28 +01:00