Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							23db47dba5 
							
						 
					 
					
						
						
							
							cmd/--repository: use ShellCommand  
						
						
						
						
					 
					
						2024-07-15 14:48:36 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5987c5c1d0 
							
						 
					 
					
						
						
							
							Add stub Ruby commands for all Bash commands.  
						
						... 
						
						
						
						This gets us pretty similar (but easier to manage) manpage output but
much nicer completions etc. for all these commands. 
						
						
					 
					
						2024-07-14 23:12:53 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8ae18f463e 
							
						 
					 
					
						
						
							
							cmd/--repository.rb: tweak error message.  
						
						
						
						
					 
					
						2024-07-14 14:46:59 -04:00 
						 
				 
			
				
					
						
							
							
								Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3bc01a4d31 
							
						 
					 
					
						
						
							
							Fix completion generation for --repository  
						
						
						
						
					 
					
						2024-07-14 14:46:59 -04:00 
						 
				 
			
				
					
						
							
							
								Ruoyu Zhong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							96cf5513c8 
							
						 
					 
					
						
						
							
							Port brew --repository to Bash  
						
						... 
						
						
						
						This provides a significant speedup:
    $ hyperfine 'git checkout master; brew --repo homebrew/core' 'git checkout brew-repository-speedup; brew --repo homebrew/core'
    Benchmark 1: git checkout master; brew --repo homebrew/core
      Time (mean ± σ):      1.737 s ±  0.388 s    [User: 0.743 s, System: 0.323 s]
      Range (min … max):    1.336 s …  2.438 s    10 runs
    Benchmark 2: git checkout brew-repository-speedup; brew --repo homebrew/core
      Time (mean ± σ):     459.1 ms ±  91.9 ms    [User: 100.5 ms, System: 142.1 ms]
      Range (min … max):   366.5 ms … 594.0 ms    10 runs
    Summary
      git checkout brew-repository-speedup; brew --repo homebrew/core ran
        3.78 ± 1.13 times faster than git checkout master; brew --repo homebrew/core 
						
						
					 
					
						2024-07-14 12:07:11 -04:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							3f856f6516 
							
						 
					 
					
						
						
							
							Port Homebrew::Cmd::Repository  
						
						
						
						
					 
					
						2024-04-01 16:02:41 -07:00 
						 
				 
			
				
					
						
							
							
								Eric Knibbe 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							931f762598 
							
						 
					 
					
						
						
							
							docs+rubydoc: various grammar/wording fixes  
						
						
						
						
					 
					
						2023-09-11 02:26:37 -04:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							d01cda2815 
							
						 
					 
					
						
						
							
							Turn up the types  
						
						
						
						
					 
					
						2023-08-12 22:01:22 -07:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							24cf6076e8 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2023-04-24 20:42:39 -07:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7f23b55c5e 
							
						 
					 
					
						
						
							
							Cleanup command descriptions  
						
						... 
						
						
						
						Don't have a period within first full sentence of the description 
						
						
					 
					
						2021-01-25 13:46:35 -05: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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							d4c2ffd705 
							
						 
					 
					
						
						
							
							Refactor CLI::Parser.  
						
						
						
						
					 
					
						2020-07-31 15:07:17 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7fe0ed847 
							
						 
					 
					
						
						
							
							cmd: use more and cleanup new args APIs.  
						
						
						
						
					 
					
						2020-03-05 09:40:15 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							ee314617f7 
							
						 
					 
					
						
						
							
							manpages: update command usage strings  
						
						
						
						
					 
					
						2019-08-20 08:55:54 -04: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 
						 
				 
			
				
					
						
							
							
								Harry Mallon 
							
						 
					 
					
						
						
						
						
							
						
						
							f20319a516 
							
						 
					 
					
						
						
							
							cmd/repository: Fix man pages and help  
						
						
						
						
					 
					
						2019-02-07 10:11:31 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7b90539943 
							
						 
					 
					
						
						
							
							--repository: use CLI::Parser.  
						
						
						
						
					 
					
						2019-01-30 21:38:45 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							9fca172d03 
							
						 
					 
					
						
						
							
							Fix HOMEBREW_RUBY_WARNINGS="-w"  
						
						... 
						
						
						
						Fix various circular requirements, method redefinitions, etc. 
						
						
					 
					
						2018-04-07 20:28:56 +01:00 
						 
				 
			
				
					
						
							
							
								Matthew Strax-Haber 
							
						 
					 
					
						
						
						
						
							
						
						
							0dca037446 
							
						 
					 
					
						
						
							
							Fix outdated --repository man documentation  
						
						
						
						
					 
					
						2017-06-15 18:25:16 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							0ab750bf24 
							
						 
					 
					
						
						
							
							Use module_function for commands.  
						
						
						
						
					 
					
						2016-10-02 00:24:47 +02:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							76f0479969 
							
						 
					 
					
						
						
							
							--repository: move help to documentation comment  
						
						
						
						
					 
					
						2016-04-20 13:45:26 +02:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							b8a4677de0 
							
						 
					 
					
						
						
							
							--repository: support to show tap path  
						
						... 
						
						
						
						This can become handy when we separate core code and formulae. For
example, we could use `cd $(brew --repo homebrew/core)` to go to core
tap path.
Closes  Homebrew/homebrew#50346 .
Signed-off-by: Xu Cheng <xucheng@me.com> 
						
						
					 
					
						2016-03-24 14:52:13 +08:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							10a1952d2c 
							
						 
					 
					
						
						
							
							Only "extend self" once on the Homebrew module  
						
						
						
						
					 
					
						2014-06-19 13:10:36 -05:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							768910283a 
							
						 
					 
					
						
						
							
							Refactor the brew command into one file per command  
						
						... 
						
						
						
						The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.
But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.
If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.
Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back. 
						
						
					 
					
						2011-03-12 11:55:02 -08:00