369 Commits

Author SHA1 Message Date
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
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 Goli
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
Dominyk Tiller
20311aec15
audit: flag redundant shell_output() exit codes 2018-08-11 01:53:00 +01:00
Markus Reiter
29182ad068 Remove non-existent download strategies. 2018-08-01 01:59:54 +02:00
commitay
fabb0931e3 audit: change the "unstable" spec message to devel/head 2018-07-29 09:32:46 +10:00
Mike McQuaid
0fe1f01e41 audit: output new formula issue comment failure message.
This should help debug when this fails to be created.
2018-07-23 19:33:59 +01:00
Mike McQuaid
5c6ef3d920 Disable more deprecations.
- Turn more old `odeprecated` into `odisabled`
- Remove more old `odisabled`
- Remove code for older Ruby versions
2018-07-14 16:00:50 +01:00
commitay
1f115fa2f5
Merge pull request #4456 from commitay/optional-reqs
audit: check for optional and recommended requirements on new formulae
2018-07-13 10:04:15 +10:00
commitay
ab8054482b audit: check for optional and recommended requirements on new formulae 2018-07-12 10:14:07 +10:00
commitay
2c5f56d77d audit: ensure bottle is defined 2018-07-08 09:22:58 +10:00