Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							79891a7103 
							
						 
					 
					
						
						
							
							Update uses of Formula.all/Cask::Cask.all  
						
						... 
						
						
						
						Add some `--all` flags we'll eventually migrate to to ensure that we'll
eventually require their usage to read all formulae. Where we need to
do stuff later, add some comments. 
						
						
					 
					
						2022-03-08 19:24:56 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							20f2b14c38 
							
						 
					 
					
						
						
							
							formula: remove OnOS deprecation comment.  
						
						... 
						
						
						
						We can't actually remove this as we still need it indefinitely in e.g. `def caveats`. 
						
						
					 
					
						2022-02-24 12:32:36 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7ec6d41a1d 
							
						 
					 
					
						
						
							
							Revert "formula: remove OnOS."  
						
						
						
						
					 
					
						2022-02-24 12:31:32 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							73951a01fc 
							
						 
					 
					
						
						
							
							formula: remove OnOS.  
						
						
						
						
					 
					
						2022-02-22 10:19:09 +00:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9d85a06f11 
							
						 
					 
					
						
						
							
							formula: also capture meson-log.txt  
						
						... 
						
						
						
						This is the log file generated when using `meson`. 
						
						
					 
					
						2022-01-18 17:42:40 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a709d36b2 
							
						 
					 
					
						
						
							
							Start process to remove Enumerable from Formula and Cask::Cask.  
						
						... 
						
						
						
						This is the first step to address
https://github.com/Homebrew/brew/issues/11292 . 
						
						
					 
					
						2022-01-03 14:59:10 +00:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2e6b6ab3a2 
							
						 
					 
					
						
						
							
							Fix style  
						
						
						
						
					 
					
						2021-12-24 21:15:21 -05:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							504dfa8494 
							
						 
					 
					
						
						
							
							Revert "remove on_os from formula"  
						
						... 
						
						
						
						This is causing `post_install` failures. Spotted in
Homebrew/homebrew-core#91763 .
This reverts commit fc7462acd5ffb7cc393d2b56b989e96112ade896. 
						
						
					 
					
						2021-12-21 20:43:57 +08:00 
						 
				 
			
				
					
						
							
							
								hyuraku 
							
						 
					 
					
						
						
						
						
							
						
						
							fc7462acd5 
							
						 
					 
					
						
						
							
							remove on_os from formula  
						
						
						
						
					 
					
						2021-12-20 23:06:42 +09:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							00b588068f 
							
						 
					 
					
						
						
							
							formula: add keg_only_reason to formula hash  
						
						
						
						
					 
					
						2021-12-11 23:30:06 +00:00 
						 
				 
			
				
					
						
							
							
								Sean Molenaar 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4cb8afeeef 
							
						 
					 
					
						
						
							
							service: add timer support for systemd  
						
						
						
						
					 
					
						2021-11-30 11:05:11 +01:00 
						 
				 
			
				
					
						
							
							
								Caleb Xu 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							97bc320836 
							
						 
					 
					
						
						
							
							std_go_args: accept ldflags as string or Array(string)  
						
						
						
						
					 
					
						2021-11-21 07:02:23 -05:00 
						 
				 
			
				
					
						
							
							
								Caleb Xu 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3f357861aa 
							
						 
					 
					
						
						
							
							formula: allow optional output path in std_go_args  
						
						
						
						
					 
					
						2021-11-21 07:02:22 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d43555dd75 
							
						 
					 
					
						
						
							
							brew style --fix  
						
						
						
						
					 
					
						2021-11-02 11:16:10 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							572c7cd179 
							
						 
					 
					
						
						
							
							formula: make each instance have separate spec references  
						
						... 
						
						
						
						This fixes SoftwareSpec#owner being mixed up if there are multiple formula references.
This in turn fixes --force-bottle not working in some scenarios like `brew reinstall`. 
						
						
					 
					
						2021-10-26 15:03:33 +01:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0b8032d421 
							
						 
					 
					
						
						
							
							Document HOMEBREW_INSTALL_FROM_API  
						
						
						
						
					 
					
						2021-10-22 12:37:57 -04:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							16afcff557 
							
						 
					 
					
						
						
							
							formula: fix error in Formula#specified_path with aliases  
						
						
						
						
					 
					
						2021-09-22 02:08:18 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a3e652e8d8 
							
						 
					 
					
						
						
							
							Merge pull request  #12087  from Rylan12/api-head-install-fixes  
						
						... 
						
						
						
						install: fix `HEAD` installations with `HOMEBREW_INSTALL_FROM_API` 
						
						
					 
					
						2021-09-21 09:43:33 +01:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8e1deeb32 
							
						 
					 
					
						
						
							
							Cleanup code and remove unneeded methods  
						
						
						
						
					 
					
						2021-09-21 00:43:30 -04:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							59dc0ed652 
							
						 
					 
					
						
						
							
							formula_installer: fix error if a compatible bottle was not found  
						
						
						
						
					 
					
						2021-09-20 20:57:39 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b55498269f 
							
						 
					 
					
						
						
							
							Revamp APIs around bottle specifications  
						
						
						
						
					 
					
						2021-09-20 15:02:05 +01:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50fac1737a 
							
						 
					 
					
						
						
							
							install: fix HEAD installations with HOMEBREW_INSTALL_FROM_API  
						
						
						
						
					 
					
						2021-09-17 23:46:28 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b622c36be6 
							
						 
					 
					
						
						
							
							Add, use uses_from_macos_names.  
						
						... 
						
						
						
						This strips e.g. `:build` tags. 
						
						
					 
					
						2021-09-14 09:48:19 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8dd11e4e4c 
							
						 
					 
					
						
						
							
							Set uses_from_macos_elements in all cases  
						
						
						
						
					 
					
						2021-09-14 04:06:40 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a6e4e195c1 
							
						 
					 
					
						
						
							
							rubocops/lines: recommend on_os/OS.os? based on context.  
						
						... 
						
						
						
						Recommend the use of `on_macos` and `on_linux` unless we're in
`def install`, `def post_install` or `test do` in which case recommend
`OS.mac?` and `OS.linux?` instead. 
						
						
					 
					
						2021-09-08 13:18:07 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7c37a34cca 
							
						 
					 
					
						
						
							
							Merge pull request  #11927  from FnControlOption/fetch  
						
						... 
						
						
						
						fetch: fix `--bottle-tag` when unbottled on host system 
						
						
					 
					
						2021-09-01 16:08:05 +01:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5d536d66fc 
							
						 
					 
					
						
						
							
							Rename HOMEBREW_JSON_CORE to HOMEBREW_INSTALL_FROM_API  
						
						
						
						
					 
					
						2021-08-27 00:24:15 -04:00 
						 
				 
			
				
					
						
							
							
								FnControlOption 
							
						 
					 
					
						
						
						
						
							
						
						
							b9fc4e36f0 
							
						 
					 
					
						
						
							
							fetch: fix --bottle-tag when unbottled on host system  
						
						
						
						
					 
					
						2021-08-26 14:44:53 -07:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6f7489e52c 
							
						 
					 
					
						
						
							
							formula: make extract_macho_slice_from private  
						
						... 
						
						
						
						Based on feedback from #11756 . 
						
						
					 
					
						2021-08-18 11:51:08 +08:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ae032ad2f 
							
						 
					 
					
						
						
							
							Merge pull request  #11756  from carlocab/deuniversalize-machos  
						
						... 
						
						
						
						formula: add `deuniversalize_machos` method 
						
						
					 
					
						2021-08-18 02:28:34 +08:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f20d61df9a 
							
						 
					 
					
						
						
							
							Fix typecheck error  
						
						
						
						
					 
					
						2021-08-17 22:47:08 +08:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fa635db8a1 
							
						 
					 
					
						
						
							
							Simplify re-definition of targets  
						
						
						
						
					 
					
						2021-08-17 22:32:52 +08:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8b82bbe1e 
							
						 
					 
					
						
						
							
							Fix brew style  
						
						
						
						
					 
					
						2021-08-13 13:49:52 +01:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							12435565f3 
							
						 
					 
					
						
						
							
							formula: allow std_cmake_args to take parameters  
						
						... 
						
						
						
						We have a handful of of formulae that do `std_cmake_args.reject` to
override some of flags (e.g. emscripten, icemon, ortp, qt, klee,
watchman).
Let's try to simplify some of this code by allowing these formulae to
override these flags by passing arguments to `std_cmake_args`.
While we're here, let's update the type signature of `std_cargo_args`. 
						
						
					 
					
						2021-08-10 11:55:00 +08:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							737dd1654b 
							
						 
					 
					
						
						
							
							Refactor API methods  
						
						
						
						
					 
					
						2021-08-06 04:31:27 -04:00 
						 
				 
			
				
					
						
							
							
								Sean Molenaar 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							869b0ea519 
							
						 
					 
					
						
						
							
							Formula: use opt_prefix for service helpers  
						
						
						
						
					 
					
						2021-07-26 11:11:34 +02:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							542694728c 
							
						 
					 
					
						
						
							
							codesign binaries on ARM  
						
						
						
						
					 
					
						2021-07-25 23:21:26 +08:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5128b92d3e 
							
						 
					 
					
						
						
							
							Use slightly more suggestive method name for extracting slices  
						
						... 
						
						
						
						`extract_slice_from` is still a little ambiguous, so let's try to give
it a more suggestive name. 
						
						
					 
					
						2021-07-25 11:29:33 +08:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a8527f4c16 
							
						 
					 
					
						
						
							
							Ensure writability, handle errors  
						
						
						
						
					 
					
						2021-07-24 19:39:47 +08:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e0b786da2 
							
						 
					 
					
						
						
							
							formula: add deuniversalize_machos method  
						
						... 
						
						
						
						This method takes an optional array of `Pathnames`s or `Strings`s and
extracts the native slice from the specified universal binary. If no
parameter is supplied, this is done on all compatible universal binaries
in a formula's keg.
`deuniversalize_machos` is a no-op on Linux.
I still need to look into a) error handling, and b) whether using this
method requires codesigning on ARM.
I've also added signatures to the methods in `extend/os/linux/formula`. 
						
						
					 
					
						2021-07-22 01:24:56 +08:00 
						 
				 
			
				
					
						
							
							
								Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2fe77f5271 
							
						 
					 
					
						
						
							
							Formula: Allow configuration of std_cargo_args  
						
						
						
						
					 
					
						2021-07-20 18:04:35 -04:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4d77e01273 
							
						 
					 
					
						
						
							
							Remove on_macos block  
						
						
						
						
					 
					
						2021-07-20 09:07:09 +08:00 
						 
				 
			
				
					
						
							
							
								Carlo Cabrera 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ceaa2ebd3 
							
						 
					 
					
						
						
							
							formula: add :default_prefix as a standard pour_bottle? requirement  
						
						... 
						
						
						
						See discussion at Homebrew/homebrew-core#81408 . 
						
						
					 
					
						2021-07-19 20:26:02 +08:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							672f6dc3d7 
							
						 
					 
					
						
						
							
							formula: fix latest_version_installed? for HOMEBREW_JSON_CORE  
						
						
						
						
					 
					
						2021-07-16 12:14:15 -04:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							98713e9cd1 
							
						 
					 
					
						
						
							
							BottleAPI: only fetch dependencies if they are outdated locally  
						
						
						
						
					 
					
						2021-07-14 02:39:32 -04:00 
						 
				 
			
				
					
						
							
							
								Dawid Dziurla 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2a9f962747 
							
						 
					 
					
						
						
							
							Merge pull request  #11691  from dawidd6/fetch-bottle-tag  
						
						... 
						
						
						
						fetch: add --bottle-tag flag 
						
						
					 
					
						2021-07-13 18:51:42 +02:00 
						 
				 
			
				
					
						
							
							
								Dawid Dziurla 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							793371a348 
							
						 
					 
					
						
						
							
							fetch: add --bottle-tag flag  
						
						
						
						
					 
					
						2021-07-13 18:03:04 +02:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e344cb6aff 
							
						 
					 
					
						
						
							
							Merge pull request  #11648  from Rylan12/homebrew-json  
						
						... 
						
						
						
						Install formulae from JSON files 
						
						
					 
					
						2021-07-13 02:54:49 -04:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1e34b69cd4 
							
						 
					 
					
						
						
							
							Prioritize installing from JSON if env var is set  
						
						
						
						
					 
					
						2021-07-12 03:23:42 -04:00 
						 
				 
			
				
					
						
							
							
								Rylan Polster 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b68e17552c 
							
						 
					 
					
						
						
							
							Only use BottleAPI::latest_pkg_version with env var  
						
						
						
						
					 
					
						2021-07-06 09:33:16 -04:00