Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								8129de3b9a 
								
							 
						 
						
							
							
								
								runner: check gerrit.Refresh() for errors  
							
							
							
						 
						
							2019-12-02 14:37:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								04a24a0c60 
								
							 
						 
						
							
							
								
								Use Runner  
							
							... 
							
							
							
							This revamps code quite a bit. Series handling has been moved into the
gerrit client, it also handles caching.
The Runner logic itself has been greatly simplified.
The runner logic has been moved into the runner.go, submitqueue.go is
gone.
The "per-run result object" concept has been dropped - we instead just
use annotated logs.
Also, we switched to apex/log 
							
						 
						
							2019-12-02 10:00:32 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								7bafef7a84 
								
							 
						 
						
							
							
								
								runner: document NewRunner  
							
							
							
						 
						
							2019-11-27 19:49:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								cd40e68dde 
								
							 
						 
						
							
							
								
								submit-queue.tmpl: move HEAD information to result  
							
							
							
						 
						
							2019-11-27 19:39:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								ba62db97e9 
								
							 
						 
						
							
							
								
								result: move code into separate result.go  
							
							
							
						 
						
							2019-11-27 19:33:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								192835278c 
								
							 
						 
						
							
							
								
								submitqueue.submitqueue: document Result functions  
							
							
							
						 
						
							2019-11-27 19:32:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								91deabe4b3 
								
							 
						 
						
							
							
								
								submitqueue.Run: copy series into result object after loading them from gerrit  
							
							... 
							
							
							
							So we have them in the history later. 
							
						 
						
							2019-11-27 13:03:17 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								87d09f6163 
								
							 
						 
						
							
							
								
								submitqueue: Result: record startTime during a new MakeResult constructor, return EndTime properly  
							
							... 
							
							
							
							even without any LogEntries 
							
						 
						
							2019-11-27 13:02:20 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								b65f56c6e2 
								
							 
						 
						
							
							
								
								frontend: return state atomically, remove GetSubmitQueue  
							
							
							
						 
						
							2019-11-25 18:12:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								ad27d963f2 
								
							 
						 
						
							
							
								
								submitqueue: remove updateHEAD function  
							
							... 
							
							
							
							This is already done during the Run() function 
							
						 
						
							2019-11-25 17:42:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								266c27d1d0 
								
							 
						 
						
							
							
								
								foo  
							
							
							
						 
						
							2019-11-25 17:42:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								40b2f11543 
								
							 
						 
						
							
							
								
								frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue()  
							
							
							
						 
						
							2019-11-25 17:35:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								057294830e 
								
							 
						 
						
							
							
								
								frontend: show submittable status and URL, add runner, revamp logging  
							
							
							
						 
						
							2019-11-21 16:13:50 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								28bc242178 
								
							 
						 
						
							
							
								
								submitqueue.DoRebase: only rebase the next auto-submittable series on top of current HEAD  
							
							... 
							
							
							
							Doing "predictive rebasing" produces long series on the next run, and we
don't want to keep state between different runs. 
							
						 
						
							2019-11-18 19:26:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								08b969ea0b 
								
							 
						 
						
							
							
								
								submitqueue: keep all series around  
							
							... 
							
							
							
							Introduce submitqueue.IsAutoSubmittable using a new
serie.FilterAllChangesets function, and skip over non-auto-submittable
series during rebase.
This allows better inspection on why other series are ignored by the
queue. 
							
						 
						
							2019-11-18 19:26:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								c117dcf1af 
								
							 
						 
						
							
							
								
								submitqueue: remove unused SubmitQueueTag  
							
							... 
							
							
							
							This is passed into MakeSubmitQueue instead. 
							
						 
						
							2019-11-18 19:26:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Florian Klink 
								
							 
						 
						
							
							
							
							
								
							
							
								987b539e33 
								
							 
						 
						
							
							
								
								initial import  
							
							
							
						 
						
							2019-11-18 15:40:46 +01:00