Sync installed apps with store on departments change

Bug #1358760 reported by Paweł Stołowski on 2014-08-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Click Package Index
unity-scope-click (Ubuntu)

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) on 2014-10-23
affects: unity-scope-click → click-package-index
Changed in click-package-index:
importance: Undecided → Medium
status: New → Confirmed
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) on 2015-02-18
Changed in click-package-index:
status: Confirmed → In Progress
Changed in click-package-index:
status: In Progress → Fix Committed
James Tait (jamestait) on 2015-02-24
Changed in click-package-index:
status: Fix Committed → Fix Released
James Tait (jamestait) wrote :

The click-metadata API used for updates is now available in ClickPackageIndex ( 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) on 2016-01-20
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  Edit
Everyone can see this information.

Other bug subscribers