[Debtags-commits] [svn] r2235 - in debtags/1.6.0: . doc

Enrico Zini enrico at alioth.debian.org
Sun Jan 28 21:09:59 CET 2007


Author: enrico
Date: Sun Jan 28 21:09:58 2007
New Revision: 2235

Modified:
   debtags/1.6.0/   (props changed)
   debtags/1.6.0/doc/faq.rst
Log:
 r3855 at viaza:  enrico | 2007-01-28 20:10:56 +0000
 Added entry about having two tag databases (apt and debtags) in the system


Modified: debtags/1.6.0/doc/faq.rst
==============================================================================
--- debtags/1.6.0/doc/faq.rst	(original)
+++ debtags/1.6.0/doc/faq.rst	Sun Jan 28 21:09:58 2007
@@ -271,6 +271,27 @@
 ignored by package managers, using debtags instead.
 
 
+How come there are different sets of tags in the Packages file and in ``/var/lib/debtags``?
+-------------------------------------------------------------------------------------------
+
+There are a few reasons:
+
+ * Debtags supports merging different tag sources: for example, iterating.org
+   provides a tag source with package rankings and debtags is able to download
+   it and merge it to the other tags.  Tag sources are listed in
+   ``/etc/debtags/sources.list``.  This also allows some of us to use the
+   unreviewed tags on Alioth instead of the ones in the Package database.
+ * For many applications the tags are easier to access when aggregated on a
+   small file rather than by parsing the very large package database
+ * Finally, the debtags database in ``/var/lib/debtags`` is also indexed for
+   fast access.
+
+Have the Packages file as the primary tag storage has never been the main idea,
+although it's turned out to be useful to allow tags to be useable in
+software such as apt-cache, aptitude and grep-dctrl without them having to be
+modified to access an extra database.
+
+
 -----------
 Development
 -----------



More information about the Debtags-commits mailing list