Comment 3 for bug 1015515

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

Indeed, currently both import_for_purhcase_apps and import_app_install_data are creating Application instances for qreator.

If there is data in MyApps for an app, import_app_install_data should not update this, as we assume MyApps will have more up-to-date information.

Neither commands should create another instance for the same package_name and distroseries if one already exists.

import_app_install_data could check if the app has a non-null "Application id" field, and keep its hands off the app entirely if so.