Enable available_apps api call to take optional params

Bug #734747 reported by Michael Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Software Center Agent
Invalid
Undecided
Unassigned

Bug Description

Currently the SCA client api call 'available_apps' requires lang, series and arch (as the SC client is only interested in the apps for a specific series/arch of the host machine).

But other users of the API (now the Ratings and Reviews server) would benefit from being able to request all the available_apps, irrespective of which distroseries/arch/language (and caching the result, rather than calling the api for each different distroseries, arch).

Note: currently the result for each app includes a 'series' key with a dict of series/arches for which the app is available.

Revision history for this message
Anthony Lenton (elachuni) wrote :

sca's API now accepts "any" for either of the lang, series or arch args, in which case it'll return all available langs, series or archs respectively.

I've filed bug #856808 in rnr-server to start using this feature.

Changed in software-center-agent:
status: New → Invalid
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.