Development

Changeset 25759

You must first sign up to be able to contribute.

Changeset 25759

Show
Ignore:
Timestamp:
12/22/09 00:55:08 (3 years ago)
Author:
tkoomzaaskz
Message:

preparing sfDoctrineGraphvizPlugin for new release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrineGraphvizPlugin/trunk/README

    r25708 r25759  
    88============ 
    99 
    10 Install the plugin via the subversion repository: 
     10Install the plugin via the subversion repository by executing the following 
     11command from the project root directory (branch 1.4 of the plugin works for 
     12both 1.3 and 1.4 symfony versions): 
    1113 
    12     $ svn co http://svn.symfony-project.com/plugins/sfDoctrineGraphvizPlugin plugins/sfDoctrineGraphvizPlugin 
     14    $ svn co http://svn.symfony-project.com/plugins/sfDoctrineGraphvizPlugin/branches/1.4 plugins/sfDoctrineGraphvizPlugin 
    1315 
    14 from the project root directory or by using the command: 
     16or by using the default symfony plugin install command: 
    1517 
    1618    $ ./symfony plugin:install sfDoctrineGraphvizPlugin 
  • plugins/sfDoctrineGraphvizPlugin/trunk/lib/task/doctrineGraphvizTask.class.php

    r25617 r25759  
    22/* 
    33 * This file is part of sfDoctrineGraphvizPlugin 
    4  * (c) 2009 David PHAM-VAN, Dejan Spasic, Tomasz Ducin 
     4 * (c) 2009 Tomasz Ducin, David PHAM-VAN, Dejan Spasic 
    55 * 
    66 * For the full copyright and license information, please view the LICENSE 
     
    1010/** 
    1111 * @package    sfDoctrineGraphvizPlugin 
     12 * @author     Tomasz Ducin <tomasz.ducin@gmail.com> 
    1213 * @author     David PHAM-VAN 
    1314 * @author     Dejan Spasic <spasic.dejan@yahoo.de> 
    14  * @author     Tomasz Ducin <tomasz.ducin@gmail.com> 
    1515 * @version    SVN: $Id$ 
    1616 */ 
     
    246246    $digraphMCD = $this->genMCD(); 
    247247    file_put_contents($baseMCDDir . '/' . self::MCD_SCHEMA_FILE, $digraphMCD); 
    248     $this->getFilesystem()->sh('dot ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_DOT_PNG_FILE); 
    249     $this->getFilesystem()->sh('neato ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_NEATO_PNG_FILE); 
    250     $this->getFilesystem()->sh('twopi ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_TWOPI_PNG_FILE); 
    251     $this->getFilesystem()->sh('circo ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_CIRCO_PNG_FILE); 
    252     $this->getFilesystem()->sh('fdp ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_FDP_PNG_FILE); 
     248    $this->getFilesystem()->execute('dot ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_DOT_PNG_FILE); 
     249    $this->getFilesystem()->execute('neato ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_NEATO_PNG_FILE); 
     250    $this->getFilesystem()->execute('twopi ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_TWOPI_PNG_FILE); 
     251    $this->getFilesystem()->execute('circo ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_CIRCO_PNG_FILE); 
     252    $this->getFilesystem()->execute('fdp ' . $baseMCDDir . '/' . self::MCD_SCHEMA_FILE . ' -Tpng -o' . $baseMCDDir . '/' . self::MCD_FDP_PNG_FILE); 
    253253 
    254254    $this->logSection('graphviz', 'generating MLD'); 
     
    256256    $digraphMLD = $this->genMLD(); 
    257257    file_put_contents($baseMLDDir . '/' . self::MLD_SCHEMA_FILE, $digraphMLD); 
    258     $this->getFilesystem()->sh('dot ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_DOT_PNG_FILE); 
    259     $this->getFilesystem()->sh('neato ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_NEATO_PNG_FILE); 
    260     $this->getFilesystem()->sh('twopi ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_TWOPI_PNG_FILE); 
    261     $this->getFilesystem()->sh('circo ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_CIRCO_PNG_FILE); 
    262     $this->getFilesystem()->sh('fdp ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_FDP_PNG_FILE); 
     258    $this->getFilesystem()->execute('dot ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_DOT_PNG_FILE); 
     259    $this->getFilesystem()->execute('neato ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_NEATO_PNG_FILE); 
     260    $this->getFilesystem()->execute('twopi ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_TWOPI_PNG_FILE); 
     261    $this->getFilesystem()->execute('circo ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_CIRCO_PNG_FILE); 
     262    $this->getFilesystem()->execute('fdp ' . $baseMLDDir . '/' . self::MLD_SCHEMA_FILE . ' -Tpng -o' . $baseMLDDir . '/' . self::MLD_FDP_PNG_FILE); 
    263263  } 
    264264} 
  • plugins/sfDoctrineGraphvizPlugin/trunk/package.xml

    r25709 r25759  
    2323    <active>yes</active> 
    2424  </developer> 
    25   <date>2009-12-19</date> 
     25  <date>2009-12-22</date> 
    2626  <version> 
    27     <release>0.1.2</release> 
     27    <release>0.2.0</release> 
    2828    <api>0.1.0</api> 
    2929  </version> 
    3030  <stability> 
    31     <release>beta</release> 
    32     <api>beta</api> 
     31    <release>stable</release> 
     32    <api>stable</api> 
    3333  </stability> 
    3434  <license uri="http://www.symfony-project.com/license">MIT</license> 
     
    8585        <name>symfony</name> 
    8686        <channel>pear.symfony-project.com</channel> 
    87         <min>1.2</min> 
    88         <max>1.3</max> 
    89         <exclude>1.3</exclude> 
     87        <min>1.3.0</min> 
     88        <max>1.5.0</max> 
     89        <exclude>1.5.0</exclude> 
    9090      </package> 
    9191    </required> 
     
    9999   <release> 
    100100    <version> 
    101      <release>0.1.2</release> 
     101     <release>0.2.0</release> 
    102102     <api>0.1.0</api> 
    103103    </version> 
    104104    <stability> 
    105      <release>beta</release> 
    106      <api>beta</api> 
     105     <release>stable</release> 
     106     <api>stable</api> 
    107107    </stability> 
    108108    <license uri="http://www.symfony-project.org/license">MIT license</license> 
    109     <date>2009-12-21</date> 
     109    <date>2009-12-22</date> 
    110110    <license>MIT</license> 
    111111    <notes> 
    112112     * entire release by: Tomasz Ducin 
    113      * modified entire directory structure to be SVN-like 
    114113     * created new branch for symfony version 1.4 
    115      * added different image types for both MCD and MLD 
    116      * readme extended 
    117114    </notes> 
    118115   </release> 
     
    152149    <license>MIT</license> 
    153150    <notes> 
    154     [tkoomzaaskz] 
     151    * entire release by: Tomasz Ducin 
    155152     * fixed plugin directory path 
    156153     * fixed command executed to generate png files