Diffusion Baloo 3fb45683fd27

[balooctl] Monitor also for state changes

Authored by poboiko on Oct 4 2018, 1:00 PM.

Description

[balooctl] Monitor also for state changes

Summary:
Right now balooctl monitor connects only to the fileindexer DBus interface, and monitors only for files indexing.
This patch makes monitor to connect also to the scheduler interface to stateChanged(int state) signal, and notify about updates.

FIXED-IN: 5.52

Test Plan:

  1. Run balooctl monitor
  2. In different terminal session, run balooctl stop && balooctl start
  3. Monitor now says what exactly baloo is doing right now

Reviewers: Frameworks, Baloo, ngraham

Reviewed By: Baloo, ngraham

Subscribers: ngraham, bruns, kde-frameworks-devel

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D15943

Details

Committed
poboikoOct 8 2018, 10:12 PM
Reviewer
Baloo
Differential Revision
D15943: [balooctl] Monitor also for state changes
Parents
R293:7e5c005e6a3b: [balooctl] Fix "index" command with already indexed, but moved file
Branches
Unknown
Tags
Unknown