[Debtags-devel] Vocabulary updates, part 2
Erich Schubert
Erich Schubert <erich.schubert@gmail.com>
Mon, 25 Apr 2005 14:03:03 -0700
Hi Enrico,
I'd like to bring up some things I had in my first version - implications.
I'll try to explain with an example:
we have fileformat::oggvorbis I guess. But what if I'm not really
interested in applications that can handle ogg, but I'd like to have
any music format?
For that, we IMHO need something like
fileclass::audio
The clearest combination IMHO would be:
fileencoding::oggvorbis
fileformat::ogg
fileclass::audio
fileencoding::oggtheora
fileformat::ogg
fileclass::video
fileformat::msword
fileclass::textdocument
We can specify this with two apporaches - using "implications" and
encricos "formulas"
While the formulas can express much more of course, I have two
objections to them: first of all, they are designed to be applied to
the database upon query (while I would add implications at edit time,
but that has its own drawbacks), and secondly its like the "enhances"
field with packages - it feels like its specified at the wrong place.
I'd also like to have a clean split between "objective" things such as
used technologies (protocol::smtp, which maybe should be
protocol::mail::smtp) and its use (mail-client, mail-server etc.)
I do have to admit that enricos formulas come in handy here...
(mail-client: role::client && (protocol::smtp || protocol::pop3 ||
protocol::imap) )
I have to think of a way to process them as efficiently as I do with
the "real" tags though...
best regards,
Erich Schubert
--
erich@(mucl.de|debian.org) -- GPG Key ID: 4B3A135C (o_
To understand recursion you first need to understand recursion. //\
Wo befreundete Wege zusammenlaufen, da sieht die ganze Welt f=FCr V_/_
eine Stunde wie eine Heimat aus. --- Herrmann Hesse