[Demudi-commits] r73 - in demudi-tasksel/trunk: . debian

Free Ekanayaka free-guest@haydn.debian.org
Sun, 31 Oct 2004 02:46:22 -0700


Author: free-guest
Date: 2004-10-31 02:45:45 -0700 (Sun, 31 Oct 2004)
New Revision: 73

Modified:
   demudi-tasksel/trunk/debian/changelog
   demudi-tasksel/trunk/task-demudi
Log:
Rewrote task-demudi in bash

Modified: demudi-tasksel/trunk/debian/changelog
===================================================================
--- demudi-tasksel/trunk/debian/changelog	2004-10-31 09:44:15 UTC (rev 72)
+++ demudi-tasksel/trunk/debian/changelog	2004-10-31 09:45:45 UTC (rev 73)
@@ -1,22 +1,10 @@
 demudi-tasksel (0.1) unstable; urgency=low
 
-  * added convert, apt-spy, synaptic the base task
-  * removed rcconf, songwrite, t-gnus, as they are currently blocked in sid due to
-    serious bugs. we may reconsider their inclusion once the bugs are fixed
-  * replaced snd with snd-gtk-alsa and snd-doc
-  * adapted to the new tasksel implementation
-  * using discover1 instead of discover2
-  * removed gcdmaster from the CD utilities task, as it has been dropped by
+  * Adapted to the new tasksel implementation
+  * Using discover1 instead of discover2
+  * Removed gcdmaster from the CD utilities task, as it has been dropped by
     the debian maintainer, we may consider to repackage it.
-  * merged the x-window-system task with the base one: X gets
-    installed by default; if you want to skip it choose the manual package
-    selection in the tasksel menu
-  * removed openbox from the gnome task, we are now using metacity
-  * tuned relevance values, graphical environment on top and then the others
+  * Tuned relevance values, graphical environment on top and then the others
     by importance
-  * added synaptic to the default task
-  * removed vux from the base task, we have already to many players
-  * added gnome-control-center to the gnome task
 
-
  -- Free Ekanayaka <free@agnula.org>  Fri, 29 Oct 2004 11:59:09 +0200

Modified: demudi-tasksel/trunk/task-demudi
===================================================================
--- demudi-tasksel/trunk/task-demudi	2004-10-31 09:44:15 UTC (rev 72)
+++ demudi-tasksel/trunk/task-demudi	2004-10-31 09:45:45 UTC (rev 73)
@@ -1,24 +1,3 @@
-#!/usr/bin/python
-import sys
-import os
-import re
-import string
+#!/bin/sh
 
-task = sys.argv[1]
-
-# DebTags is to slow for this :(
-#put, get = os.popen4('debtags tagsearch demudi:: | cut -f 1 -d " " | xargs echo -n')
-#tags = (get.read()).split(" ")
-#
-# for tag in tags:
-#     put, get = os.popen4('debtags grep \'%s\' | cut -f 1 -d : | xargs echo -n' % (tag))
-#     packages = (get.read()).split(" ")
-
-entries = ((file( '/etc/debtags/tagpatch.d/demudi', 'r')).read()).split('\n')
-entries.pop()
-
-for entry in entries:
-    package = (string.split(entry,":"))[0]
-    tag = string.split(entry,"+")[1]
-    if (task == (string.split(tag,"::"))[1]):
-        print package
+cat /etc/debtags/tagpatch.d/demudi | grep "+demudi::$1" | cut -f 1 -d :