svn: /pear/pearweb/trunk/ cron/apidoc-queue.php package-manual.xml
[email protected] (Christian Weiske) Fri, 25 Feb 2011 21:41:01 +0000
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
cweiske Fri, 25 Feb 2011 21:41:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308686
Log:
- Fix bug #16627: HTTP_Request2 - "latest" docs not linked, prepare release of pearweb_manual 1.2.2
Bug: http://pear.php.net/bugs/16627 (unknown)
Changed paths:
U pear/pearweb/trunk/cron/apidoc-queue.php
U pear/pearweb/trunk/package-manual.xml
Modified: pear/pearweb/trunk/cron/apidoc-queue.php
===================================================================
--- pear/pearweb/trunk/cron/apidoc-queue.php 2011-02-25 21:03:19 UTC (rev 308685)
+++ pear/pearweb/trunk/cron/apidoc-queue.php 2011-02-25 21:41:01 UTC (rev 308686)
@@ -145,13 +145,11 @@
}
pclose($process);
- $cmd = sprintf("ln -sf %s/%s-%s %s/%s-latest",
- PEAR_APIDOC_DIR,
- $name,
- $info['version'],
- PEAR_APIDOC_DIR,
- $name);
- `$cmd`;
+ //update "latest" symlink
+ $latestdir = PEAR_APIDOC_DIR . $name . '-latest';
+ $versiondir = PEAR_APIDOC_DIR . $name . '-' . $info['version'];
+ is_link($latestdir) && unlink($latestdir);
+ symlink($versiondir, $latestdir);
$query = "UPDATE apidoc_queue SET finished = NOW(), log = ? WHERE filename = ?";
$dbh->query($query, array($output, $filename));
Modified: pear/pearweb/trunk/package-manual.xml
===================================================================
--- pear/pearweb/trunk/package-manual.xml 2011-02-25 21:03:19 UTC (rev 308685)
+++ pear/pearweb/trunk/package-manual.xml 2011-02-25 21:41:01 UTC (rev 308686)
@@ -80,10 +80,10 @@
<active>yes</active>
</developer>
- <date>2011-02-24</date>
+ <date>2011-02-25</date>
<time>22:28:00</time>
<version>
- <release>1.2.1</release>
+ <release>1.2.2</release>
<api>1.2.0</api>
</version>
<stability>
@@ -93,8 +93,7 @@
<license uri="http://www.php.net/license">PHP License</license>
<notes>
-find-documentation loads XML as XML and uses proper xpaths with namespaces.
-This finally fixes all the issues with automatic doc finding.
+- Fix bug #16627: HTTP_Request2 - "latest" docs not linked
</notes>
<contents>
@@ -316,5 +315,21 @@
This finally fixes all the issues with automatic doc finding.
</notes>
</release>
+
+ <release>
+ <version>
+ <release>1.2.2</release>
+ <api>1.2.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <date>2011-02-25</date>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>
+- Fix bug #16627: HTTP_Request2 - "latest" docs not linked
+ </notes>
+ </release>
</changelog>
</package>