Sync installed apps with store on departments change

Bug #1358760 reported by Paweł Stołowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scope-click (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

The relationship between installed apps and their departments need to be updated when departments change on the server. Ubuntu store server will implement a new API call to get department ids for installed apps (list of apps will be send with the request), and we should make the call whenever we see changes in the departments tree returned by initial bootstrap call.

tags: added: rtm14
tags: removed: rtm14
James Tait (jamestait)
affects: unity-scope-click → click-package-index
Changed in click-package-index:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
James Tait (jamestait) wrote :

This API will be part of the click-metadata API, which is used by ubuntu-system-settings/system-update plugin. This is being moved to Click Package Index to support filtering of updates based on the device's available frameworks and architecture, in the same way package searches are filtered. The first part of this work has landed in CPI, but still needs to be rolled out.

The next step in enabling the department updates is to return packages' department in that response so that the store scope can make any adjustments necessary.

James Tait (jamestait)
Changed in click-package-index:
status: Confirmed → In Progress
Changed in click-package-index:
status: In Progress → Fix Committed
James Tait (jamestait)
Changed in click-package-index:
status: Fix Committed → Fix Released
Revision history for this message
James Tait (jamestait) wrote :

The click-metadata API used for updates is now available in ClickPackageIndex (https://search.apps.ubuntu.com/api/v1/click-metadata). It includes the department in the response, and also filters based on the same headers as the rest of the Search API.

The click-metadata endpoint in SCA should now be considered deprecated, and will be removed at some point in the future.

dobey (dobey)
Changed in unity-scope-click (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.