Merge lp:~michael.nelson/ubuntu-webcatalog/determine-app-install-version into lp:ubuntu-webcatalog
Status: | Merged |
---|---|
Approved by: | Łukasz Czyżykowski |
Approved revision: | 15 |
Merged at revision: | 11 |
Proposed branch: | lp:~michael.nelson/ubuntu-webcatalog/determine-app-install-version |
Merge into: | lp:ubuntu-webcatalog |
Diff against target: |
225 lines (+97/-35) 2 files modified
src/webcatalog/management/commands/import_app_install_data.py (+51/-21) src/webcatalog/tests/test_commands.py (+46/-14) |
To merge this branch: | bzr merge lp:~michael.nelson/ubuntu-webcatalog/determine-app-install-version |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical ISD hackers | Pending | ||
Review via email: mp+57721@code.launchpad.net |
Commit message
[r=lukasz] Determine most recent app-install-data uri for download for given distroseries.
Description of the change
Overview
========
This branch enables the importer to find the latest app install data for a given distroseries, removing the hard-coded natty package uri.
I was unsure whether to use mocks in the test - it works without the mocks, just takes a while.
Example runs for natty and lucid
michael@
[localhost] run: virtualenv/
Determining URI for current version of app-install-data in natty.
creating: /tmp/tmpJieAlT/
creating: /tmp/tmpJieAlT/
creating: /tmp/tmpJieAlT/
Downloading app-install-
Processing application data to update database...
No icon found for Eclipse at /tmp/tmpotEAQf/
Eclipse created.
No icon found for Mah-Jong at /tmp/tmpotEAQf/
Mah-Jong created.
No icon found for Personal File Sharing at /tmp/tmpotEAQf/
Personal File Sharing created.
No icon found for Advanced Strategic Command at /tmp/tmpotEAQf/
Advanced Strategic Command created.
Tangerine Media Sharing created.
^C
Stopped.
michael@
[localhost] run: virtualenv/
Determining URI for current version of app-install-data in lucid.
creating: /tmp/tmpxLr0I8/
creating: /tmp/tmpxLr0I8/
creating: /tmp/tmpxLr0I8/
Downloading app-install-
Processing application data to update database...
Granatier created.
No icon found for Eclipse at /tmp/tmpBzKAd8/
Eclipse created.
No icon found for Mah-Jong at /tmp/tmpBzKAd8/
Mah-Jong created.
No icon found for KThesaurus at /tmp/tmpBzKAd8/
KThesaurus created.
No icon found for Personal File Sharing at /tmp/tmpBzKAd8/
Personal File Sharing created.
No icon found for Advanced Strategic Command at /tmp/tmpBzKAd8/
Advanced Strategic Command created.