Development

Changeset 10502

You must first sign up to be able to contribute.

Changeset 10502

Show
Ignore:
Timestamp:
07/29/08 17:20:17 (1 year ago)
Author:
nicolas
Message:

[1.2] updated for the task to allow all parameters to be set with this option

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/task/project/sfProjectDeployTask.class.php

    r10467 r10502  
    3131      new sfCommandOption('go', null, sfCommandOption::PARAMETER_NONE, 'Do the deployment'), 
    3232      new sfCommandOption('rsync-dir', null, sfCommandOption::PARAMETER_REQUIRED, 'The directory where to look for rsync*.txt files', 'config'), 
    33       new sfCommandOption('rsync-options', null, sfCommandOption::PARAMETER_OPTIONAL, 'To options to pass to the rsync executable', 'azC'), 
     33      new sfCommandOption('rsync-options', null, sfCommandOption::PARAMETER_OPTIONAL, 'To options to pass to the rsync executable', 'azC --force --delete'), 
    3434    )); 
    3535 
     
    139139    else 
    140140    { 
    141       $parameters = sprintf('-%s --force --delete', $options['rsync-options'])
     141      $parameters = $options['rsync-options']
    142142      if (file_exists($options['rsync-dir'].'/rsync_exclude.txt')) 
    143143      { 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.