<table><tr><td style="">michaelh retitled this revision from "balooctl status: produce parseable output" to "balooctl status: translatable message".<br />michaelh edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-7iselfs27dyqa4s/" rel="noreferrer">(Show Details)</a><br />michaelh added a reviewer: lueck.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9712" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Currently balooctl status produces 2-3 output lines per file like so:<br />
```<br />
File: /tmp/otto/A/A.txt<br />
Basic Indexing: Disabled<br />
File: /tmp/otto/B/B.txt<br />
Basic Indexing: Done<br />
```<br />
<br />
This patch produces 1 line per file which is easier to parse.<br />
```<br />
Indexing disabled:/tmp/otto/A/A.txt<br />
Content indexing done:/tmp/otto/B/B.txt<br />
```<br />
<br />
Reason:<br />
balooctl status is a useful tool because sometimes files stay in the 'scheduled' state forever.<br />
Instead of rebuilding the database this patch would allow for <br />
<br />
```<br />
balooctl status * */* | grep 'scheduled:' | cut -d':' -f2- | (index manually)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Wrapped output messages of 'balooctl status ...' in i18n*</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">```</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Sent error messages to stderr</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R293 Baloo</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9712" rel="noreferrer">https://phabricator.kde.org/D9712</a></div></div><br /><div><strong>To: </strong>michaelh, Frameworks, vhanda, smithjd, lueck<br /><strong>Cc: </strong>ltoscano, lbeltrame, elvisangelaccio, lueck, dfaure, ngraham<br /></div>