Issy Long
6a704f2f40
sorbet: Bump more files to typed: true
...
- This was done through the `brew typecheck --suggest-typed --update`
command.
2023-03-05 18:18:59 +00:00
EricFromCanada
dfc9906184
internal messaging fixes
2023-02-10 23:17:16 -05:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Bo Anderson
f5dc7a571f
Fix Style/ObjectThen offences
2022-06-17 19:47:55 +01:00
neutric
f426f1f51f
cmd/cleanup.rb: description style tweak
2021-12-31 03:24:34 +01:00
EricFromCanada
2ed324ebc0
use backticks around suggested input, flags, and binaries
2021-01-26 16:19:47 -05:00
Mike McQuaid
2268e774a4
Merge pull request #10301 from hyuraku/cmd/cleanup_add_desc_about_all_to_prune
...
cmd/cleanup: add description about all to --prune
2021-01-22 14:57:13 +00:00
hyuraku
b4df0d5c10
cmd/cleanup: add desc about all to --prune
2021-01-22 20:53:48 +09:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Dawid Dziurla
332372469f
cmd: indicate multiple named args in usage banner
2021-01-15 13:04:00 +01:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Markus Reiter
307724d5cd
Fix type error in cmd/cleanup
.
2020-11-29 22:59:10 +01:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Maxim Belkin
ac6295491c
cmd/cleanup.rb: fix input handling
2020-08-12 08:22:45 -05:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Mike McQuaid
701c1811d5
cleanup: all configuring max age days.
...
Fixes #7320
2020-04-20 10:33:15 +01:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
EricFromCanada
c246207ba0
cmd: updates for command descriptions
2019-12-13 15:24:00 -05:00
EricFromCanada
8a8359cdd4
manpages: sentence rewording for readability
...
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
EricFromCanada
a3e0647797
manpages: whitespace fixes
2019-08-20 08:24:20 -04:00
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
Mike McQuaid
e7c5d91151
cleanup: add --prune-prefix option.
...
From https://discourse.brew.sh/t/error-calling-brew-prune-is-disabled/4142/4 and https://github.com/github/homebrew-bootstrap/pull/72 it seems this is worth having as a dedicated flag.
2019-02-13 09:39:21 +00:00
Mike McQuaid
6cb7a00f2d
cmd: remove --help headers and tweak docs.
2019-01-30 21:39:28 +00:00
Gautham Goli
cffa796634
cleanup: Use CLI::Parser to parse args
2018-12-12 02:02:19 +05:30
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
Yurii Kolesnykov
de2700c9b6
add quotes to brew --cache in help for cleanup command
2018-09-17 12:13:29 +03:00
Markus Reiter
55cde526a8
Deprecate brew cask cleanup
.
2018-08-13 20:09:34 +02:00
Markus Reiter
03b93da296
Use option parser for brew cleanup
.
2018-08-08 13:11:16 +02:00
Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Joshua McKinney
48fdd163bc
Brew cleanup: Continue on error removing keg
...
Fixes #2355
Create unremovable_kegs instance var
Check cellar cleanup failure after full cleanup completes
Use module_function in Homebrew::Cleanup as we never instantiate the
class
2017-03-31 01:44:04 -05:00
EricFromCanada
afc539f86e
Update brew's man page formatting and grammar
...
Also update command specifications to match descriptions.
2017-02-25 17:37:57 -05:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
a5b11a6a5c
Fix Style/GuardClause.
2016-09-23 15:30:07 +02:00
Max Nordlund
fa1fd70a37
Add all the top level comments
2016-04-10 22:59:25 +02:00
Baptiste Fontaine
9bdd6619e2
cleanup: move code away from cmd/
...
Closes Homebrew/homebrew#47484 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-04 13:17:21 +01:00
Rakesh
090b133a01
cleanup: display total disk space to be cleared
...
Closes Homebrew/homebrew#45642 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-30 08:12:03 +00:00
Dominyk Tiller
e00216e4e5
cmd/cleanup: cleanup java_cache
2015-12-18 23:32:56 +00:00
Corey Prophitt
267465ea6f
cleanup: don't warn when skipping pinned formula.
...
Closes Homebrew/homebrew#46604 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-04 18:07:11 +00:00
Xu Cheng
cc8859f86a
cleanup: use installed_prefixes/installed_kegs
2015-11-29 20:24:30 +08:00
Xu Cheng
ee332c4550
handle TapFormulaWithOldnameAmbiguityError
...
Closes Homebrew/homebrew#44705 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-08 16:02:33 +08:00
Forrest Fleming
e0f9994542
Remove incomplete files in cache on brew cleanup
...
Closes Homebrew/homebrew#44182 .
Closes Homebrew/homebrew#44349 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-06 15:13:25 +08:00
Xu Cheng
a88c40b8c8
core file style update
2015-08-22 13:15:33 +08:00
Baptiste Fontaine
8ba0fb9fcf
unnecessary calls to .select simplified
...
These are minor perf optimizations.
Closes Homebrew/homebrew#43028 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-18 00:18:22 +02:00
Dominyk Tiller
63a7f29270
cleanup: require thread
2015-08-16 21:01:52 +01:00
Xu Cheng
c4df86eb9d
cleanup: speed up rm_DS_Store by multithread
...
Before
```
$ time brew cleanup -s
brew cleanup -s 0.73s user 3.52s system 58% cpu 7.297 total
```
After
```
$ time brew cleanup -s
brew cleanup -s 0.69s user 2.57s system 139% cpu 2.341 total
```
Closes Homebrew/homebrew#42968 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-17 01:54:03 +08:00