Call available_apps with distroseries=any, arch=any

Bug #973821 reported by Anthony Lenton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ratings and Reviews server
Fix Released
Low
Danny Tamez

Bug Description

sca's api is called from within reviewsapp.utilities.WebServices.get_sca_publishings_for.

Within that method it calls sca's api for each distroseries, and caches that separately using the sca_<distroseries>_<arch> cache key.

If we call sca's available_apps method with distroseries=any, arch=any, we can store a single cache key for all applications, and check the returned series in the json to decide which distro/arch series an app should be available on.

Related branches

Changed in rnr-server:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Michael Nelson (michael.nelson) wrote :

This seems to be a reason *not* to fix bug 972565?

Danny Tamez (zematynnad)
Changed in rnr-server:
status: Confirmed → In Progress
assignee: nobody → Danny Tamez (zematynnad)
Revision history for this message
Anthony Lenton (elachuni) wrote :

@michael.nelson, good point, following up on #972565

Danny Tamez (zematynnad)
Changed in rnr-server:
status: In Progress → Fix Committed
Dave Morley (davmor2)
Changed in rnr-server:
status: Fix Committed → 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.