<table><tr><td style="">mwolff retitled this revision from "Don't assert on empty names" to "remote: don't create entries with empty names".<br />mwolff edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-wmjhldtrndyvsu5/" rel="noreferrer">(Show Details)</a>
</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/D10045" 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);">This removes an assertion I just hit.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Directly after adding a new remote:/ entry via knetattach, we<br />
may read the .desktop file in a partial state without a valid<br />
name. Or maybe the user even hand-edits the file and removes the<br />
name. Filter these entries out. Additionally, don't ever try to<br />
read anything but *.desktop files,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Note how the code</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">most notably we do not want<br />
to parse *.desktop.lock files produced by knetattach.<br />
<br />
This removes an assertion that I hit reproducibly when adding</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">below checks for the empty name and just skips the entry.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">a new remote:/ link via knetattach:</span><br />
<br />
Thread 1 (Thread 0x7f194a2fb4c0 (LWP 10953)):<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10045" rel="noreferrer">https://phabricator.kde.org/D10045</a></div></div><br /><div><strong>To: </strong>mwolff, dfaure<br /><strong>Cc: </strong>dhaumann, Frameworks, michaelh<br /></div>