<table><tr><td style="">apol created this revision.<br />Restricted Application added a project: Frameworks.
</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/D6104" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Only mark package as installed if it was successfully extracted</p>

<p>Don't store all installed files in the knsregistry file</p>

<p>At the moment we were storing every file, for big packages (for example<br />
icon themes like Papyrus) this meant ~5 MiB of paths that had to be loaded<br />
when the engine was created.<br />
This patch makes it so instead of adding all the contents of the directory<br />
it will only list the extracted directories so they can recursively be<br />
removed. I don't think it's a supported workflow to be adding stuff in an<br />
extracted directory anyway.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tests pass, tried un/installing massive icon themes. Also massif<br />
reports a much lower memory consumption.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R304 KNewStuff</div></div></div><br /><div><strong>BRANCH</strong><div><div>installedFiles2</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6104" rel="noreferrer">https://phabricator.kde.org/D6104</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/installation.cpp</div></div></div><br /><div><strong>To: </strong>apol, Frameworks, whiting, leinir<br /></div>