[Pkg-haskell-commits] darcs: tools: Mark non-DHG-packages with dashes

Joachim Breitner mail at joachim-breitner.de
Wed Aug 4 20:51:14 UTC 2010


Wed Aug  4 20:50:53 UTC 2010  Joachim Breitner <mail at joachim-breitner.de>
  * Mark non-DHG-packages with dashes
  Ignore-this: 266bb70408cebb4f24da6dda4f631751

    M ./haskell-pkg-graph.py -1 +4

Wed Aug  4 20:50:53 UTC 2010  Joachim Breitner <mail at joachim-breitner.de>
  * Mark non-DHG-packages with dashes
  Ignore-this: 266bb70408cebb4f24da6dda4f631751
diff -rN -u old-tools/haskell-pkg-graph.py new-tools/haskell-pkg-graph.py
--- old-tools/haskell-pkg-graph.py	2010-08-04 20:51:14.233916235 +0000
+++ new-tools/haskell-pkg-graph.py	2010-08-04 20:51:14.241916662 +0000
@@ -203,7 +203,10 @@
             else:
                 colour="green"
             name = src['package'].replace("haskell-","-")
-            print '%s [label="%s",style=filled,color="%s"]' % (hash(src['package']), name, colour)
+            style = "filled"
+            if "pkg-haskell-maintainers at lists.alioth.debian.org" not in src['maintainer']:
+                style += ",dashed"
+            print '%s [label="%s",style="%s",color=black,fillcolor="%s"]' % (hash(src['package']), name, style, colour)
             # check recursively the build-dependencies if something already
             # needs to be rebuild
             rels = PkgRelation.parse_relations(src['build-depends'])





More information about the Pkg-haskell-commits mailing list