Skip to content

Miner changes

Carlos Garnacho requested to merge wip/carlosg/miner-changes into master

This branch does a few nice things:

  • It does the full nfo:FileDataObject / nie:InformationElement split in tracker-miner-fs/tracker-extract. Tracker-miner-fs only inserts and deals with nfo:FileDataObject, and tracker-extract fills in all nie:InformationElement data. This also means that we don't have nie:InformationElement for files that the extractor does not know about.
  • It moves away from our special "extracted" nie:dataSource, to a new tracker:extractorHash property to flag extracted files.
  • It adds the bits an pieces to have that hash fed with a SHA sum of the source code files making up the extractor, I guess you see where this is going :p
  • It adds TrackerFileNotifier checks to also check this hash in addition to mtimes, and trigger updates for files whose extractor changes (eg. due to a new version).
  • It also makes those TrackerFileNotifier queries rely on the tracker:IndexedFolder and use the tracker:FileSystem graph for the most part. It now does one query per index folder. This makes second-time startup performance comparable with 2.x.

Depends on tracker!272 (merged) for the ontology bits.

Merge request reports