Simone Basso 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e4ef279b80 
							
						 
					 
					
						
						
							
							fix(onboard): fail if input is /dev/null ( #176 )  
						
						... 
						
						
						
						When the input is /dev/null, every read returns EOF. In general, it
may also happen that read doesn't work as intended. So, the robust thing
to do here is to ensure that we check the return values. By doing that
we notice of io.EOF errors and we don't proceed with the onboarding.
This diff fixes the issue described by https://github.com/ooni/probe/issues/1281 
however it may be that we also want (in the near or not-so-near future)
to stop onboarding if the input terminal is not a tty. This is however a
possible future evolution that should not prevent us for committing and
merging this simple fix that unblocks creating a Debian package. 
						
						
					 
					
						2020-11-24 09:19:34 +01:00 
						 
				 
			
				
					
						
							
							
								Simone Basso 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a4ae94b5ec 
							
						 
					 
					
						
						
							
							refactor: now utils is an internal package ( #166 )  
						
						... 
						
						
						
						Let us make internal everything because this is not a library. 
						
						
					 
					
						2020-11-13 17:28:02 +01:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							e3d68457b3 
							
						 
					 
					
						
						
							
							Implement writing using the new single measurement pattern  
						
						
						
						
					 
					
						2020-01-28 11:53:00 +01:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							58199a020e 
							
						 
					 
					
						
						
							
							Refactoring to reduce package count  
						
						... 
						
						
						
						* Consolidate util and utils into the same package
* Move internal/onboard into internal/cli/onboard
* Move maybeOnboard into the onboard package 
						
						
					 
					
						2019-12-02 15:15:50 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc1314ca61 
							
						 
					 
					
						
						
							
							Add support for calculating the estimate time remaining ( #71 )  
						
						
						
						
					 
					
						2019-11-14 12:01:40 +01:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							f425d3f007 
							
						 
					 
					
						
						
							
							Implement the show command ( #53 )  
						
						
						
						
					 
					
						2019-10-02 18:23:14 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							18a89f4cbd 
							
						 
					 
					
						
						
							
							[schema-change] Prefix all columns that could cause conflicts  
						
						
						
						
					 
					
						2018-09-17 17:30:38 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							6c49bd694f 
							
						 
					 
					
						
						
							
							Improve output of incomplete measurements  
						
						... 
						
						
						
						Rename done to is_done 
						
						
					 
					
						2018-09-17 13:04:48 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							4ed94dfc53 
							
						 
					 
					
						
						
							
							Improve the presentation of the measurement listing from the CLI  
						
						
						
						
					 
					
						2018-09-13 14:54:56 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							54af7170d4 
							
						 
					 
					
						
						
							
							Add support for data_usage event  
						
						
						
						
					 
					
						2018-09-12 13:42:16 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							0ee0c28129 
							
						 
					 
					
						
						
							
							Resolve country code ambigious selection  
						
						
						
						
					 
					
						2018-09-11 18:06:15 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							d02ed117f9 
							
						 
					 
					
						
						
							
							Include total_runtime in the summary of measurements  
						
						
						
						
					 
					
						2018-09-11 16:36:09 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							8da12a9c07 
							
						 
					 
					
						
						
							
							Add measurement summary to list command  
						
						
						
						
					 
					
						2018-09-11 15:40:42 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							31ccb1c181 
							
						 
					 
					
						
						
							
							Improvements to the list output  
						
						
						
						
					 
					
						2018-09-11 15:19:08 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							1637fdbf93 
							
						 
					 
					
						
						
							
							Structured output of measurements  
						
						
						
						
					 
					
						2018-09-10 18:03:32 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							b29071f37b 
							
						 
					 
					
						
						
							
							Replace summary with test_keys  
						
						
						
						
					 
					
						2018-09-10 12:41:28 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							7951ee6bb5 
							
						 
					 
					
						
						
							
							Add onboard command  
						
						
						
						
					 
					
						2018-06-25 16:31:44 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							703b260903 
							
						 
					 
					
						
						
							
							Implement missing bits in result listing  
						
						
						
						
					 
					
						2018-06-22 11:53:10 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							ecf3370f53 
							
						 
					 
					
						
						
							
							Implement result listing from CLI  
						
						... 
						
						
						
						Change the schema to include ASN and Network Name in the results table 
						
						
					 
					
						2018-05-03 18:40:52 +02:00 
						 
				 
			
				
					
						
							
							
								Arturo Filastò 
							
						 
					 
					
						
						
						
						
							
						
						
							e852713ed7 
							
						 
					 
					
						
						
							
							Add functions for structured progress logging  
						
						
						
						
					 
					
						2018-03-22 15:22:29 +01:00