[balooctl] Clarify and extend status output
ClosedPublic

Authored by bruns on Jun 2 2019, 9:21 AM.

Details

Summary

The current index file count does not really tell what the numbers
are referring to - the second number is the count of files currently in
the index, while the first number is the number of files which have either
finished content indexing, are not ellegible for content indexing, or
failed during content indexing.

Provide separate messages for count of files in the index, files waiting
to be processed by the content indexer, and files which failed in the
content indexer.

./bin/balooctl status

Old:

Baloo File Indexer is running
Indexer state: Idle
Indexed 4560 / 4561 files

New:

Baloo File Indexer is running
Indexer state: Idle
Total files indexed: 4561
Files waiting for content indexing: 1
Files failed to index: 2
Test Plan

run balooctl status

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Jun 2 2019, 9:21 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptJun 2 2019, 9:21 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Jun 2 2019, 9:21 AM
astippich accepted this revision.Jun 2 2019, 6:56 PM
This revision is now accepted and ready to land.Jun 2 2019, 6:56 PM
ngraham accepted this revision.Jun 2 2019, 10:41 PM

Much clearer!

This revision was automatically updated to reflect the committed changes.