Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1cc983f00d 
							
						 
					 
					
						
						
							
							download_strategy: pass chdir block to stage  
						
						
						
						
					 
					
						2021-02-12 14:50:50 -05:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							6fc116318e 
							
						 
					 
					
						
						
							
							fixes for grammar and wording  
						
						
						
						
					 
					
						2021-01-26 16:19:47 -05:00 
						 
				 
			
				
					
						
							
							
								Michka Popoff 
							
						 
					 
					
						
						
						
						
							
						
						
							5e91802470 
							
						 
					 
					
						
						
							
							checksum: simplify, use only sha256  
						
						... 
						
						
						
						We use only one sha type right now.
Needed for https://github.com/Homebrew/brew/pull/10186  
						
						
					 
					
						2021-01-07 20:46:13 +01:00 
						 
				 
			
				
					
						
							
							
								Seeker 
							
						 
					 
					
						
						
						
						
							
						
						
							a2af19360b 
							
						 
					 
					
						
						
							
							extend: add on_os (for on_macos/on_linux)  
						
						
						
						
					 
					
						2020-12-07 10:36:51 -08:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							79d6c059fc 
							
						 
					 
					
						
						
							
							Merge pull request  #9297  from reitermarkus/brew-typecheck  
						
						... 
						
						
						
						Refactor `brew typecheck` and upgrade `typed` sigils. 
						
						
					 
					
						2020-11-27 00:01:47 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							1690f064a2 
							
						 
					 
					
						
						
							
							Add types for Formula.  
						
						
						
						
					 
					
						2020-11-25 17:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							5be4c9b5e0 
							
						 
					 
					
						
						
							
							Upgrade typed sigils.  
						
						
						
						
					 
					
						2020-11-25 17:04:19 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							c54a9937e7 
							
						 
					 
					
						
						
							
							Remove cask-specific checksum errors.  
						
						
						
						
					 
					
						2020-11-19 19:46:59 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							0184e271d8 
							
						 
					 
					
						
						
							
							Fix RuboCop offenses.  
						
						
						
						
					 
					
						2020-11-17 11:09:55 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							da9289eff0 
							
						 
					 
					
						
						
							
							Add more type signatures.  
						
						
						
						
					 
					
						2020-11-13 12:26:36 +01:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							3768b7a6e9 
							
						 
					 
					
						
						
							
							apidoc: update comment wording, punctuation, formatting  
						
						
						
						
					 
					
						2020-11-06 00:21:02 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							24ae318a3d 
							
						 
					 
					
						
						
							
							Move type annotations into files.  
						
						
						
						
					 
					
						2020-10-10 14:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5cd8b609f7 
							
						 
					 
					
						
						
							
							Merge pull request  #8350  from reitermarkus/doc-version  
						
						... 
						
						
						
						Refactor and document `Version`. 
						
						
					 
					
						2020-08-26 09:09:18 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							c53f362476 
							
						 
					 
					
						
						
							
							Refactor and document Version.  
						
						
						
						
					 
					
						2020-08-26 03:17:39 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							7e7e4c179b 
							
						 
					 
					
						
						
							
							Document Resource.  
						
						
						
						
					 
					
						2020-08-26 03:13:59 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a91c37e66 
							
						 
					 
					
						
						
							
							Fix RuboCop checks.  
						
						
						
						
					 
					
						2020-08-19 17:12:32 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							490e503b1b 
							
						 
					 
					
						
						
							
							Replace Homebrew.args with Context.  
						
						
						
						
					 
					
						2020-08-06 16:13:14 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							bace9ecc34 
							
						 
					 
					
						
						
							
							Pass verbose? to Formula#verify_download_integrity.  
						
						
						
						
					 
					
						2020-08-06 16:13:14 +02:00 
						 
				 
			
				
					
						
							
							
								Michka Popoff 
							
						 
					 
					
						
						
						
						
							
						
						
							1f8ebf5d20 
							
						 
					 
					
						
						
							
							resource: allow on_os blocks  
						
						
						
						
					 
					
						2020-06-10 19:29:04 +02:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							2ba0bc809e 
							
						 
					 
					
						
						
							
							resource: fix incorrect argument error for empty/non-existent target  
						
						
						
						
					 
					
						2020-05-31 20:35:48 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8e2718c74e 
							
						 
					 
					
						
						
							
							resource: tweak fetch_patches logic.  
						
						
						
						
					 
					
						2020-05-14 09:20:58 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan Chang 
							
						 
					 
					
						
						
						
						
							
						
						
							2ffb87cb03 
							
						 
					 
					
						
						
							
							resource: fix patching when patch already fetched  
						
						... 
						
						
						
						This inappropriately modified the shared `patches` variable, meaning an
already fetched patch would be removed and therefore not be applied when
the resource was staged. 
						
						
					 
					
						2020-05-14 17:09:52 +10:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7475a2946 
							
						 
					 
					
						
						
							
							Split out prepare_patches and fetch_patches methods.  
						
						... 
						
						
						
						The new `fetch_patches` method wasn't exclusively fetching so shouldn't
have been skipped when it was.
Fixes  #7558 . 
						
						
					 
					
						2020-05-13 11:49:17 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ed1ccd8e8 
							
						 
					 
					
						
						
							
							Fetch (all) resources when building from source  
						
						... 
						
						
						
						Also:
- when `brew test` or `brew postinstall` is run allow `Resource#stage`
  to fetch the resource.
- make `Formula#fetch` and `Resource#fetch` fetch external patches too.
Follow-up from #7549  and #7546 . 
						
						
					 
					
						2020-05-12 12:37:54 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							58cecf38cf 
							
						 
					 
					
						
						
							
							resource: restore fetch in stage  
						
						... 
						
						
						
						Fixes  #7546 . 
					
						2020-05-12 03:24:28 +01:00 
						 
				 
			
				
					
						
							
							
								Michelle Nguyen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2264c08cee 
							
						 
					 
					
						
						
							
							Fetch formula resources before unlinking during upgrade.  
						
						... 
						
						
						
						Fixes  #6374 . 
					
						2020-05-11 09:37:56 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							43d6caf0e3 
							
						 
					 
					
						
						
							
							patch: add support for changing directory  
						
						
						
						
					 
					
						2020-03-09 19:51:10 +00:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							acde828a45 
							
						 
					 
					
						
						
							
							ARGV: Replace ARGV.verbose? with Homebrew.args.verbose?  
						
						
						
						
					 
					
						2020-02-02 14:00:04 +01:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							b817796562 
							
						 
					 
					
						
						
							
							Grammar fixes for status messages  
						
						
						
						
					 
					
						2019-12-02 11:38:06 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3cfb028e7f 
							
						 
					 
					
						
						
							
							Resource#fetch: verify downloads by default.  
						
						... 
						
						
						
						This API is used internally correctly and externally mostly correctly
but #6230  reveals the external usage is fairly confusing and a bit
unsafe by default. Preserve the existing API while verifying the
checksum by default and providing an opt-out. Using the existing, safe
method will result in a double verification of the checksum which is
harmless. A Homebrew/homebrew-core PR will follow shortly to address
those cases.
Fixes  #6230  
						
						
					 
					
						2019-06-15 17:22:45 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							fa6404e0f5 
							
						 
					 
					
						
						
							
							grammar fixes  
						
						
						
						
					 
					
						2019-04-13 21:29:32 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d64429a736 
							
						 
					 
					
						
						
							
							rubocop: enable Style/IfUnlessModifier.  
						
						
						
						
					 
					
						2019-02-21 12:55:49 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Abel 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8fddd87472 
							
						 
					 
					
						
						
							
							Resource, CurlDownloadStrategy: Deduplicate the curl HEAD requests  
						
						... 
						
						
						
						Fixes  #5357 
* Eliminates getting a new strategy instance via Resource methods
* only call resolve_url_basename_time once and store the time result as
an instance variable for reuse 
					
						2018-12-16 13:56:58 -06:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							20167e5f1b 
							
						 
					 
					
						
						
							
							Adjust comments to tidy API docs output.  
						
						
						
						
					 
					
						2018-10-18 21:42:43 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e9b9ea49a1 
							
						 
					 
					
						
						
							
							Update to RuboCop 0.59.1.  
						
						
						
						
					 
					
						2018-09-17 03:45:59 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							7c496f7a7e 
							
						 
					 
					
						
						
							
							Explicitly pass specs to download strategy.  
						
						
						
						
					 
					
						2018-08-02 10:33:14 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e367e7eea8 
							
						 
					 
					
						
						
							
							Explicitly pass url and mirrors to download strategy.  
						
						
						
						
					 
					
						2018-08-02 10:09:35 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							9ffc7dd465 
							
						 
					 
					
						
						
							
							Use Resource#downloader for BottleLoader.  
						
						
						
						
					 
					
						2018-08-01 05:40:15 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							3d27b2aa8d 
							
						 
					 
					
						
						
							
							Explicitly pass version to download strategy.  
						
						
						
						
					 
					
						2018-08-01 05:40:15 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							256dfc1af9 
							
						 
					 
					
						
						
							
							Move methods from FileUtils to Formula  
						
						... 
						
						
						
						These don't need to live on FileUtils and don't really make sense there
either. 
						
						
					 
					
						2018-07-14 18:13:23 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							abf3043125 
							
						 
					 
					
						
						
							
							formula: move mktemp.  
						
						... 
						
						
						
						This should be an instance rather than a class method. 
						
						
					 
					
						2018-07-14 15:41:16 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							0a76c9f02e 
							
						 
					 
					
						
						
							
							mktemp: move to Formula and compat.  
						
						... 
						
						
						
						Move this method away from FileUtils as it doesn't need to be on that
class. 
						
						
					 
					
						2018-07-13 14:42:49 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							5e3bc85527 
							
						 
					 
					
						
						
							
							Remove unnecessary Pathname check.  
						
						
						
						
					 
					
						2018-07-05 11:54:32 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c101a82c5b 
							
						 
					 
					
						
						
							
							Revert "Fix SVN downloads of versioned formula by munging directory names"  
						
						
						
						
					 
					
						2018-06-26 07:10:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							b72c4e3248 
							
						 
					 
					
						
						
							
							Fix SVN downloads of versioned formula by munging directory names  
						
						
						
						
					 
					
						2018-06-25 03:21:36 -04:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
						
						
							
						
						
							7c07ec5fc1 
							
						 
					 
					
						
						
							
							resource: allow patches to be applied  
						
						
						
						
					 
					
						2018-01-22 01:10:14 -08:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							3b4ee58c49 
							
						 
					 
					
						
						
							
							Refactor using Forwardable and DelegateClass.  
						
						
						
						
					 
					
						2017-06-28 09:25:31 +02:00 
						 
				 
			
				
					
						
							
							
								Misty De Meo 
							
						 
					 
					
						
						
						
						
							
						
						
							4e3d23ad14 
							
						 
					 
					
						
						
							
							Resource: set version to nil if version is null  
						
						... 
						
						
						
						Is this the right fix? This fixes version cascading from the parent. 
						
						
					 
					
						2016-11-10 15:09:36 -08:00 
						 
				 
			
				
					
						
							
							
								Vlad Shablinsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8a968a0b60 
							
						 
					 
					
						
						
							
							resource: detect HEAD versions  
						
						
						
						
					 
					
						2016-07-16 20:39:13 +08:00