[Pomp-commits] r332 - www

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 28 17:06:56 CEST 2010


Author: kingaa
Date: 2010-09-28 17:06:56 +0200 (Tue, 28 Sep 2010)
New Revision: 332

Modified:
   www/index.php
Log:
- include SVN revision number as well


Modified: www/index.php
===================================================================
--- www/index.php	2010-09-28 14:50:31 UTC (rev 331)
+++ www/index.php	2010-09-28 15:06:56 UTC (rev 332)
@@ -8,6 +8,8 @@
 $rforgepage = file_get_contents("http://r-forge.r-project.org/R/?group_id=214");
 preg_match("/Version: <b>(.+?)<\/b>/",$rforgepage,$matches);
 $rforgeversion = $matches[1];
+preg_match("/Rev\.: <b>(.+?)<\/b>/",$rforgepage,$matches);
+$svnrevision = $matches[1];
 echo '<?xml version="1.0" encoding="UTF-8"?>';
 ?>
 <!DOCTYPE html
@@ -45,7 +47,7 @@
 <td align="left" width="40%">
 <ul>
 <li><a href="./index.php?nav=about">About <i>pomp</i></a></li>
-<li><a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name;?>">Development Version (<?php print $rforgeversion; ?>) on R-Forge</a></li>
+ <li><a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name;?>">Development Version (<?php print $rforgeversion; ?>, SVN Rev. <?php print $svnrevision; ?>) on R-Forge</a></li>
 <li><a href="http://cran.at.r-project.org/web/packages/pomp/">Release Version (<?php print $cranversion; ?>) on CRAN</a></li>
 <li><a target="_blank" href="http://cran.at.r-project.org/web/packages/pomp/pomp.pdf"><i>pomp</i> manual (PDF)</a></li>
 <li><a href="http://lists.r-forge.r-project.org/pipermail/pomp-announce/"><i>pomp-announce</i> mailing list archives</a></li>



More information about the pomp-commits mailing list