Xuehai Pan 
							
						 
					 
					
						
						
						
						
							
						
						
							d3093cd260 
							
						 
					 
					
						
						
							
							resource: automatic determine mirrors for PyPI resources  
						
						
						
						
					 
					
						2022-09-16 01:57:19 +08:00 
						 
				 
			
				
					
						
							
							
								Xuehai Pan 
							
						 
					 
					
						
						
						
						
							
						
						
							46b3d24dd3 
							
						 
					 
					
						
						
							
							resource: automatic determine mirrors for glibc-bootstrap  
						
						
						
						
					 
					
						2022-09-16 01:50:44 +08:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cc97ae2152 
							
						 
					 
					
						
						
							
							resource: style tweak  
						
						
						
						
					 
					
						2022-09-01 19:30:38 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							911aa6ab18 
							
						 
					 
					
						
						
							
							resource: determine version before freezing  
						
						
						
						
					 
					
						2022-09-01 18:30:58 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							abfbb46678 
							
						 
					 
					
						
						
							
							Freeze formula definition once first instance is created  
						
						
						
						
					 
					
						2022-08-31 20:40:42 +01:00 
						 
				 
			
				
					
						
							
							
								Lukas Oberhuber 
							
						 
					 
					
						
						
						
						
							
						
						
							676e3d4923 
							
						 
					 
					
						
						
							
							Change name of option on mktemp  
						
						... 
						
						
						
						From retain_in_sources to retain_in_cache 
						
						
					 
					
						2022-08-01 18:30:14 -07:00 
						 
				 
			
				
					
						
							
							
								Lukas Oberhuber 
							
						 
					 
					
						
						
						
						
							
						
						
							8b1eb32e99 
							
						 
					 
					
						
						
							
							Sources now retained in Caches/Homebrew/Sources  
						
						... 
						
						
						
						Full path is ~/Library/Caches/Homebrew/Sources
This creates a brand new directory for each build, but leaves previous. 
						
						
					 
					
						2022-07-31 20:33:25 +01:00 
						 
				 
			
				
					
						
							
							
								Lukas Oberhuber 
							
						 
					 
					
						
						
						
						
							
						
						
							4b0d52ef62 
							
						 
					 
					
						
						
							
							debug_symbols passed down to soure dir creator  
						
						... 
						
						
						
						The flag is now passed down to resource which creates the directory for
unpacking the source. 
						
						
					 
					
						2022-07-31 19:59:25 +01:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a01715f0ee 
							
						 
					 
					
						
						
							
							resource: support relative paths as targets of #stage  
						
						... 
						
						
						
						`#stage` takes an optional `target` argument, which specifies the
location in which to unpack the `resource`.
Passing relative paths to `#stage`, as in
    resource("foo").stage "bar"
does not work, because this calls `Pathname("bar").install` inside the
temporary directory that the contents of the resource are unpacked to.
This means that passing a relative path to `#stage` has the unintended
effect of moving files around inside a temporary directory the formula
has no access to.
Let's fix that by keeping track of the original working directory before
`#stage` was called and prepending this to `target` whenever `target` is
a relative path. 
						
						
					 
					
						2022-07-10 01:27:21 +08:00 
						 
				 
			
				
					
						
							
							
								Nanda H Krishna 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							39c9e2ddbc 
							
						 
					 
					
						
						
							
							Merge pull request  #13496  from mohammadzainabbas/mohammad  
						
						... 
						
						
						
						Extend the `livecheck` DSL to work for resources 
						
						
					 
					
						2022-07-04 13:35:19 -04:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							99447bb1c0 
							
						 
					 
					
						
						
							
							OnSystem: provide ::MacOSAndLinux and ::MacOSOnly 
						
						
						
						
					 
					
						2022-06-30 12:57:35 -04:00 
						 
				 
			
				
					
						
							
							
								Mohammad Zain Abbas 
							
						 
					 
					
						
						
						
						
							
						
						
							dbfbd19674 
							
						 
					 
					
						
						
							
							Merge branch 'master' into mohammad  
						
						
						
						
					 
					
						2022-06-30 17:50:50 +02:00 
						 
				 
			
				
					
						
							
							
								Mohammad Zain Abbas 
							
						 
					 
					
						
						
						
						
							
						
						
							8399c26383 
							
						 
					 
					
						
						
							
							Merged with master  
						
						
						
						
					 
					
						2022-06-30 17:46:53 +02:00 
						 
				 
			
				
					
						
							
							
								Mohammad Zain Abbas 
							
						 
					 
					
						
						
						
						
							
						
						
							7692098cd1 
							
						 
					 
					
						
						
							
							Minor fix: don't initialise livecheck unless needed  
						
						
						
						
					 
					
						2022-06-30 17:01:11 +02:00 
						 
				 
			
				
					
						
							
							
								Mohammad Zain Abbas 
							
						 
					 
					
						
						
						
						
							
						
						
							1ba610707d 
							
						 
					 
					
						
						
							
							Extended the livecheck DSL to work for resources  
						
						
						
						
					 
					
						2022-06-30 16:08:13 +02:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a9e62b9e38 
							
						 
					 
					
						
						
							
							include OnSystem to define DSL methods 
						
						
						
						
					 
					
						2022-06-29 11:38:55 -04:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b538ce7361 
							
						 
					 
					
						
						
							
							Add OnSystem module to generate on_* methods for formulae and casks  
						
						
						
						
					 
					
						2022-06-24 14:37:50 -04:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5dc46a9e12 
							
						 
					 
					
						
						
							
							Use --insecure to download ca-certificates source where necessary  
						
						
						
						
					 
					
						2021-10-04 16:37:44 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							635e58e9aa 
							
						 
					 
					
						
						
							
							software_spec: fix bottle domain fallback handling  
						
						
						
						
					 
					
						2021-04-15 19:24:25 +01:00 
						 
				 
			
				
					
						
							
							
								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