Douglas Eichelberger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d97933b38c 
							
						 
					 
					
						
						
							
							Refactor T.must called on .first  
						
						
						
						
					 
					
						2025-08-25 20:27:47 -07:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							509fffab2b 
							
						 
					 
					
						
						
							
							Make more files Sorbet typed: strict  
						
						... 
						
						
						
						- According to Spoom, these could be bumped automatically with no errors. 
						
						
					 
					
						2024-06-02 15:15:24 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7bfe859473 
							
						 
					 
					
						
						
							
							cmd/log: various fixes.  
						
						... 
						
						
						
						- Don't pass through `args:` when called with no arguments; these don'T
  need to be passed and end up breaking things instead.
- Make `T.must` as early as possible.
- Add a type signature to `git_log` to enable `typed: strict` and catch
  these sorts of bugs earlier next time.
- `--follow` only works with a single file so check if the path is a
  file before adding it to the arguments. 
						
						
					 
					
						2024-04-09 10:42:08 +01:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							59adde2069 
							
						 
					 
					
						
						
							
							Port Homebrew::Cmd::Log  
						
						
						
						
					 
					
						2024-04-01 09:15:58 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea2892f8ee 
							
						 
					 
					
						
						
							
							brew.rb: handle missing args.  
						
						
						
						
					 
					
						2024-03-07 16:20:20 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b3c33d34ab 
							
						 
					 
					
						
						
							
							Various sharding fixes  
						
						... 
						
						
						
						- Load paths with no API when needed (e.g. for `brew edit`)
- Use no API mode for `brew log` as it's needed there
- Define sharding format for homebrew-cask and homebrew-core inside
  `Tap` methods
- Create new formulae/casks in location defined by these `Tap` methods
- Fix a bug in Formulary that made sharded formulae lookup less
  efficient (and possibly broke it for core and some API usage)
- Fix various other hardcoded Formula/Cask directory assumptions
Co-authored-by: Bo Anderson <mail@boanderson.me> 
						
						
					 
					
						2023-08-04 16:43:13 +01:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							24cf6076e8 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2023-04-24 20:42:39 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							54fad14ff3 
							
						 
					 
					
						
						
							
							Fix module_function errors  
						
						
						
						
					 
					
						2023-03-06 15:11:10 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							1c44a8861d 
							
						 
					 
					
						
						
							
							Fix type errors  
						
						
						
						
					 
					
						2023-03-06 15:03:19 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							d56e2884aa 
							
						 
					 
					
						
						
							
							Enable typing in cmd/  
						
						
						
						
					 
					
						2023-03-06 15:01:08 -08:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							02164a35db 
							
						 
					 
					
						
						
							
							Use ORIGINAL_PATHS over envs; reject nil PATH  
						
						
						
						
					 
					
						2022-06-17 19:47:57 +01:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							a6b7a9662a 
							
						 
					 
					
						
						
							
							repair command description  
						
						
						
						
					 
					
						2021-09-30 09:56:39 +09:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							4685120692 
							
						 
					 
					
						
						
							
							add cask option to brew log  
						
						
						
						
					 
					
						2021-09-29 22:24:20 +09:00 
						 
				 
			
				
					
						
							
							
								Nanda H Krishna 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							47a549e944 
							
						 
					 
					
						
						
							
							Fix style using brew style --fix  
						
						
						
						
					 
					
						2021-06-02 11:43:16 +05:30 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							20ff68a425 
							
						 
					 
					
						
						
							
							Fix brew style.  
						
						
						
						
					 
					
						2021-03-17 20:45:44 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							6fc116318e 
							
						 
					 
					
						
						
							
							fixes for grammar and wording  
						
						
						
						
					 
					
						2021-01-26 16:19:47 -05:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d1f3e39b7b 
							
						 
					 
					
						
						
							
							Update commands to generate usage banner  
						
						
						
						
					 
					
						2021-01-18 21:20:11 -05:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
						
						
							
						
						
							da811373d3 
							
						 
					 
					
						
						
							
							Add named_args DSL for commands  
						
						
						
						
					 
					
						2021-01-13 17:09:42 -05:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							72bc057014 
							
						 
					 
					
						
						
							
							manpage: fixes for formatting  
						
						
						
						
					 
					
						2020-11-16 08:02:50 -05: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 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							7e47d1be94 
							
						 
					 
					
						
						
							
							cmd/log: fix args error  
						
						
						
						
					 
					
						2020-08-03 17:30:46 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							05aada4333 
							
						 
					 
					
						
						
							
							Fix flags for brew log.  
						
						
						
						
					 
					
						2020-07-31 17:46:54 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							d4c2ffd705 
							
						 
					 
					
						
						
							
							Refactor CLI::Parser.  
						
						
						
						
					 
					
						2020-07-31 15:07:17 +02:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							9d6eb41fc5 
							
						 
					 
					
						
						
							
							cmd/dev-cmd: misc. usage and wording fixes  
						
						
						
						
					 
					
						2020-04-19 13:31:54 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7fe0ed847 
							
						 
					 
					
						
						
							
							cmd: use more and cleanup new args APIs.  
						
						
						
						
					 
					
						2020-03-05 09:40:15 +00:00 
						 
				 
			
				
					
						
							
							
								Dawid Dziurla 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f11ddb9aab 
							
						 
					 
					
						
						
							
							log: use user path  
						
						... 
						
						
						
						Without this, one can't use a custom pager, if it's present in
non-standard PATH, like for example Homebrew on Linux prefix. 
						
						
					 
					
						2020-02-24 13:26:42 +01:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							aea6d79d21 
							
						 
					 
					
						
						
							
							option parser: check for extra named args  
						
						
						
						
					 
					
						2019-12-15 00:04:45 -05:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							393c8dfbf1 
							
						 
					 
					
						
						
							
							ARGV: Replace options_only and flags_only with Homebrew.args counterparts  
						
						
						
						
					 
					
						2019-09-23 12:39:22 +05:30 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							963cc556d4 
							
						 
					 
					
						
						
							
							Revert "argv: move options_only to cli/args"  
						
						
						
						
					 
					
						2019-09-13 09:34:43 +01:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							4586632855 
							
						 
					 
					
						
						
							
							argv: move options_only to cli/args  
						
						
						
						
					 
					
						2019-09-07 21:32:50 +05:30 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							b4303cd983 
							
						 
					 
					
						
						
							
							manpages: fix command & option descriptions  
						
						
						
						
					 
					
						2019-08-20 09:03:33 -04:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							ee314617f7 
							
						 
					 
					
						
						
							
							manpages: update command usage strings  
						
						
						
						
					 
					
						2019-08-20 08:55:54 -04:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							6340792f78 
							
						 
					 
					
						
						
							
							manpages: output formatting fixes  
						
						
						
						
					 
					
						2019-08-20 08:28:35 -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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							70b93f65ea 
							
						 
					 
					
						
						
							
							*cmd/*: use *system instead of exec for easier testing.  
						
						... 
						
						
						
						This improves both test coverage, makes it easier to use a profiler and
a debugger. 
						
						
					 
					
						2019-03-27 21:15:24 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9144625940 
							
						 
					 
					
						
						
							
							log: use CLI::Parser.  
						
						
						
						
					 
					
						2019-01-30 21:38:45 +00:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							17f80a44e6 
							
						 
					 
					
						
						
							
							Revert "Use Homebrew's gitconfig for various commands"  
						
						
						
						
					 
					
						2018-01-15 07:30:56 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							228cbd81c9 
							
						 
					 
					
						
						
							
							Use Homebrew's gitconfig for various commands  
						
						... 
						
						
						
						Git is a transport and storage mechanism for us so we don't want to
allow arbitrary customisation of this due to user issues e.g. #3664 
and #3561 .
Fixes  #3664 . 
						
						
					 
					
						2018-01-11 20:40:59 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							9bee9ca575 
							
						 
					 
					
						
						
							
							Use “squiggly” heredocs.  
						
						
						
						
					 
					
						2017-10-18 14:39:09 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							623c95b3f8 
							
						 
					 
					
						
						
							
							cmd/log: improve output messaging.  
						
						... 
						
						
						
						This wasn’t adapted to the new, multiple repository world. 
						
						
					 
					
						2017-03-20 18:20:31 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							735532840d 
							
						 
					 
					
						
						
							
							log: follow renames.  
						
						... 
						
						
						
						Now that we can rename formulae this makes this command more useful
for viewing longer histories. 
						
						
					 
					
						2017-02-12 16:53:22 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							c36f42ce95 
							
						 
					 
					
						
						
							
							Remove private_class_method from commands.  
						
						
						
						
					 
					
						2016-10-02 00:24:47 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							0ab750bf24 
							
						 
					 
					
						
						
							
							Use module_function for commands.  
						
						
						
						
					 
					
						2016-10-02 00:24:47 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							4e090530b1 
							
						 
					 
					
						
						
							
							cmd/log: fix Rubocop warnings.  
						
						
						
						
					 
					
						2016-09-11 17:59:00 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							823505a058 
							
						 
					 
					
						
						
							
							Fix minor issues in command help text formatting  
						
						... 
						
						
						
						- Inconsistent or unneeded indentation
- Missing or superfluous empty lines
- Missing or wrongly formatted arguments in command summary
- Missing punctuation 
						
						
					 
					
						2016-08-17 01:25:51 +02:00 
						 
				 
			
				
					
						
							
							
								Max Nordlund 
							
						 
					 
					
						
						
						
						
							
						
						
							fa1fd70a37 
							
						 
					 
					
						
						
							
							Add all the top level comments  
						
						
						
						
					 
					
						2016-04-10 22:59:25 +02:00