Comment 11 for bug 1015604

Revision history for this message
Michael Nelson (michael.nelson) wrote :

If I run `fab manage:import_sca_apps && fab manage:'import_ratings_stats precise'` locally, everything works fine and the ratings are displayed (see attached).

If I request a ratings import via /tasks/ it completes successfully, and the import logs on /srv/admin.ca.canonical.com/ca-logs/saci/uwc also show successful imports of ratings for each day.

This leaves one possibility that I can think of - as we're only ever importing the ratings data from the past day, we never import this older data, nor do we provide a way to force the import of all data rather than the past days.

The attached branch will both:
 1) Add an option to the /admin/ UI to be able to view and modify when the last import for a distro series happened.
 2) Add an option to the command to allow the full download of stats, and setup the web-task to do this by default (or add an extra task) so that we can initiate this without webops.