[Pkg-ocaml-maint-commits] r5303 - in /trunk/tools/ocaml-debian-status: Makefile debian-ocaml-status.genshi

zack at users.alioth.debian.org zack at users.alioth.debian.org
Wed Mar 5 10:06:08 UTC 2008


Author: zack
Date: Wed Mar  5 10:06:08 2008
New Revision: 5303

URL: http://svn.debian.org/wsvn/?sc=1&rev=5303
Log:
some minor but long overdue changes:
- add links to buildd
- add the number of packages reported per section
- fix link to my homepage
- update excuses link to point to release.d.o (now that bjorn is out of date)

Modified:
    trunk/tools/ocaml-debian-status/Makefile
    trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi

Modified: trunk/tools/ocaml-debian-status/Makefile
URL: http://svn.debian.org/wsvn/trunk/tools/ocaml-debian-status/Makefile?rev=5303&op=diff
==============================================================================
--- trunk/tools/ocaml-debian-status/Makefile (original)
+++ trunk/tools/ocaml-debian-status/Makefile Wed Mar  5 10:06:08 2008
@@ -1,3 +1,6 @@
+# XXX: target organization in this Makefile sucks, should be redone (but beware
+# of not breaking zack's cron job on alioth)
+
 NULL =
 HTML = debian-ocaml-status.html
 INSTALL_STUFF =	\
@@ -8,6 +11,7 @@
 SOURCES = $(wildcard data/*Sources*)
 DATA = $(PACKAGES) $(SOURCES)
 
+html: $(HTML)
 all: retrieve $(HTML)
 clean:
 	rm -f $(HTML)
@@ -15,7 +19,8 @@
 	rm -rf data/
 
 # to be used on alioth for updating Debian OCaml status page
-install: all
+install: all cp
+cp:
 	cp $(INSTALL_STUFF) ~/pkg-ocaml-maint/htdocs/
 
 .PHONY: retrieve

Modified: trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi
URL: http://svn.debian.org/wsvn/trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi?rev=5303&op=diff
==============================================================================
--- trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi (original)
+++ trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi Wed Mar  5 10:06:08 2008
@@ -15,8 +15,12 @@
 
     <div id="navbar">
       <ul>
-	<li> jump to: <a href="#runtime">packages with runtime deps on OCaml</a> (<a href="http://buildd.debian.org/pkg.cgi?pkg=${','.join([x for (x,y) in packages['bin']])}">on buildd</a>)</li>
-	<li> jump to: <a href="#buildtime">packages with build-time deps on OCaml</a> (<a href="http://buildd.debian.org/pkg.cgi?pkg=${','.join([x for (x,y) in packages['src']])}">on buildd</a>)</li>
+	<li> jump to: <a href="#runtime">packages with runtime deps on OCaml</a>
+	  <small>(<a href="http://buildd.debian.org/pkg.cgi?pkg=${','.join([x
+	      for (x,y) in packages['bin']])}">on buildd</a>)</small></li>
+	<li> jump to: <a href="#buildtime">packages with build-time deps on OCaml</a>
+	  <small>(<a href="http://buildd.debian.org/pkg.cgi?pkg=${','.join([x
+	      for (x,y) in packages['src']])}">on buildd</a>)</small></li>
       </ul>
     </div>
 
@@ -40,7 +44,8 @@
       </p>
     </div>
 
-    <h3><a name="runtime" />Packages with Runtime Dependencies on OCaml</h3>
+    <h3><a name="runtime" />Packages with Runtime Dependencies on OCaml
+      (<span py:content="len(packages['bin'])">number</span> entries)</h3>
 
     <div class="status">
       <table>
@@ -57,7 +62,8 @@
 	      py:choose="">
 	    <td>
 	      <a href="http://packages.qa.debian.org/${src}"><span
-		  class="package" py:content="src">pkg</span></a>
+		  class="package" py:content="src">pkg</span></a> <br />
+	      <small>[<a href="http://buildd.debian.org/pkg.cgi?pkg=${src}">buildd</a>]</small>
 	    </td>
 	    <py:for each="versions in ocaml_versions" py:choose="">
 	      <td py:when="versions is None" class="none"></td>
@@ -67,7 +73,7 @@
 	      <td py:when="versions.has_key('unstable')" class="inUnstable">
 		<span py:content="versions['unstable']">x.y.z (unstable)</span>
 		<br />
-		<small>[<a href="http://bjorn.haxx.se/debian/testing.pl?package=${src}">excuses</a>]</small>
+		<small>[<a href="http://release.debian.org/migration/testing.pl?package=${src}">excuses</a>]</small>
 	      </td>
 	      <td py:when="versions.has_key('experimental')" class="inExperimental">
 		<span py:content="versions['experimental']">x.y.z (experimental)</span>
@@ -82,7 +88,8 @@
       </table>
     </div>
 
-    <h3><a name="buildtime" />Packages with Build-Time (only) Dependencies on OCaml</h3>
+    <h3><a name="buildtime" />Packages with Build-Time (only) Dependencies on OCaml
+      (<span py:content="len(packages['src'])">number</span> entries)</h3>
 
     <p> <small> <strong>Note:</strong> in this table the OCaml version can only
 	be guessed. Each package reported below has a <tt>&gt;=</tt> build
@@ -105,7 +112,8 @@
 	      py:choose="">
 	    <td>
 	      <a href="http://packages.qa.debian.org/${src}"><span
-		  class="package" py:content="src">pkg</span></a>
+		  class="package" py:content="src">pkg</span></a> <br />
+	      <small>[<a href="http://buildd.debian.org/pkg.cgi?pkg=${src}">buildd</a>]</small>
 	    </td>
 	    <py:for each="versions in ocaml_versions" py:choose="">
 	      <td py:when="versions is None" class="none"></td>
@@ -115,7 +123,7 @@
 	      <td py:when="versions.has_key('unstable')" class="inUnstable">
 		<span py:content="versions['unstable']">x.y.z (unstable)</span>
 		<br />
-		<small>[<a href="http://bjorn.haxx.se/debian/testing.pl?package=${src}">excuses</a>]</small>
+		<small>[<a href="http://release.debian.org/migration/testing.pl?package=${src}">excuses</a>]</small>
 	      </td>
 	      <td py:when="versions.has_key('experimental')" class="inExperimental">
 		<span py:content="versions['experimental']">x.y.z (experimental)</span>
@@ -133,11 +141,11 @@
     <div id="footer">
       <p> Last generated: <span class="timestamp"
           py:content="str(timestamp)">year/month/day ...</span> <br />
-        Contact: <a href="mailto:zack at debian.org">Stefano Zacchiroli</a> ; the
+	Contact: <a href="http://upsilon.cc/~zack">Stefano Zacchiroli</a> ; the
         code which generates this page <a
           href="http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/tools/ocaml-debian-status/?rev=0&amp;sc=0">is
           available</a>. <br /> Kudos: fpeters and his <a
-          href="http://www.0d.be/debian/debian-gnome-2.14-status.html">Gnome
+          href="http://www.0d.be/debian/debian-gnome-2.22-status.html">Gnome
           Status Page</a>, from which I shamelessly copied this page idea (and
         CSS). </p>
     </div>




More information about the Pkg-ocaml-maint-commits mailing list