[Demudi-commits] r81 - in demudi-debtags/trunk: . debian

Free Ekanayaka free-guest@haydn.debian.org
Mon, 01 Nov 2004 04:26:56 -0700


Author: free-guest
Date: 2004-11-01 04:26:36 -0700 (Mon, 01 Nov 2004)
New Revision: 81

Added:
   demudi-debtags/trunk/check-consistency
   demudi-debtags/trunk/tagvoc
Modified:
   demudi-debtags/trunk/debian/changelog
   demudi-debtags/trunk/debian/rules
   demudi-debtags/trunk/tagpatch
Log:
demudi-debtags (0.2) unstable; urgency=low

  * Removed the radio tag along with its two packages (radio, gradio), as
    their not enough in quantity and quality to justify a dedicated tag.
  * Included tasksel information about relevance and default action in the
    tag stanzas
  * Wrote check-consistency to make sure that all the tags used in tagpatch
    are in the tagvoc vocabulary

 --

Added: demudi-debtags/trunk/check-consistency
===================================================================
--- demudi-debtags/trunk/check-consistency	2004-11-01 09:39:09 UTC (rev 80)
+++ demudi-debtags/trunk/check-consistency	2004-11-01 11:26:36 UTC (rev 81)
@@ -0,0 +1,16 @@
+#!/usr/bin/python
+import sys
+import os
+import re
+import string
+
+tagpatch = (file( './tagpatch', 'r')).readlines()
+tagvoc   = (file( './tagvoc', 'r')).read()
+
+tags = re.findall(r'Tag: ([a-z:]*)', tagvoc)
+
+for line in tagpatch:
+    package, tag = (re.match('^([^:]+):[ \t]*\+([a-z:]+)', line)).groups()
+    if tag not in tags:
+        print 'Invalid tag "%s" for package "%s"' % (tag,package)
+        sys.exit(1)


Property changes on: demudi-debtags/trunk/check-consistency
___________________________________________________________________
Name: svn:executable
   + *

Modified: demudi-debtags/trunk/debian/changelog
===================================================================
--- demudi-debtags/trunk/debian/changelog	2004-11-01 09:39:09 UTC (rev 80)
+++ demudi-debtags/trunk/debian/changelog	2004-11-01 11:26:36 UTC (rev 81)
@@ -1,3 +1,14 @@
+demudi-debtags (0.2) unstable; urgency=low
+
+  * Removed the radio tag along with its two packages (radio, gradio), as
+    their not enough in quantity and quality to justify a dedicated tag.
+  * Included tasksel information about relevance and default action in the
+    tag stanzas
+  * Wrote check-consistency to make sure that all the tags used in tagpatch
+    are in the tagvoc vocabulary
+
+ --
+
 demudi-debtags (0.1) unstable; urgency=low
 
   * Added convert, apt-spy, synaptic the base task

Modified: demudi-debtags/trunk/debian/rules
===================================================================
--- demudi-debtags/trunk/debian/rules	2004-11-01 09:39:09 UTC (rev 80)
+++ demudi-debtags/trunk/debian/rules	2004-11-01 11:26:36 UTC (rev 81)
@@ -1,12 +1,12 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 build:
-	for tag in $(shell cut -f 2 -d + tagpatch |sort|uniq); do echo Tag: $$tag; echo Description: ; echo ; done > tagvoc
+	./check-consistency
+
 clean:
 	dh_testdir
 	dh_testroot
 	dh_clean 
-	-rm tagvoc
 
 install:
 	dh_testdir

Modified: demudi-debtags/trunk/tagpatch
===================================================================
--- demudi-debtags/trunk/tagpatch	2004-11-01 09:39:09 UTC (rev 80)
+++ demudi-debtags/trunk/tagpatch	2004-11-01 11:26:36 UTC (rev 81)
@@ -126,7 +126,6 @@
 gnus-bonus-el:		+demudi::base
 gnuserv:		+demudi::base
 gqview:			+demudi::base
-gradio:			+demudi::radio
 grep-dctrl:		+demudi::base
 grip:			+demudi::cd::rippers
 grub:			+demudi::base
@@ -219,7 +218,6 @@
 qjackctl:		+demudi::jack
 qsynth:			+demudi::synthesis
 qsynth:			+demudi::synthesis
-radio:			+demudi::radio
 realtime-lsm:		+demudi::base
 reportbug:		+demudi::base
 rezound:		+demudi::editors::audio

Added: demudi-debtags/trunk/tagvoc
===================================================================
--- demudi-debtags/trunk/tagvoc	2004-11-01 09:39:09 UTC (rev 80)
+++ demudi-debtags/trunk/tagvoc	2004-11-01 11:26:36 UTC (rev 81)
@@ -0,0 +1,132 @@
+Tag: demudi::base
+Description: Default packages
+ Popular components that most people will like to see installed
+ by default.
+Relevance: 1
+Action: install
+
+Tag: demudi::cd
+Description: Ripping and burning
+ Tools to rip and burn CD-ROMs
+Relevance: 3
+Action: mark
+
+Tag: demudi::cd::burners
+
+Tag: demudi::cd::players
+
+Tag: demudi::cd::rippers
+
+Tag: demudi::djing
+Description: DJing
+ Software useful for DJs.
+Relevance: 1
+Action: show
+
+Tag: demudi::djing::jukebox
+
+Tag: demudi::djing::mixing
+
+Tag: demudi::djing::scratching
+
+Tag: demudi::dsp
+Description: DSP and analysis
+ Programs to record and master.
+Relevance: 4
+Action: mark
+
+Tag: demudi::editors
+Description: Editors
+ Applications for editing sound files.
+Relevance: 7
+Action: mark
+
+Tag: demudi::editors::audio
+
+Tag: demudi::editors::mod
+
+Tag: demudi::editors::soundfont
+
+Tag: demudi::editors::tag
+
+Tag: demudi::exchange
+Description: Music exchange
+ Applications for exchanging music files
+Relevance: 7
+Action: install
+
+Tag: demudi::fluxbox
+Description: Light graphical environment (Fluxbox)
+ Installs a miminal fluxbox based environment
+Relevance: 10
+Action: mark
+
+Tag: demudi::gnome
+Description: Full desktop system (GNOME)
+ Installs a full GNOME desktop
+Relevance: 9
+Action: show
+
+Tag: demudi::jack
+Description: JACK utils
+ Installs JACK utils
+Relevance: 1
+Action: install
+
+Tag: demudi::midi
+Description: MIDI and Sequencers
+ MIDI tools and sequencer applications
+Relevance: 6
+Action: mark
+
+Tag: demudi::midi::keyboards
+
+Tag: demudi::midi::patchbays
+
+Tag: demudi::midi::players
+
+Tag: demudi::midi::sequencers
+
+Tag: demudi::mixers
+Description: Audio Mixers
+Relevance: 1
+Action: install
+
+Tag: demudi::notation
+Relevance: 2
+Description: Scores and sheets
+ Applications for editing sound files
+Action: show
+
+Tag: demudi::notation::tab
+
+Tag: demudi::players
+
+Tag: demudi::practice
+Relevance: 6
+Description: Ear training and practice
+ Programs to practice instruments
+Action: mark
+
+Tag: demudi::recorders
+Relevance: 8
+Description: Recording and mastering
+ Programs to record and master sound files.
+Action: mark
+
+Tag: demudi::streaming
+Relevance: 1
+Description: Streaming server
+ Programs to record and master.
+Action: show
+
+Tag: demudi::synthesis
+Section: audio
+Relevance: 5
+Description: Synthesis
+ Applications that can produce sound.
+Action: mark
+
+Tag: demudi::synthesis::drumming
+
+Tag: demudi::synthesis::samplers