mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Version 0.9.10.
This commit is contained in:
		
							parent
							
								
									7a87460457
								
							
						
					
					
						commit
						8874641a66
					
				@ -15,7 +15,7 @@ class Mage_Config
 | 
				
			|||||||
            $this->_environmentName = $environment;
 | 
					            $this->_environmentName = $environment;
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            // Create temporal directory for clone
 | 
					            // Create temporal directory for clone
 | 
				
			||||||
            if (is_array($this->_environment['deployment']['source'])) {
 | 
					            if (isset($this->_environment['deployment']['source']) && is_array($this->_environment['deployment']['source'])) {
 | 
				
			||||||
                if (trim($this->_environment['deployment']['source']['temporal']) == '') {
 | 
					                if (trim($this->_environment['deployment']['source']['temporal']) == '') {
 | 
				
			||||||
                    $this->_environment['deployment']['source']['temporal'] = '/tmp';
 | 
					                    $this->_environment['deployment']['source']['temporal'] = '/tmp';
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
				
			|||||||
@ -84,7 +84,7 @@ class Mage_Task_Deploy
 | 
				
			|||||||
        // Time Information Hosts
 | 
					        // Time Information Hosts
 | 
				
			||||||
        if ($this->_hostsCount > 0) {
 | 
					        if ($this->_hostsCount > 0) {
 | 
				
			||||||
            $timeTextHost = $this->_transcurredTime($this->_endTimeHosts - $this->_startTimeHosts);
 | 
					            $timeTextHost = $this->_transcurredTime($this->_endTimeHosts - $this->_startTimeHosts);
 | 
				
			||||||
            Mage_Console::output('Average time for deployment: <dark_gray>' . $timeTextHost . '</dark_gray>.');
 | 
					            Mage_Console::output('Time for deployment: <dark_gray>' . $timeTextHost . '</dark_gray>.');
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            $timeTextPerHost = $this->_transcurredTime(round(($this->_endTimeHosts - $this->_startTimeHosts) / $this->_hostsCount));
 | 
					            $timeTextPerHost = $this->_transcurredTime(round(($this->_endTimeHosts - $this->_startTimeHosts) / $this->_hostsCount));
 | 
				
			||||||
            Mage_Console::output('Average time per host: <dark_gray>' . $timeTextPerHost . '</dark_gray>.');            
 | 
					            Mage_Console::output('Average time per host: <dark_gray>' . $timeTextPerHost . '</dark_gray>.');            
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								bin/mage
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bin/mage
									
									
									
									
									
								
							@ -1,5 +1,5 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
#VERSION:0.9.9
 | 
					#VERSION:0.9.10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SCRIPT=$(readlink -f $0)
 | 
					SCRIPT=$(readlink -f $0)
 | 
				
			||||||
DIR=$(dirname $SCRIPT)
 | 
					DIR=$(dirname $SCRIPT)
 | 
				
			||||||
 | 
				
			|||||||
@ -24,7 +24,7 @@ date_default_timezone_set('UTC');
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
$baseDir = dirname(dirname(__FILE__));
 | 
					$baseDir = dirname(dirname(__FILE__));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define('MAGALLANES_VERSION', '0.9.9');
 | 
					define('MAGALLANES_VERSION', '0.9.10');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
require_once $baseDir . '/Mage/spyc.php';
 | 
					require_once $baseDir . '/Mage/spyc.php';
 | 
				
			||||||
require_once $baseDir . '/Mage/Autoload.php';
 | 
					require_once $baseDir . '/Mage/Autoload.php';
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user