Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							95f1d330b2 
							
						 
					 
					
						
						
							
							don't complain if args are empty  
						
						
						
						
					 
					
						2012-02-03 21:40:14 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							a3db9a42e8 
							
						 
					 
					
						
						
							
							Add option for building bottles.  
						
						... 
						
						
						
						Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
						
						
					 
					
						2012-01-16 21:05:00 +00:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							28a00a2c09 
							
						 
					 
					
						
						
							
							Standardize 32 bit build switch  
						
						
						
						
					 
					
						2012-01-02 14:53:36 -08:00 
						 
				 
			
				
					
						
							
							
								Charlie Sharpsteen 
							
						 
					 
					
						
						
						
						
							
						
						
							3cd9b6db6a 
							
						 
					 
					
						
						
							
							Fix array concatenation in ARGV.filter_for_dependencies  
						
						... 
						
						
						
						Gah. This was supposed to be in the last commit, but I forgot to `--amend` it. 
						
						
					 
					
						2011-11-27 14:44:39 -08:00 
						 
				 
			
				
					
						
							
							
								Charlie Sharpsteen 
							
						 
					 
					
						
						
						
						
							
						
						
							00659f0f39 
							
						 
					 
					
						
						
							
							Don't suppress --verbose while installing deps  
						
						... 
						
						
						
						Unless the `--quieter` flag is passed.
Closes  Homebrew/homebrew#8723 . 
						
						
					 
					
						2011-11-27 14:37:31 -08:00 
						 
				 
			
				
					
						
							
							
								Charlie Sharpsteen 
							
						 
					 
					
						
						
						
						
							
						
						
							edde8d75c7 
							
						 
					 
					
						
						
							
							Suppress --devel while installing dependencies  
						
						... 
						
						
						
						Unless the dependency is explicitly passed to `brew install --devel`. 
						
						
					 
					
						2011-11-27 14:37:31 -08:00 
						 
				 
			
				
					
						
							
							
								Charlie Sharpsteen 
							
						 
					 
					
						
						
						
						
							
						
						
							b5f942764a 
							
						 
					 
					
						
						
							
							Re-work ARGV filtering to properly handle --HEAD  
						
						... 
						
						
						
						Previously, stripping arguments like `--HEAD` for dependencies failed because
that flag affects the installation prefix encoded into formula objects. The
previous implementation of `ARGV` filtering tried to contain all changes to a
single method call before the `FormulaInstaller` forks. This update spreads
things out a bit:
  - The Homebrew `ARGV` extension adds a new method, `filter_for_dependencies`
    which strips flags like `--HEAD`, yields to a block, then restores the
    original contents of ARGV.
  - The `explicitly_requested?` test, which returns true or false depending on
    if a formula object is a member of `ARGV.formulae`, is now a method of
    `Formula` objects.
  - `FormulaInstaller` objects now execute the installation of dependencies
    inside an `ARGV.filter_for_dependencies` block if the dependency was
    `explicitly_requested?`.
Fixes  Homebrew/homebrew#8668 .
Closes  Homebrew/homebrew#7724 . 
						
						
					 
					
						2011-11-27 14:37:31 -08:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							b62bd90a1d 
							
						 
					 
					
						
						
							
							Define and use ARGV.build_devel?  
						
						... 
						
						
						
						Often it is useful to provide a development build in addition to the
stable release or HEAD download.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com> 
						
						
					 
					
						2011-11-21 20:04:33 -08:00 
						 
				 
			
				
					
						
							
							
								Justin Hileman 
							
						 
					 
					
						
						
						
						
							
						
						
							8f3a74993b 
							
						 
					 
					
						
						
							
							Allow 'brew link' to work with URL-based formulae  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#7373 .
Signed-off-by: Max Howell <max@methylblue.com>
I added some comments. 
					
						2011-09-02 12:12:30 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							9289c06299 
							
						 
					 
					
						
						
							
							Don't install bottles in non-default HOMEBREW_PREFIX.  
						
						
						
						
					 
					
						2011-07-31 11:47:14 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							81c7ec9933 
							
						 
					 
					
						
						
							
							Build from source (for now) unless on Lion.  
						
						... 
						
						
						
						Longer-term we'll try and use install_name_tool to fix Lion
bottles so they run fine on 10.5 and/or 10.6.
Closes  Homebrew/homebrew#6699 . 
						
						
					 
					
						2011-07-29 18:36:47 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							2495cdc544 
							
						 
					 
					
						
						
							
							Build from source when we've options or 10.5.  
						
						
						
						
					 
					
						2011-06-22 17:48:20 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b7dd6f1f7e 
							
						 
					 
					
						
						
							
							Remove redeclared method.  
						
						
						
						
					 
					
						2011-06-21 19:25:39 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							31dea3b800 
							
						 
					 
					
						
						
							
							Add changes to Homebrew internals for bottling.  
						
						
						
						
					 
					
						2011-06-08 22:19:10 +01:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							4e65175564 
							
						 
					 
					
						
						
							
							Fix misspelled method name: Formula.canonical_name  
						
						... 
						
						
						
						Signed-off-by: Adam Vandenberg <flangy@gmail.com> 
						
						
					 
					
						2011-05-07 21:50:37 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							4dbb08a6d8 
							
						 
					 
					
						
						
							
							Add ARGV.build_universal?  
						
						
						
						
					 
					
						2011-04-23 08:36:38 -07:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							ec9cbc6466 
							
						 
					 
					
						
						
							
							Optimise/simplify brew help  
						
						... 
						
						
						
						Be more useful by being more concise. I referenced dozens of other mature commands’ usage to figure out what to do here.
Also separated out the help into its own command for consistency. 
						
						
					 
					
						2011-03-13 12:54:30 +00:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							2a5f757816 
							
						 
					 
					
						
						
							
							Use + instead of /.  
						
						
						
						
					 
					
						2011-03-12 11:55:07 -08:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							e96744eb6f 
							
						 
					 
					
						
						
							
							brew deps foo bar now gives the dependency intersection 
						
						... 
						
						
						
						Rationale: this is more useful than the union, and you can still easily get the union by running the command twice and concatenating the result. 
						
						
					 
					
						2011-03-12 11:55:04 -08:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							55bd25ff4c 
							
						 
					 
					
						
						
							
							Formula.resolve_alias to compatability.rb  
						
						
						
						
					 
					
						2011-03-12 11:55:03 -08:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							c1a3b724fd 
							
						 
					 
					
						
						
							
							Some Cleanup  
						
						
						
						
					 
					
						2011-03-12 11:55:03 -08:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							0225f07eba 
							
						 
					 
					
						
						
							
							Move some exceptions  
						
						
						
						
					 
					
						2011-03-12 11:55:03 -08:00 
						 
				 
			
				
					
						
							
							
								Lee Packham 
							
						 
					 
					
						
						
						
						
							
						
						
							883fd9ef89 
							
						 
					 
					
						
						
							
							Correct the principle usage of principal principles ;)  
						
						... 
						
						
						
						Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
						
						
					 
					
						2010-11-21 13:20:12 +00:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							ea03121688 
							
						 
					 
					
						
						
							
							Allow installation from URLs  
						
						... 
						
						
						
						This allows installation like:
    brew install http://example.com/something.rb 
Based on an original patch by [dwalters].
Fixes  Homebrew/homebrew#160  
						
						
					 
					
						2010-10-30 14:23:01 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							560408d01b 
							
						 
					 
					
						
						
							
							Use classes instead of strings for exceptions  
						
						
						
						
					 
					
						2010-10-17 17:21:21 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							bb01afce4c 
							
						 
					 
					
						
						
							
							Move resolve_alias from ARGV to Formula  
						
						... 
						
						
						
						Also, call this function from a few places where the code was duplicated. 
						
						
					 
					
						2010-09-29 21:55:44 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							ef1f45fbc3 
							
						 
					 
					
						
						
							
							Document brew options  
						
						
						
						
					 
					
						2010-09-08 05:27:09 -07:00 
						 
				 
			
				
					
						
							
							
								David Höppner 
							
						 
					 
					
						
						
						
						
							
						
						
							6907bdae01 
							
						 
					 
					
						
						
							
							Update help options  
						
						
						
						
					 
					
						2010-09-04 12:48:37 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							7c2841543d 
							
						 
					 
					
						
						
							
							Tweak ARGV.usage  
						
						
						
						
					 
					
						2010-08-11 21:15:59 -07:00 
						 
				 
			
				
					
						
							
							
								Brent Fitzgerald 
							
						 
					 
					
						
						
						
						
							
						
						
							d85ff377f3 
							
						 
					 
					
						
						
							
							Changing the magic &:downcase back to regular block.  
						
						... 
						
						
						
						Fixes  Homebrew/homebrew#2089 
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
(This is needed for 10.5 support.) 
					
						2010-08-08 18:26:13 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							e2f0e1a26f 
							
						 
					 
					
						
						
							
							Resolve aliases in 'brew edit'.  
						
						
						
						
					 
					
						2010-08-07 22:15:29 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							f990f083e8 
							
						 
					 
					
						
						
							
							ARGV - rename method that conflicts with optparse  
						
						... 
						
						
						
						optparse adds an "options" method to ARGV, and so does Homebrew.
Rename this method (and remove optparse blocking script) so that
Homebrew plays nicer with external Ruby software.
This fixes the issue where "gem install thin" would break
"brew server", for instance. 
						
						
					 
					
						2010-08-07 18:08:51 -07:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							28504229aa 
							
						 
					 
					
						
						
							
							Resolve aliases in ARGV extension.  
						
						... 
						
						
						
						* This allows most brew commands to automatically accept aliases. 
						
						
					 
					
						2010-08-07 18:08:49 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							21c37fbac6 
							
						 
					 
					
						
						
							
							Add ARGV.build_head? and use it.  
						
						... 
						
						
						
						This allows both "--HEAD" and "-H" to be used consistently, which was the
intention in the first place. 
						
						
					 
					
						2010-07-16 09:09:39 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							b5ba49b90e 
							
						 
					 
					
						
						
							
							Usage should mention manpage.  
						
						
						
						
					 
					
						2010-07-09 12:16:06 -07:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							799dd7108e 
							
						 
					 
					
						
						
							
							String.undent for prettier HEREDOCs  
						
						
						
						
					 
					
						2010-03-07 17:57:05 +00:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							a9b19f0255 
							
						 
					 
					
						
						
							
							Move license block to separate LICENSE file.  
						
						
						
						
					 
					
						2010-03-01 11:41:24 -08:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							1dfab1350a 
							
						 
					 
					
						
						
							
							Add outdated to brew help  
						
						... 
						
						
						
						Also rearrange and alphabetise. 
						
						
					 
					
						2010-02-27 16:06:05 +00:00 
						 
				 
			
				
					
						
							
							
								Ben Bleything 
							
						 
					 
					
						
						
						
						
							
						
						
							e4b60cd3cd 
							
						 
					 
					
						
						
							
							remove the nonexistant list --brewed flag from the help output.  
						
						... 
						
						
						
						Resolves  mxcl/homebrew#158 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com> 
					
						2010-01-29 23:48:46 -08:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							3bf6c5f9c9 
							
						 
					 
					
						
						
							
							Document brew cleanup  
						
						
						
						
					 
					
						2010-01-18 08:36:10 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							590f64e302 
							
						 
					 
					
						
						
							
							Don't error out if .DS_Store is in a keg  
						
						
						
						
					 
					
						2009-11-09 17:55:06 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							2dc17b19f4 
							
						 
					 
					
						
						
							
							List --HEAD/-H in brew usage  
						
						
						
						
					 
					
						2009-11-08 15:21:14 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							8f46b32d26 
							
						 
					 
					
						
						
							
							Raise if ARGV.next is out of bounds  
						
						
						
						
					 
					
						2009-11-07 18:22:33 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							78d7cbc812 
							
						 
					 
					
						
						
							
							Slightly better ARGV.usage for contribution  
						
						
						
						
					 
					
						2009-11-07 18:22:33 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							8081a95c4a 
							
						 
					 
					
						
						
							
							Better errors if missing keg or formula arguments  
						
						
						
						
					 
					
						2009-11-07 18:22:33 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							03ca3e24d0 
							
						 
					 
					
						
						
							
							Don't throw if named.empty?  
						
						... 
						
						
						
						Generally this isn't desired or useful. 
						
						
					 
					
						2009-11-07 18:22:33 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							0cc45884bb 
							
						 
					 
					
						
						
							
							Fixes   Homebrew/homebrew#106 ; Don't downcase ARGV.named  
						
						
						
						
					 
					
						2009-11-04 16:27:37 +00:00 
						 
				 
			
				
					
						
							
							
								Max Howell 
							
						 
					 
					
						
						
						
						
							
						
						
							543a113712 
							
						 
					 
					
						
						
							
							Some subdirs and renames to aid homebrew n00bs  
						
						... 
						
						
						
						The classes better reflect their contents. I'm sure this change may be
contentious, but I am a sucker for trying to create source bases that are easy
to get to grips with and easy to navigate.
brewkit.rb is now a deprecated file. 
						
						
					 
					
						2009-10-15 16:51:53 +01:00