Package: libept1
Version: 1.0.3
Severity: serious
Tags: patch

Hello,

Serafeim Zanikolas noticed that:

  I just noticed that /var/lib/debtags/vocabulary now lists tag names as
  in facet:facet:tag, as opposed to the old style facet:tag. Is this
  change intentional? If yes, what's the reasoning behind it?

I confirm it is libept: /var/lib/debtags/debtags-fetch-apt.voc contains
correct tag names, while /var/lib/debtags/vocabulary is corrupt, and it
is libept code what goes from one to the other in "debtags update
--local".

I tested this patch and it works, no need to rebuild debtags, just
updating libept with this patch fixed it.

--- a/ept/debtags/vocabulary.cc
+++ b/ept/debtags/vocabulary.cc
@@ -369,7 +369,7 @@ void Vocabulary::write(FILE* out)
                                t != f->second.m_tags.end(); t++)
                {
                        //fprintf(stderr, "Writing tag %.*s\n", 
PFSTR(t->first));
-                       writeDebStyleField(out, "Tag", f->first + "::" + 
t->first);
+                       writeDebStyleField(out, "Tag", t->first);
                        for (std::map<std::string, std::string>::const_iterator 
j = t->second.begin();
                                        j != t->second.end(); j++)
                                writeDebStyleField(out, j->first, j->second);


Ciao,

Enrico


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libept1 depends on:
ii  apt [libapt-pkg4.10]   0.8.6             Advanced front-end for dpkg
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libgcc1                1:4.4.5-4         GCC support library
ii  libstdc++6             4.4.5-4           The GNU Standard C++ Library v3
ii  libxapian22            1.2.3-2           Search engine library
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

libept1 recommends no packages.

libept1 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to