[Debtags-commits] [svn] r1896 - in debtags/1.6.0: . tools

Enrico Zini enrico at costa.debian.org
Tue Sep 12 22:48:43 UTC 2006


Author: enrico
Date: Tue Sep 12 22:48:42 2006
New Revision: 1896

Modified:
   debtags/1.6.0/   (props changed)
   debtags/1.6.0/tools/debtags.cc
Log:
 r3306 at viaza:  enrico | 2006-09-13 00:48:10 +0200
 Added another selfcheck bit


Modified: debtags/1.6.0/tools/debtags.cc
==============================================================================
--- debtags/1.6.0/tools/debtags.cc	(original)
+++ debtags/1.6.0/tools/debtags.cc	Tue Sep 12 22:48:42 2006
@@ -1001,7 +1001,18 @@
 				}
 			}
 			
+			for (std::set<Facet>::const_iterator i = facets.begin();
+					i != facets.end(); i++)
+			{
+				if (!voc.hasFacet(i->name()))
+					cerr << "Vocabulary is not sure about having facet " << i->name() << endl;
 
+				std::set<Tag> tags = i->tags();
+				for (std::set<Tag>::const_iterator j = tags.begin();
+						j != tags.end(); j++)
+					if (!voc.hasTag(j->fullname()))
+						cerr << "Vocabulary is not sure about having tag " << j->fullname() << endl;
+			}
 			return 0;
 		}
 		// Output the full package tag database



More information about the Debtags-commits mailing list