Changeset 3804
- Timestamp:
- 02/16/08 04:31:16 (17 months ago)
- Files:
-
- 8 modified
-
branches/0.10/lib/Doctrine.php (modified) (1 diff)
-
branches/0.9/lib/Doctrine.php (modified) (1 diff)
-
tags/0.10.1/lib/Doctrine.php (modified) (1 diff)
-
tags/0.10.1/package.xml (modified) (6 diffs)
-
tags/0.9.1/lib/Doctrine.php (modified) (1 diff)
-
tags/0.9.1/package.xml (modified) (6 diffs)
-
website/data/tasks/sfDoctrineGenPackage.class.php (modified) (1 diff)
-
website/lib/model/doctrine/ApiRelease.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine.php
r3791 r3804 37 37 * VERSION 38 38 */ 39 const VERSION = '0.10. 0';39 const VERSION = '0.10.1'; 40 40 41 41 /** -
branches/0.9/lib/Doctrine.php
r3787 r3804 37 37 * VERSION 38 38 */ 39 const VERSION = '0.9. 0';39 const VERSION = '0.9.1'; 40 40 41 41 /** -
tags/0.10.1/lib/Doctrine.php
r3791 r3804 37 37 * VERSION 38 38 */ 39 const VERSION = '0.10. 0';39 const VERSION = '0.10.1'; 40 40 41 41 /** -
tags/0.10.1/package.xml
r3764 r3804 22 22 <active>yes</active> 23 23 </lead> 24 <date>2008-02-1 3</date>25 <time>2 1:47:17</time>24 <date>2008-02-15</date> 25 <time>22:20:21</time> 26 26 <version> 27 <release>0.10. 0</release>28 <api>0.10. 0</api>27 <release>0.10.1</release> 28 <api>0.10.1</api> 29 29 </version> 30 30 <stability> … … 1176 1176 <file name="741TestCase.php" role="test" /> 1177 1177 <file name="749TestCase.php" role="test" /> 1178 <file name="786TestCase.php" role="test" /> 1178 1179 <file name="NjeroTestCase.php" role="test" /> 1179 1180 </dir> <!-- /tests/Ticket --> … … 1228 1229 <file name="index.php" role="test" /> 1229 1230 <file name="IntegrityActionTestCase.php" role="test" /> 1231 <file name="JwageTestCase.php" role="test" /> 1230 1232 <file name="ManagerTestCase.php" role="test" /> 1231 1233 <file name="MigrationTestCase.php" role="test" /> … … 1559 1561 <release> 1560 1562 <version> 1561 <release> 1.0.0</release>1562 <api> 1.0.0</api>1563 <release>0.10.1</release> 1564 <api>0.10.1</api> 1563 1565 </version> 1564 1566 <stability> … … 1566 1568 <api>beta</api> 1567 1569 </stability> 1568 <date>2008-02-1 3</date>1569 <license uri="http:// phpdoctrine.net/license">LGPL license</license>1570 <date>2008-02-15</date> 1571 <license uri="http://www.phpdoctrine.org/license">LGPL license</license> 1570 1572 <notes>-</notes> 1571 1573 </release> … … 1583 1585 <notes>-</notes> 1584 1586 </release> 1585 <release>1586 <version>1587 <release>0.9</release>1588 <api>0.9</api>1589 </version>1590 <stability>1591 <release>beta</release>1592 <api>beta</api>1593 </stability>1594 <date>2008-02-06</date>1595 <license uri="http://phpdoctrine.net/license">MIT license</license>1596 <notes>barfoo</notes>1597 </release>1598 1587 </changelog> 1599 1588 </package> -
tags/0.9.1/lib/Doctrine.php
r3787 r3804 37 37 * VERSION 38 38 */ 39 const VERSION = '0.9. 0';39 const VERSION = '0.9.1'; 40 40 41 41 /** -
tags/0.9.1/package.xml
r3764 r3804 22 22 <active>yes</active> 23 23 </lead> 24 <date>2008-02-1 3</date>25 <time>2 1:46:58</time>24 <date>2008-02-15</date> 25 <time>22:19:57</time> 26 26 <version> 27 <release>0.9. 0</release>28 <api>0.9. 0</api>27 <release>0.9.1</release> 28 <api>0.9.1</api> 29 29 </version> 30 30 <stability> … … 1132 1132 <file name="741TestCase.php" role="test" /> 1133 1133 <file name="749TestCase.php" role="test" /> 1134 <file name="786TestCase.php" role="test" /> 1134 1135 <file name="NjeroTestCase.php" role="test" /> 1135 1136 </dir> <!-- /tests/Ticket --> … … 1182 1183 <file name="ImportTestCase.php" role="test" /> 1183 1184 <file name="IntegrityActionTestCase.php" role="test" /> 1185 <file name="JwageTestCase.php" role="test" /> 1184 1186 <file name="ManagerTestCase.php" role="test" /> 1185 1187 <file name="MigrationTestCase.php" role="test" /> … … 1511 1513 <release> 1512 1514 <version> 1513 <release> 1.0.0</release>1514 <api> 1.0.0</api>1515 <release>0.9.1</release> 1516 <api>0.9.1</api> 1515 1517 </version> 1516 1518 <stability> … … 1518 1520 <api>beta</api> 1519 1521 </stability> 1520 <date>2008-02-1 3</date>1521 <license uri="http:// phpdoctrine.net/license">LGPL license</license>1522 <date>2008-02-15</date> 1523 <license uri="http://www.phpdoctrine.org/license">LGPL license</license> 1522 1524 <notes>-</notes> 1523 1525 </release> … … 1535 1537 <notes>-</notes> 1536 1538 </release> 1537 <release>1538 <version>1539 <release>0.9</release>1540 <api>0.9</api>1541 </version>1542 <stability>1543 <release>beta</release>1544 <api>beta</api>1545 </stability>1546 <date>2008-02-06</date>1547 <license uri="http://phpdoctrine.net/license">MIT license</license>1548 <notes>barfoo</notes>1549 </release>1550 1539 </changelog> 1551 1540 </package> -
website/data/tasks/sfDoctrineGenPackage.class.php
r3763 r3804 34 34 } 35 35 36 $path = $doctrine_svn_path . $this->release->getSvnPath(); 37 36 if ($this->release->isTrunk()) 37 { 38 $path = $doctrine_svn_path . $this->release->getSvnPath(); 39 } else { 40 $path = $doctrine_svn_path . $this->release->getLatestPointReleaseSvnPath(); 41 } 42 38 43 pake_echo_action('doctrine', $this->release->getLatestName()); 39 44 pake_echo_action('doctrine', $path); -
website/lib/model/doctrine/ApiRelease.class.php
r3766 r3804 54 54 return $e; 55 55 } 56 57 public function getSvnPath() 58 { 59 if ($this->isTrunk()) 60 { 61 return '/trunk'; 62 } else { 63 $info = $this->getReleaseInfo(); 64 unset($info['point']); 65 66 return '/branches/' . implode('.', $info); 67 } 68 } 69 70 public function getPointSvnPath($point) 71 { 72 $pointName = $this->getPointName($point); 73 74 return '/tags/' . $pointName; 75 } 56 76 57 77 public function getLatestPointRelease() … … 60 80 61 81 return end($pointReleases); 82 } 83 84 public function getLatestPointReleaseName() 85 { 86 return $this->getPointName($this->getLatestPointRelease()); 87 } 88 89 public function getLatestPointReleaseSvnPath($point) 90 { 91 return $this->getPointSvnPath($this->getLatestPointRelease()); 62 92 } 63 93