387 Commits

Author SHA1 Message Date
Mike McQuaid
c4f72312ce
Fixup brew style failures. 2019-04-30 09:19:18 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser. 2019-04-17 22:16:50 +09:00
EricFromCanada
fa6404e0f5 grammar fixes 2019-04-13 21:29:32 -04:00
FX Coudert
7baec87297
Merge pull request #5827 from fxcoudert/allow-head
Allow head in new formulas
2019-03-04 16:15:40 +01:00
Shaun Jackman
82da3b43cc audit: Keg-only :provided_by_macos dep okay on Linux
Disable this brew audit error on Linux:
* Dependency 'zlib' may be unnecessary as it is provided by macOS;
try to build this formula without it.
2019-03-02 13:29:49 -08:00
FX Coudert
b796174d2c Allow head in new formulas 2019-03-02 10:56:27 +01:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause. 2019-02-21 12:55:49 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier. 2019-02-21 12:55:49 +00:00
Mike McQuaid
ae7492f3b5
Remove "undocumented options" that are documented options. 2019-02-16 20:07:28 +00:00
Mike McQuaid
bbea109926
dev-cmd: remove --help headers and tweak docs. 2019-01-30 21:39:28 +00:00
Claudia
c2bbd9df7e
Remove unneeded curl_openssl_or_deps invocation
This fixes a regression introduced in #5626 [1], which removed `curl_openssl_or_deps` and left a single call in the code.

[1]: https://github.com/Homebrew/brew/pull/5626
2019-01-28 08:10:37 +01:00
Mike McQuaid
efd69b16ed
audit: no longer need openssl/curl HTTP mirrors.
Mavericks' `curl` can download these fine over HTTPS.
2019-01-27 16:25:40 +00:00
Mike McQuaid
db7fd7b7a2
Tweak audits
- Ensure that new formulae problems aren't duplicated
- Now that homebrew/core will imminently not have options adjust the
  various audits so they make more sense (and exclude taps)
- Exclude taps from more preferential audits
2019-01-22 13:30:24 +00:00
Mike McQuaid
f15f665b98
audit: ensure postgresql previous version exists.
This will avoid https://github.com/Homebrew/homebrew-core/issues/34879
in future.
2018-12-09 19:31:19 +00:00
Mike McQuaid
ab0b2304f7
audit: allow {open,libre}ssl@* to use :provided_by_macos. 2018-12-07 10:27:17 +00:00
Andrew Janke
eb7d7a20df audit: Relax versioning audits for non-official taps 2018-11-08 12:53:43 -08:00
Mike McQuaid
737b84b54b
brew style --fix fixes. 2018-11-02 17:29:23 +00:00
Gautham Goli
840fbd69fb
audit: Don't mutate args 2018-10-31 10:50:03 +05:30
Mike McQuaid
322075130e
Merge pull request #5196 from commitay/keg-only-style
audit: make `keg_only_style` non-strict
2018-10-27 14:55:29 +01:00
Mike McQuaid
fa9a59fe1e
Merge pull request #5192 from commitay/unstable
audit: remove deleted formulae from unstable whitelist
2018-10-27 14:53:59 +01:00
commitay
de529c8225 audit: make keg_only_style non-strict 2018-10-27 22:52:20 +10:00
commitay
1d89027409 audit: remove deleted formulae from unstable whitelist 2018-10-27 20:50:10 +10:00
commitay
823f2234f1 audit: make throttled a regular audit 2018-10-27 10:44:09 +10:00
commitay
17e55ead73 audit: check for bottle do blocks in new formulae 2018-10-24 20:48:26 +10:00
Mike McQuaid
5e68a0872e
audit: remove heroku formula.
This was removed in https://github.com/Homebrew/homebrew-core/pull/33233.
2018-10-21 12:46:02 +01:00
commitay
d38c8fb8c5 audit: disallow devel specs in core 2018-10-20 21:43:33 +10:00
Mike McQuaid
2e4176a57f
Merge pull request #5130 from commitay/versioned-formula
audit: use `versioned_formula` instead of `formula.versioned_formula?`
2018-10-20 11:55:32 +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
commitay
78a21c8bbf audit: use versioned_formula instead of formula.versioned_formula? 2018-10-20 13:43:55 +10:00
EricFromCanada
388781f6a7 dev-cmd/: remove colons from command specs.
These aren't needed when converting Parser-based help text to man page or Markdown formats.
Includes regenerated docs.
2018-10-19 13:12:55 -04:00
EricFromCanada
ddf057f3dd dev-cmd/: edit help text and descriptions. 2018-10-19 13:12:11 -04:00
commitay
0a3ad268a0 audit: check versioned formulae for keg_only :versioned_formula 2018-10-17 23:52:42 +10:00
commitay
c2bf97bdee audit: use core_tap instead of official_tap 2018-10-12 09:12:12 +10:00
Dominique Orban
ea0ef6bf81 audit: permit openblas for non-official taps
macOS provides Accelerate but not OpenBLAS
2018-10-09 14:57:30 -07:00
commitay
cd1cf8927e
Merge pull request #5060 from commitay/openssl-versioned-whitelist
audit: remove `openssl@1.1` from unstable spec whitelist
2018-10-09 15:12:38 +10:00
Shaun Jackman
3f2803110a audit: Permit HEAD for non-official taps 2018-10-08 08:15:56 -07:00
commitay
e9a82ad911 audit: remove openssl@1.1 from unstable spec whitelist 2018-10-08 11:14:48 +10:00
Markus Reiter
16618d0fc7 Use ActiveSupport’s #pluralize and #to_sentence. 2018-10-07 23:10:56 +02:00
Markus Reiter
c4d418e126 Use ActiveSupport’s #second. 2018-10-07 23:10:56 +02:00
EricFromCanada
b2b8f632bb docs: distinguish <code> and <var> in HTML output
Replace <var> tags with markup for italicized monospaced text in Markdown.
This requires the source to not combine bracketed and backticked text.
2018-10-06 00:51:13 -04:00
Gautham Goli
a03d2e0cd1
man: Correct option synopsis 2018-10-03 19:49:46 +05:30
Gautham Goli
f60582ca48
man: Remove [] from command synopsis 2018-10-03 19:49:45 +05:30
Gautham Goli
446b1cb9e3
man: Seperate global options into a section 2018-10-03 19:49:45 +05:30
Gautham Goli
e0e876cf37
man: Make command heading H3 2018-10-03 19:49:44 +05:30
Gautham Goli
cfaaa0eb71
Move option descriptions to new line 2018-10-03 19:20:26 +05:30
Gautham Goli
c7bf79407a
Better man page formatting 2018-10-03 19:20:26 +05:30
Gautham Goli
b6c456b681
Extract out arg parsing method to <cmd>_args method 2018-10-03 19:19:04 +05:30
Gautham Goli
32e5a5686b
audit: Use OptionParser to generate help text 2018-10-03 19:18:56 +05:30
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00