[Debtags-devel] Converting to {debtags,tagcoll} 1.0 TagDB::outputSystem

Benjamin Mesing bensmail@gmx.net
Fri, 10 Jun 2005 21:31:46 +0200


Today I've tried to update my program to lib{debtags,tagcoll}1 and most
things went smooth. I had to rename a little here and there, especially
the migration from some classes from debtags to tagcoll and vice versa
caused some work, but nothing that was actually difficult. However I
have encountered one obstacle that seems to be not so easy to overcome.
The function Debtags::TagDB::outputSystem(TagcollConsumer<std::string,
Tag>& cons, bool facet_only) was removed and only the function
Debtags::TagDB::outputSystem(TagcollConsumer<Package, Tag>& cons) is

The former function was introduced with the following changelog entry:
        TagDB can output the database to TagConsumer<string, Tag> (useful for
        package managers like synaptic that could use the Tag class, but already
        have a different Package class)
That is exactly why I would like to see this function again (it is still
in the header but inculded in an #if 0 #endif block). 
Are there plans to reimplement it or is there another way to get this
functionality without having to carry around the whole Package stuff?

Greetings Ben