Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • tracker-miners tracker-miners
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 83
    • Issues 83
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • tracker-minerstracker-miners
  • Merge requests
  • !168

WIP: Improvements to on-demand indexing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Sam Thursfield requested to merge sam/index-file-sync into master Mar 23, 2020
  • Overview 2
  • Commits 16
  • Pipelines 3
  • Changes 44

This MR fixes tracker#122 (closed) and tracker#188 (closed).

The tracker index command now provides detailed feedback on indexing to the user. Rather than exiting as soon as the IndexFile method returns, it now waits until all the files have been processed and will report any errors to the user.

There are a few other tweaks. There is a tracker index --monitor mode added, which wraps the IndexFileForProcess API. Also, IndexFileForProcess now only accepts directory arguments, to avoid a confusing difference in its behaviour when files are passed compared to directories.

The main aim of this work is to make it easier to debug and profile the miner and extractor. However, it also paves the way for apps to provide more informative monitoring of the indexing process.

Edited May 02, 2020 by Sam Thursfield
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: sam/index-file-sync