Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Issy Long
f10b88ca85
caveats: Add a new line if there isn't one from previous conditions
2023-03-19 18:38:09 +00:00
Issy Long
e9d994622e
rubocop: Drop "f" from Naming/MethodParameterName
allowlist
...
- This either stands for "file" but more often than not "formula".
2023-03-11 00:17:27 +00:00
Issy Long
3a83b5492c
rubocop: Clean up Style/BlockDelimiters
excludes and autofix offenses
...
- The defaults of using "do ... end" for multi-line blocks everywhere is
good, better than switching everything to braces everywhere.
2023-03-08 23:54:22 +00:00
Mike McQuaid
6b4363092d
Revert "Merge pull request #14548 from Homebrew/revert-14382-deprecate-disable-remove"
...
This reverts commit 932d2cf3b77c9439a57b6a43577fc8d3b6399a62, reversing
changes made to f4e60482791d2ff628efadfdbf0d14d9237d2d29.
2023-02-07 19:25:51 +01:00
Mike McQuaid
6882ac17e7
Revert "Add deprecations and disables"
2023-02-07 15:13:19 +01:00
Sean Molenaar
f67d4c4ed6
chore: deprecate plist_options in formula
2023-02-01 17:44:36 +01:00
Sean Molenaar
0cd10ed65e
caveats: print sudo in caveats if service requires it
2022-12-05 12:12:51 +01:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04.
2022-11-09 14:45:43 +00:00
Issy Long
72e48024f0
Fix (auto-correct) RuboCop Rspec/BeEq
offenses
2022-03-01 00:10:14 +00:00
Sean Molenaar
73bc934c85
Caveats: suggest brew services for linux
2021-10-30 18:18:25 +02:00
Benjamin Bolton
87f5d98923
Add test for multi-word service argument warpping
2021-09-02 09:26:34 -06:00
Benjamin Bolton
632b96780f
Test for single-quote service wrapper
2021-09-01 11:54:38 -06:00
Carlo Cabrera
4fb06efe81
Fix TMUX
env variable filtering
...
We currently filter out `TMUX`, but this breaks displaying some caveats.
This also enables an alias I use (and improved by @Rylan12):
brew alias fzp='!id="$(gh pr list -L200 -R github.com/Homebrew/homebrew-core | TMUX=$HOMEBREW_TMUX fzf-tmux -p "90%,50%" --multi | cut -f1)"; [ -n "$id" ] && brew pr-publish --autosquash $id'
2021-05-13 17:05:18 +01:00
Sean Molenaar
3ab21cc412
services: replace plist_options :manual with service command
2021-05-01 16:20:47 +02:00
Issy Long
e1ad07190e
rubocop: Fix RSpec/ContextWording
offenses
...
- For some of these I changed `context` to `describe` as it fit better
rather than contriving a "when", "with" or "without", or massively
restructuring the tests.
2021-02-19 23:30:41 +00:00
Rylan Polster
af40e072b0
style: remove RSpec/NamedSubject violations
2021-02-01 20:30:51 -05:00
EricFromCanada
a427de5bee
capitalization fixes
...
"curl" is the binary, while "cURL" is the umbrella project.
2021-01-26 15:36:44 -05:00
Mike McQuaid
3002c810be
Improve ZSH completions handling
...
- Only display the completions caveats from the current shell (assuming
it's one of Bash, ZSH or Fish)
- If the completions location isn't in the ZSH `FPATH` then link to the
documentation explaining how to do so.
Fixes https://github.com/Homebrew/brew/issues/8984
2020-11-26 16:08:26 +00:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Bo Anderson
b338398a8c
tab: add built_on & arch information
2020-08-18 15:58:00 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
5e1806e796
test: rubocop-rspec style auto-corrects.
...
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Mike McQuaid
36dadbee47
caveats: remove python caveats.
...
These instructions are currently incorrect and need to be ported to
`python` 3.x and `python@2` formulae. Until then it's better to not have
them than have them be incorrect.
Closes #3890 .
2018-03-08 08:34:20 +00:00
Markus Reiter
5fea557da3
Use mktmpdir
.
2017-07-29 22:21:41 +02:00
mansimarkaur
ae02b9776a
Added tests for python caveats
2017-07-25 21:00:37 +05:30
mansimarkaur
9218d3014d
Added tests for plist_caveats
2017-07-25 21:00:26 +05:30
mansimarkaur
5fba0c4776
Added tests for function_completion_caveats
2017-07-25 21:00:04 +05:30
mansimarkaur
a5334b9dca
Added tests for keg_only_text
2017-07-25 20:59:46 +05:30
mansimarkaur
6de94839de
Adding tests for caveats
2017-07-25 20:58:20 +05:30
Markus Reiter
ac2cafe139
Convert Caveats test to spec.
2017-02-25 20:11:03 +01:00