D29222: Fix update auto selection
Dan Leinir Turthra Jensen
noreply at phabricator.kde.org
Mon Apr 27 10:39:41 BST 2020
leinir created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
leinir requested review of this revision.
REVISION SUMMARY
The new autoselection for updating installed entries would firstly
not be looking at the right amount of download links, and further it
would not be able to identify the links it needed to, as it did not
look at the descriptive names (where the filename is often stored),
which then would not match. These changes ensure that we look at
the right bits of information when doing this check. End result is
that updating works.
- Ensure that the cache doesn't forget installing and updating items
- Analyse more of the download link information, and use correct counts
TEST PLAN
Find an item in some KNS dialog in need of updating, and click the Update button
On the console, when launched using the correct logging categories, will
tell you about the selection process (and the UI will show that an update
is in progress, and eventually that it is completed). To do this check with
the icons kcm, run it like so:
QT_LOGGING_RULES="org.kde.knewstuff*=true" kcmshell5 kcm_icons
REPOSITORY
R304 KNewStuff
BRANCH
fix-update-autoselection (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D29222
AFFECTED FILES
src/core/cache.cpp
src/core/engine.cpp
To: leinir
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200427/47ee6ec9/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list