[Pkg-jed-commit] r961 - slxfig/trunk/debian

Rafael Laboissiere rafael at alioth.debian.org
Wed Nov 7 16:18:21 UTC 2007


Author: rafael
Date: 2007-11-07 16:18:21 +0000 (Wed, 07 Nov 2007)
New Revision: 961

Added:
   slxfig/trunk/debian/slxfig.php
Modified:
   slxfig/trunk/debian/changelog
   slxfig/trunk/debian/rules
Log:
* debian/slxfig.php: Script PHP used for faking an usptream URL whichs
  gives the latest SVN revision of the upstream repository
* debian/rules: Install uscan script at people.debian.org


Modified: slxfig/trunk/debian/changelog
===================================================================
--- slxfig/trunk/debian/changelog	2007-11-06 00:07:10 UTC (rev 960)
+++ slxfig/trunk/debian/changelog	2007-11-07 16:18:21 UTC (rev 961)
@@ -6,8 +6,11 @@
     + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
     + Bumped dependency to libslang 2.1
   * debian/watch: Added file
+  * debian/slxfig.php: Script PHP used for faking an usptream URL whichs
+    gives the latest SVN revision of the upstream repository
+  * debian/rules: Install uscan script at people.debian.org
 
- -- Rafael Laboissiere <rafael at debian.org>  Mon, 05 Nov 2007 23:59:27 +0100
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 07 Nov 2007 16:34:13 +0100
 
 slxfig (0~svn.114-4) unstable; urgency=low
 

Modified: slxfig/trunk/debian/rules
===================================================================
--- slxfig/trunk/debian/rules	2007-11-06 00:07:10 UTC (rev 960)
+++ slxfig/trunk/debian/rules	2007-11-07 16:18:21 UTC (rev 961)
@@ -8,6 +8,8 @@
 pkg = slxfig
 ver = 0
 svn = http://opensvn.csie.org/jedsoft/slxfig/trunk/
+uscan_host = people.debian.org
+uscan_dir = public_html
 
 get-orig-source:
 	SVNREV=$$(svn info $(svn) | grep Rev: | cut -f4 -d\ ) ;	\
@@ -20,3 +22,6 @@
 	( cd examples/plot ;			\
 	  SLSH_PATH=/usr/share/slsh:../../src	\
 	    $(MAKE) )
+
+install-uscan-script:
+	scp debian/slxfig.php $(uscan_host):$(uscan_dir)

Added: slxfig/trunk/debian/slxfig.php
===================================================================
--- slxfig/trunk/debian/slxfig.php	                        (rev 0)
+++ slxfig/trunk/debian/slxfig.php	2007-11-07 16:18:21 UTC (rev 961)
@@ -0,0 +1,8 @@
+<?php
+exec ('svn log http://opensvn.csie.org/jedsoft/slxfig/trunk/', $svninfo);
+foreach ($svninfo as $line) {
+  $line = preg_replace ('/r(\d+)/', "<p><a href=\"svn.$1\">$1</a>", $line);
+  $line = preg_replace ('/\---+/', '<hr>', $line);
+  echo "$line\n";
+}
+?>




More information about the Pkg-jed-commit mailing list