Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							12afb272bb 
							
						 
					 
					
						
						
							
							Strategy: Manually handle redirections  
						
						
						
						
					 
					
						2020-12-23 00:35:27 -05:00 
						 
				 
			
				
					
						
							
							
								Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ac459f8e76 
							
						 
					 
					
						
						
							
							Strategy: Temporarily remove response caching  
						
						... 
						
						
						
						The simple approach here caches all header or body content from
responses, so memory usage continually grows with each fetch. This
becomes more of a notable issue with long livecheck runs (e.g.,
`--tap homebrew/core`).
Instead, we should only cache the header/body for URLs that we know
will be fetched more than once in a given run. Being able to
determine which URLs will be fetched more than once requires
structural changes within livecheck strategies, so this will take a
bit of work to implement.
I've been working on this off and on and I'll introduce a more
sophisticated method of livecheck-wide caching in a later PR. In the
interim time, it's best to remove this caching behavior until I've
finished working on an approach that provides benefits (reducing
duplicate fetches) while minimizing detriments (increased memory
usage). 
						
						
					 
					
						2020-12-20 12:42:51 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							91ee5e0a65 
							
						 
					 
					
						
						
							
							Simplify assignment of curl result.  
						
						
						
						
					 
					
						2020-12-20 02:23:30 +01:00 
						 
				 
			
				
					
						
							
							
								Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f299d3ea6e 
							
						 
					 
					
						
						
							
							Strategy#page_headers: Disable debug in curl  
						
						
						
						
					 
					
						2020-12-19 19:34:28 -05:00 
						 
				 
			
				
					
						
							
							
								Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7f40198506 
							
						 
					 
					
						
						
							
							Make Strategy#page_headers more general purpose  
						
						
						
						
					 
					
						2020-12-19 19:34:26 -05:00 
						 
				 
			
				
					
						
							
							
								Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1bd2be5e04 
							
						 
					 
					
						
						
							
							Rename page_contents to page_content  
						
						
						
						
					 
					
						2020-12-19 19:34:25 -05:00 
						 
				 
			
				
					
						
							
							
								Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a55686a0e2 
							
						 
					 
					
						
						
							
							Enforce strategy url requirement in latest_version  
						
						
						
						
					 
					
						2020-12-19 19:34:25 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0fd0b1dad0 
							
						 
					 
					
						
						
							
							Actually cache headers.  
						
						
						
						
					 
					
						2020-12-19 19:34:25 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c306577575 
							
						 
					 
					
						
						
							
							Skip Sparkle strategy only if URL is not specified explicitly.  
						
						
						
						
					 
					
						2020-12-19 19:34:24 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							605c33c70c 
							
						 
					 
					
						
						
							
							Improve matching of Sparkle strategy.  
						
						
						
						
					 
					
						2020-12-19 19:34:21 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							347a58f164 
							
						 
					 
					
						
						
							
							Don't skip Sparkle strategy if explicitly specified.  
						
						
						
						
					 
					
						2020-12-19 19:34:20 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cf40f7b8f6 
							
						 
					 
					
						
						
							
							Rename FollowRedirection to HeaderMatch.  
						
						
						
						
					 
					
						2020-12-19 19:34:20 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8b7f38faf0 
							
						 
					 
					
						
						
							
							Fix code style.  
						
						
						
						
					 
					
						2020-12-19 19:34:19 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b9741dd1e6 
							
						 
					 
					
						
						
							
							Try getting headers with both user agents.  
						
						
						
						
					 
					
						2020-12-19 19:34:19 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0fe3bf7c7f 
							
						 
					 
					
						
						
							
							Only use Sparkle strategy if URL is specified explicitly.  
						
						
						
						
					 
					
						2020-12-19 19:34:19 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							10b5548eac 
							
						 
					 
					
						
						
							
							Fix page_headers method for multiple headers.  
						
						
						
						
					 
					
						2020-12-19 19:34:17 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c24af82a25 
							
						 
					 
					
						
						
							
							Add Sparkle livecheck strategy.  
						
						
						
						
					 
					
						2020-12-19 19:34:17 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b293acc89b 
							
						 
					 
					
						
						
							
							Add FollowRedirection livecheck strategy.  
						
						
						
						
					 
					
						2020-12-19 19:34:16 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f5d311490c 
							
						 
					 
					
						
						
							
							Add page_headers and page_contents helpers.  
						
						
						
						
					 
					
						2020-12-19 19:34:16 -05:00 
						 
				 
			
				
					
						
							
							
								Dario Vladovic 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1f30f27c2d 
							
						 
					 
					
						
						
							
							livecheck: CPAN strategy  
						
						
						
						
					 
					
						2020-12-11 17:43:09 -05:00 
						 
				 
			
				
					
						
							
							
								Sam Ford 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							524272aed0 
							
						 
					 
					
						
						
							
							Livecheck: Rework non-positive PRIORITY handling  
						
						
						
						
					 
					
						2020-12-05 11:49:47 -05:00 
						 
				 
			
				
					
						
							
							
								nandahkrishna 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f96b8e7138 
							
						 
					 
					
						
						
							
							livecheck: add GithubLatest strategy  
						
						
						
						
					 
					
						2020-12-05 20:37:27 +05:30 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								nandahkrishna 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f520301180 
							
						 
					 
					
						
						
							
							livecheck migration: add strategies  
						
						... 
						
						
						
						Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com> 
						
						
					 
					
						2020-08-27 20:00:30 +05:30