GNOME Bugzilla – Bug 791259
functional-tests: Port ExtractorParser to parse the output generated by TrackerResource
Last modified: 2018-08-11 22:09:16 UTC
This is a fallout from commit 8cc026da8cdeb or bug 767472. Some of the functional tests run the tracker-extract binary directly with the --file parameter, and parse the output off stdout using ExtractorParser. However, the format of the output generated by TrackerResource has changed. The default output-format is now Turtle, but switching it to output SPARQL is not enough to get ExtractorParser to process it. Earlier, it looked like: SPARQL pre-update: -- <preupdate string> -- SPARQL item: -- <statements string> -- ... and so on. Nowadays, the SPARQL output looks like: DELETE { ... } WHERE ... } INSERT ... } However, I can't figure out the exact contents of the earlier output because building older versions of Tracker fails with: tracker-bus.vala:171.2-171.63: error: overriding method `Tracker.Bus.Connection.update_array_async' is incompatible with base method `Tracker.Sparql.Connection.update_array_async': Base method expected return type `GLib.GenericArray<Tracker.Sparql.Error?>?', but `GLib.GenericArray<GLib.Error?>?' was provided.
This is fixed in tracker-miners.git commit baf8b40e35895fabc1da4900b15b212e7949e5d8