Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							d8194cf6f0 
							
						 
					 
					
						
						
							
							Add specific handling for pywintypes.error  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2017-10-17 17:20:00 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							0f00aa4098 
							
						 
					 
					
						
						
							
							Convert paths to unicode in get_config_path_from_options if needed  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2017-04-10 17:45:06 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							f55c9d4201 
							
						 
					 
					
						
						
							
							Recognize COMPOSE_TLS_VERSION env var in tls_config_from_options  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2017-03-22 17:27:11 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							dd294ce9cc 
							
						 
					 
					
						
						
							
							Merge pull request  #4591  from shin-/4580-log-api-error  
						
						... 
						
						
						
						Avoid encoding crash in log_api_error 
						
						
					 
					
						2017-03-10 14:02:44 -08:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							c3bcd59aeb 
							
						 
					 
					
						
						
							
							Avoid encoding crash in log_api_error  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2017-03-09 15:23:13 -08:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							ac12ab95c4 
							
						 
					 
					
						
						
							
							Rename COMPOSE_FILE_SEPARATOR -> COMPOSE_PATH_SEPARATOR  
						
						... 
						
						
						
						Add unit test
Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2017-03-08 14:30:15 -08:00 
						 
				 
			
				
					
						
							
							
								kbroadwater 
							
						 
					 
					
						
						
						
						
							
						
						
							6c3641fdb7 
							
						 
					 
					
						
						
							
							Returing 1 when a container exits with a non-zero exit code with --abort-on-container-exit is set. Signed-off-by: Kevin Broadwater <kevin.broadwater@gmail.com>  
						
						... 
						
						
						
						Catching the first container to exit Signed-off-by: Kevin Broadwater <kevin.broadwater@gmail.com>
Addressing feedback and fixing tests Signed-off-by: Kevin Broadwater <kevin.broadwater@gmail.com>
Adding break and removing extra fixture files Signed-off-by: Kevin Broadwater <kevin.broadwater@gmail.com>
Moving break Signed-off-by: Kevin Broadwater <kevin.broadwater@gmail.com> 
						
						
					 
					
						2017-03-01 17:08:26 -08:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							d2fb146913 
							
						 
					 
					
						
						
							
							Replace "which" calls with the portable find_executable function  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-10-24 13:22:52 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							9248298a4a 
							
						 
					 
					
						
						
							
							Merge pull request  #4016  from shin-/4008-unicode-formatter  
						
						... 
						
						
						
						Handle formatter case where logrecord message is binary containing unicode 
						
						
					 
					
						2016-10-06 16:49:03 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							17c5b45641 
							
						 
					 
					
						
						
							
							Handle formatter case where logrecord message is binary containing  
						
						... 
						
						
						
						unicode characters.
Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-10-06 15:39:47 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							007cf96452 
							
						 
					 
					
						
						
							
							Use docker-py's default behavior when no explicit host on Windows  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-09-28 15:36:57 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							64517e31fc 
							
						 
					 
					
						
						
							
							Force default host on windows to the default TCP host (instead of npipe)  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-09-16 11:43:25 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							651283eef9 
							
						 
					 
					
						
						
							
							Merge pull request  #3941  from shin-/3888-recover-apierror-logs  
						
						... 
						
						
						
						Catch APIError while printing container logs 
						
						
					 
					
						2016-09-13 12:58:40 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							3fcd648ba2 
							
						 
					 
					
						
						
							
							Catch APIError while printing container logs  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-09-13 12:10:41 -07:00 
						 
				 
			
				
					
						
							
							
								Aanand Prasad 
							
						 
					 
					
						
						
						
						
							
						
						
							9759f27fa6 
							
						 
					 
					
						
						
							
							Fix integration test on Docker for Mac  
						
						... 
						
						
						
						Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> 
						
						
					 
					
						2016-09-13 14:50:37 +01:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							c0305024f5 
							
						 
					 
					
						
						
							
							Remove surrounding quotes from TLS paths, if present  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-08-09 15:13:01 -07:00 
						 
				 
			
				
					
						
							
							
								Aanand Prasad 
							
						 
					 
					
						
						
						
						
							
						
						
							5aeeecb6f2 
							
						 
					 
					
						
						
							
							Fix stacktrace when handling timeout error  
						
						... 
						
						
						
						Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> 
						
						
					 
					
						2016-07-29 17:12:46 +01:00 
						 
				 
			
				
					
						
							
							
								Ben Firshman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1877a41b92 
							
						 
					 
					
						
						
							
							Add user agent to API calls  
						
						... 
						
						
						
						Signed-off-by: Ben Firshman <ben@firshman.co.uk> 
						
						
					 
					
						2016-07-27 14:26:15 +01:00 
						 
				 
			
				
					
						
							
							
								Aanand Prasad 
							
						 
					 
					
						
						
						
						
							
						
						
							4207d43b85 
							
						 
					 
					
						
						
							
							Fix timeout value in error message  
						
						... 
						
						
						
						Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> 
						
						
					 
					
						2016-07-07 12:08:47 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							ee68a51e28 
							
						 
					 
					
						
						
							
							Skip TLS version test if TLSv1_2 is not available on platform  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-06-14 12:23:04 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							e7a8b2fed5 
							
						 
					 
					
						
						
							
							Update TLS version configuration code. Tests.  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-06-03 11:45:22 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							d27b82207c 
							
						 
					 
					
						
						
							
							Remove obsolete assert_hostname tests  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-03-30 10:58:15 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							7116aefe43 
							
						 
					 
					
						
						
							
							Fix assert_hostname logic in tls_config_from_options  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-03-28 17:39:20 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							b99037b4a6 
							
						 
					 
					
						
						
							
							Add support for DOCKER_* variables in .env file  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-03-24 10:57:28 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							36f1b4589c 
							
						 
					 
					
						
						
							
							Limit occurrences of creating an environment object.  
						
						... 
						
						
						
						.env file is always read from the project_dir
Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-03-24 10:57:01 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							fd020ed2cf 
							
						 
					 
					
						
						
							
							Tests use updated get_config_paths_from_options signature  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-03-24 10:57:01 -07:00 
						 
				 
			
				
					
						
							
							
								Joffrey F 
							
						 
					 
					
						
						
						
						
							
						
						
							2cc87555cb 
							
						 
					 
					
						
						
							
							tls_config_from_options unit tests  
						
						... 
						
						
						
						Signed-off-by: Joffrey F <joffrey@docker.com> 
						
						
					 
					
						2016-03-22 11:57:45 -07:00 
						 
				 
			
				
					
						
							
							
								Thomas Grainger 
							
						 
					 
					
						
						
						
						
							
						
						
							20bf05a6e3 
							
						 
					 
					
						
						
							
							Fix TypeError in Exception handling  
						
						... 
						
						
						
						Traceback (most recent call last):
  File "/tmp/tmp.02tgGaAGtW/docker-compose/bin/docker-compose", line 11, in <module>
    sys.exit(main())
  File "/tmp/tmp.02tgGaAGtW/docker-compose/lib/python3.4/site-packages/compose/cli/main.py", line 68, in main
    log_api_error(e)
  File "/tmp/tmp.02tgGaAGtW/docker-compose/lib/python3.4/site-packages/compose/cli/main.py", line 89, in log_api_error
    if 'client is newer than server' in e.explanation:
TypeError: 'str' does not support the buffer interface
Signed-off-by: Thomas Grainger <tagrain@gmail.com> 
						
						
					 
					
						2016-03-17 15:13:01 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							e8a93821d4 
							
						 
					 
					
						
						
							
							Fix race condition where a container stopping and starting again would cause logs to miss logs.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-03-15 13:17:11 -04:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							48ed68eeaa 
							
						 
					 
					
						
						
							
							Fix geneartors for python3.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-03-15 13:17:10 -04:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							44c1747127 
							
						 
					 
					
						
						
							
							Add tests for reactive log printing.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-03-15 13:17:10 -04:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							65797558f8 
							
						 
					 
					
						
						
							
							Refactor log printing to support containers that are started later.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-03-15 13:17:10 -04:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							0a091055d2 
							
						 
					 
					
						
						
							
							Improve handling of connection errors and error messages.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-03-08 15:39:11 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							886328640f 
							
						 
					 
					
						
						
							
							Convert some cli tests to pytest.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-03-08 14:42:51 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							53a3d14046 
							
						 
					 
					
						
						
							
							Support multiple files in COMPOSE_FILE env var.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-03-02 18:47:58 -05:00 
						 
				 
			
				
					
						
							
							
								Stéphane Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							038da4eea3 
							
						 
					 
					
						
						
							
							Logs args of LogPrinter as a dictionary  
						
						... 
						
						
						
						Signed-off-by: Stéphane Seguin <stephseguin93@gmail.com> 
						
						
					 
					
						2016-03-01 20:24:15 +01:00 
						 
				 
			
				
					
						
							
							
								Stéphane Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							9b36dc5c54 
							
						 
					 
					
						
						
							
							Add --tail flag as option on logs.  
						
						... 
						
						
						
						Closes  #265 
Signed-off-by: Stéphane Seguin <stephseguin93@gmail.com> 
					
						2016-03-01 20:23:46 +01:00 
						 
				 
			
				
					
						
							
							
								Stéphane Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							82632098a3 
							
						 
					 
					
						
						
							
							Add -f, --follow flag as option on logs.  
						
						... 
						
						
						
						Closes  #2187 
Signed-off-by: Stéphane Seguin <stephseguin93@gmail.com> 
					
						2016-03-01 20:23:43 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							b4868d0259 
							
						 
					 
					
						
						
							
							Fix race condition with up and setting signal handlers.  
						
						... 
						
						
						
						Also print stdout on wait_for_container().
Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-01-29 13:04:04 -05:00 
						 
				 
			
				
					
						
							
							
								Evgeniy Dobrohvalov 
							
						 
					 
					
						
						
						
						
							
						
						
							bf48a781db 
							
						 
					 
					
						
						
							
							Add flag for stops all containers if any container was stopped.  
						
						... 
						
						
						
						Signed-off-by: Evgeniy Dobrohvalov <scipetr@gmail.com> 
						
						
					 
					
						2016-01-13 13:12:09 +03:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							304a44aeab 
							
						 
					 
					
						
						
							
							Merge pull request  #2585  from dnephin/short_signal_handlers  
						
						... 
						
						
						
						Fix signal handlers by moving shutdown logic out of handler 
						
						
					 
					
						2016-01-12 12:55:53 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							475a091768 
							
						 
					 
					
						
						
							
							Update pre-commit config to enforace that future imports exist in all files.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2016-01-07 13:09:03 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							778c213dfc 
							
						 
					 
					
						
						
							
							Fix signal handlers by moving shutdown logic out of handler.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2015-12-30 11:21:20 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							ea4230e7a2 
							
						 
					 
					
						
						
							
							Handle both SIGINT and SIGTERM for docker-compose up.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2015-11-12 17:41:44 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							d32bb8efee 
							
						 
					 
					
						
						
							
							Fix   #1549  - flush after each line of logs.  
						
						... 
						
						
						
						Includes some refactoring of log_printer_test to support checking for flush(), and so that each test calls the unit-under-test directly, instead of through a helper function.
Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2015-11-05 15:33:42 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							841ed4ed21 
							
						 
					 
					
						
						
							
							Remove the duplicate 'Warning' prefix now that the logger adds the prefix.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2015-10-29 14:18:28 -04:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							d836973a04 
							
						 
					 
					
						
						
							
							Use colors when logging warnings or errors, so they are more obvious.  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2015-10-29 14:06:50 -04:00 
						 
				 
			
				
					
						
							
							
								Mazz Mosley 
							
						 
					 
					
						
						
						
						
							
						
						
							bee063c07d 
							
						 
					 
					
						
						
							
							Fix tests  
						
						... 
						
						
						
						Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com> 
						
						
					 
					
						2015-10-27 17:12:18 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							fbaea58fc1 
							
						 
					 
					
						
						
							
							Fix   #2133  - fix call to get_client()  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@docker.com> 
						
						
					 
					
						2015-10-05 15:57:49 -04:00 
						 
				 
			
				
					
						
							
							
								Daniel Nephin 
							
						 
					 
					
						
						
						
						
							
						
						
							413b76e228 
							
						 
					 
					
						
						
							
							Fix warning message when a container uses a non-json log driver  
						
						... 
						
						
						
						Signed-off-by: Daniel Nephin <dnephin@gmail.com> 
						
						
					 
					
						2015-09-11 12:54:27 -04:00