Browse Source

Version 0.9.10.

1.0
Andrés Montañez 13 years ago
parent
commit
8874641a66
  1. 2
      Mage/Config.php
  2. 2
      Mage/Task/Deploy.php
  3. 2
      bin/mage
  4. 2
      bin/mage.php

2
Mage/Config.php

@ -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';
} }

2
Mage/Task/Deploy.php

@ -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

@ -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)

2
bin/mage.php

@ -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…
Cancel
Save