Make sure we load everything in correct order
ClosedPublic

Authored by jgrulich on Nov 14 2017, 11:56 AM.

Details

Summary

We need to be sure that all apps are reloaded first before checking for updates. This might
be problematic when we are refreshing appstream metadata from remote while simultenously
checking for updates. If updates info arrives earlier then we might end up with no updates
as there are no apps to mark as updateable. We also cannot parse information from flatpak
metadata, this fails as Appstream expect the metadata to have [Desktop entry] group and we
end up with empty component so we need to revert this back to parse desktop file as before.

Diff Detail

Repository
R134 Discover Software Store
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jgrulich created this revision.Nov 14 2017, 11:56 AM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 14 2017, 11:56 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
jgrulich updated this revision to Diff 22335.Nov 14 2017, 12:00 PM

Fix comparing of appstream ids

apol accepted this revision.Nov 14 2017, 1:20 PM
This revision is now accepted and ready to land.Nov 14 2017, 1:20 PM
This revision was automatically updated to reflect the committed changes.