tracker r2590 - in branches/turtle/src: libtracker-data tracker-indexer



Author: pvanhoof
Date: Thu Nov 27 11:03:44 2008
New Revision: 2590
URL: http://svn.gnome.org/viewvc/tracker?rev=2590&view=rev

Log:
Changed comments

Modified:
   branches/turtle/src/libtracker-data/tracker-turtle.c
   branches/turtle/src/tracker-indexer/tracker-removable-device.c

Modified: branches/turtle/src/libtracker-data/tracker-turtle.c
==============================================================================
--- branches/turtle/src/libtracker-data/tracker-turtle.c	(original)
+++ branches/turtle/src/libtracker-data/tracker-turtle.c	Thu Nov 27 11:03:44 2008
@@ -97,14 +97,11 @@
 	TurtleFile         *turtle = item->turtle;
 	raptor_serializer  *serializer = turtle->serializer;
 
-	/* TODO: cope with group values by making them ; separated, perhaps by
-	 * reading the type from the TrackerField? Also, numeric values don't
-	 * need the double quotes (although that might not matter much for
-	 * raptor while parsing). 
+	/* TODO: cope with group values
 	 *
 	 * If you want to reuse the importer of tracker-indexer (for the remov-
 	 * able devices), then you'll need to ensure that the predicates 
-	 * File:Modified and rdf:type are added per record (uyou seperate triples
+	 * File:Modified and rdf:type are added per record (you separate triples
 	 * using a ; and you end a record using a . (a dot).
 	 *
 	 * Also look at tracker-indexer/tracker-removable-device.c */

Modified: branches/turtle/src/tracker-indexer/tracker-removable-device.c
==============================================================================
--- branches/turtle/src/tracker-indexer/tracker-removable-device.c	(original)
+++ branches/turtle/src/tracker-indexer/tracker-removable-device.c	Thu Nov 27 11:03:44 2008
@@ -93,17 +93,8 @@
 	const gchar         *about_uri = item->last_subject;
 	raptor_serializer   *serializer = item->serializer;
 
-	/* TODO: cope with group values by making them ; separated, perhaps by
-	 * reading the type from the TrackerField? Also, numeric values don't
-	 * need the double quotes (although that might not matter much for
-	 * raptor while parsing). 
-	 *
-	 * If you want to reuse the importer of tracker-indexer (for the remov-
-	 * able devices), then you'll need to ensure that the predicates 
-	 * File:Modified and rdf:type are added per record (uyou seperate triples
-	 * using a ; and you end a record using a . (a dot).
-	 *
-	 * Also look at libtracker-data/tracker-turtle.c */
+	 /* Also look at libtracker-data/tracker-turtle.c when making changes 
+	  * here */
 
 	statement = g_new0 (raptor_statement, 1);
 
@@ -192,6 +183,8 @@
 	TurtleStorerInfo *info = user_data;
 	gchar            *subject;
 
+	/* TODO: cope with multi-value values like User:Keywords */
+
 	subject = (gchar *) raptor_uri_as_string ((raptor_uri *) triple->subject);
 
 	if (!info->last_subject || strcmp (subject, info->last_subject) != 0) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]