Commit Graph
377 Commits
Author SHA1 Message Date
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 JankeandSteven Peters 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 McQuaidandGitHub 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 McQuaidandGitHub 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 McQuaidandGitHub 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 McQuaidandGitHub 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 OrbanandShaun Jackman ea0ef6bf81 audit: permit openblas for non-official taps
macOS provides Accelerate but not OpenBLAS
2018-10-09 14:57:30 -07:00
commitayandGitHub 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
Mike McQuaid 955214abc0 Use ActiveSupport Object#blank? and #present? 2018-09-14 17:02:19 +01:00
Mike McQuaid 80d75bc0d8 Homebrew/.rubocop: tweak rules.
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid bcb1ec5499 Improve Homebrew/brew line length.
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Gautham Goli 32bc5535b6 style: Fix npe and add test for corrected offense results 2018-08-28 23:31:35 +05:30
Gautham Goli 5d2ca08a93 audit: Use fetch with default value prevent NPE 2018-08-28 13:16:44 +05:30
Gautham Goli 23846d6ca8 audit: Add null check on style results 2018-08-27 19:50:11 +05:30
Gautham GoliandGitHub 3705956f53 Merge pull request #4753 from GauthamGoli/autocorrect-count
audit: Show RuboCop offense correction status and count in output
2018-08-26 23:55:17 +05:30
Gautham Goli b82dbdcfa8 audit: Show RuboCop offense correction status in output when --fix is passed 2018-08-26 19:33:19 +05:30
commitay e0c3ea7474 audit: remove "bottle is not defined" 2018-08-23 11:06:35 +10:00
Jonathan Chang 2487345460 audit: fixes for test checks 2018-08-16 12:43:13 -04:00