hardware:: tag matching lib plans

Enrico Zini enrico at enricozini.org
Tue Jan 24 15:51:04 UTC 2012


On Mon, Jan 16, 2012 at 02:07:43PM +0100, Enrico Zini wrote:

> > Tag: hardware::storage:cd:writer
> > Description: Compact Disc writer
> > (or hardware::storage:cd-writer ?)
> > 
> > Tag: hardware::storage:dvd:writer
> > Description: Digital Versatile Disc writer
> 
> This is something that I would prefer to get via a combination of
> different tags: use::viewing/use::editing, for example, to distinguish
> between cd/dvd players and cd/dvd writers. If that strategy gives
> wrong results, then we can consider adding special tags.

It turned out that it's hard to tell whether use::editing refers to
hardware::storage:dvd or to other tags. There could be a software used to edit
video, which also happens to have special support for reading (but not writing)
DVDs.

So I added the cd/dvd *-writer tags:

  diff --git a/debian-packages b/debian-packages
  index ae93288..eac0419 100644
  --- a/debian-packages
  +++ b/debian-packages
  @@ -767,13 +767,21 @@ Tag: hardware::storage
   Description: Storage
   
   Tag: hardware::storage:cd
  -Description: CD
  +Description: CD reader
    Compact Disc
   
  +Tag: hardware::storage:cd-writer
  +Description: CD writer
  + Compact Disc writer
  +
   Tag: hardware::storage:dvd
  -Description: DVD
  +Description: DVD reader
    Digital Versatile Disc
   
  +Tag: hardware::storage:dvd-writer
  +Description: DVD writer
  + Digital Versatile Disc writer
  +
   Tag: hardware::storage:floppy
   Description: Floppy Disk

It could make sense, later on, to rename *:cd to *:cd-reader and *:dvd to
*:dvd-reader.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico at enricozini.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debtags-devel/attachments/20120124/3e2cf369/attachment.pgp>


More information about the Debtags-devel mailing list