Hi again,

I'm considering using the debtags tools (Python bindings) for a program
used to browse the documentation in the TeX Live TeX distribution (it
provides a fair amount of documentation and I think the debtags approach
would allow to browse among these documents in a very efficient way).

Consequently, I'm looking at http://debian.vitavonni.de/ and trying to
understand more precisely how it works before advocating the debtags
approach on the TeX Live mailing-list. And there is something I don't
understand: when looking at

  
http://debian.vitavonni.de/packagebrowser/?tags=network%2Cnetwork%3A%3Aserver%2Cculture

I'm specifically asking for the "culture" tag, but then why is
pioneers-server-console listed on the page? AFAICS, it has no tag
related to culture.

According to

  http://debtags.alioth.debian.org/edit.html?pkg=pioneers-server-console

it has only the following tags:

  game::board
  implemented-in::c
  network::server
  network::service
  protocol::tcp
  role::program
  use::entertaining
  use::gameplaying

and I don't think any of these implies "culture".

Second question. I also looked at /var/lib/debtags/package-tags in order
to find this information and there, pioneers-server-console is only
tagged with:

   game::board
   role::program

which is a small subset of the tags found on debtags.alioth.debian.org.
AFAIU, this is because my /var/lib/debtags/package-tags is built from
/etc/debtags/sources.list, which only pointed to "tags apt://", which is
a "conservative" database. OK. I commented out this line and enabled:

  tags http://debtags.alioth.debian.org/tags/

instead to have bleeding-edge tags. Then, I ran (as root, with no
errors, cf. attached file for the output):

  debtags update

I now have these two files in /var/lib/debtags/:

  -rw-r--r-- 1 root root  448647 2007-07-01 14:01 
debtags-fetch-http---debtags.alioth.debian.org-tags-.tag.gz
  -rw-r--r-- 1 root root   14121 2007-07-01 14:01 
debtags-fetch-http---debtags.alioth.debian.org-tags-.voc.gz

the former does contain the new tags, but from the debtags man page and
the comments at the top of /etc/debtags/sources.list, I assume that
these files should have been merged by "debtags update" into
/var/lib/debtags/{package-tags,vocabulary} (updating the indices
afterwards).

% ls -l -t /var/lib/debtags/
total 3272
-rw-r--r-- 1 root root 1499574 2007-07-01 16:12 package-tags
-rw-r--r-- 1 root root  767912 2007-07-01 16:12 package-tags.idx
-rw-r--r-- 1 root root  495157 2007-07-01 16:12 pkgidx.idx
-rw-r--r-- 1 root root   69228 2007-07-01 16:12 vocabulary
-rw-r--r-- 1 root root   23224 2007-07-01 16:12 vocabulary.idx
-rw-r--r-- 1 root root  448647 2007-07-01 14:01 
debtags-fetch-http---debtags.alioth.debian.org-tags-.tag.gz
-rw-r--r-- 1 root root   14121 2007-07-01 14:01 
debtags-fetch-http---debtags.alioth.debian.org-tags-.voc.gz
%

Is it a bug of the debtags program? Otherwise, what should I do to get
the new data merged into the authoritative files (currently,
"debtags show pioneers-server-console" does *not* show the new tags that
are in debtags-fetch-http---debtags.alioth.debian.org-tags-.tag.gz, only
the old ones from /var/lib/debtags/package-tags).

I'm running all this on etch. Thanks for any insight.

Regards,
# debtags update                                         [EMAIL PROTECTED]
--17:18:22--  http://debtags.alioth.debian.org/tags//vocabulary.gz
           => `/var/lib/debtags/debtags-fetch-http---debtags.alioth.debian.org-t
ags-.voc.gz.tmp'
Resolving debtags.alioth.debian.org... 217.196.43.134
Connecting to debtags.alioth.debian.org|217.196.43.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14,121 (14K) [application/x-gzip]

100%[====================================>] 14,121        --.--K/s             

17:18:22 (138.58 KB/s) - `/var/lib/debtags/debtags-fetch-http---debtags.alioth.d
ebian.org-tags-.voc.gz.tmp' saved [14121/14121]

--17:18:22--  http://debtags.alioth.debian.org/tags//tags-current.gz
           => `/var/lib/debtags/debtags-fetch-http---debtags.alioth.debian.org-t
ags-.tag.gz.tmp'
Resolving debtags.alioth.debian.org... 217.196.43.134
Connecting to debtags.alioth.debian.org|217.196.43.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 448,647 (438K) [application/x-gzip]

100%[====================================>] 448,647      435.59K/s             

17:18:23 (434.07 KB/s) - `/var/lib/debtags/debtags-fetch-http---debtags.alioth.d
ebian.org-tags-.tag.gz.tmp' saved [448647/448647]

#
-- 
Florent
_______________________________________________
Debtags-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debtags-devel

Reply via email to