<table><tr><td style="">sitter created this revision.<br />sitter added a reviewer: broulik.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D3687" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>refactor and qcdebug</p>
<p>::match was a super long spagetthi with multiple sub-matches. <br />
This was supposedly primarily because it needed to be stateful across all sub-matches. To deal with this there's a new class which is taking care of the stateful service finding, this class is comprised of multiple matching functions that contribute to the full match set.<br />
Good enough readability for now. Classes for this would be nicer though.</p>
<p>Also add qcdebug for this runner so we can get a better idea of why results are the way they are. Defaults to warning so it's silent by default.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Careful refactoring so hopefully no problems.</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">still matches binary names as best match</li>
<li class="remarkup-list-item">still matches comments</li>
<li class="remarkup-list-item">still matches generic names</li>
<li class="remarkup-list-item">still matches names</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3687" rel="noreferrer">https://phabricator.kde.org/D3687</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>runners/services/CMakeLists.txt<br />
runners/services/servicerunner.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>sitter, broulik<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>