reuse categories

Bug #1507666 reported by Kyle Nitzsche
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
scope-aggregator
Fix Released
High
Kyle Nitzsche

Bug Description

To prevent duplicate category IDs, we currently timestamp the cat ID. It turns out that the dash never forgets categories, so this is wasteful.

Also, this approach will not work well with upcoming changes to the dash in which category IDs are expected to be more persistent (so that on user entered searches the dash can modify the qml model and the categories that were present will be reused appropriately).

Therefore, we need a better approach to category IDs, probably as follows:
instead of timestamping the cat id, use tokens like:
TYPE:FULLYQUALIFIEDCHILDSCOPEID

All agg scopes will need to be rebased using this before the planned changed to the dash described above.

Related branches

Revision history for this message
Paweł Stołowski (stolowski) wrote :

Here is the related bug about improved dash updates: https://bugs.launchpad.net/unity-scope-mediascanner/+bug/1238979

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

fixed with scope-agg 4.0

Changed in scope-aggregator:
status: New → Fix Released
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.