Merge lp:~dooferlad/linaro-android-frontend/ui_download_links_update into lp:linaro-android-frontend
Status: | Merged |
---|---|
Approved by: | Paul Sokolovsky |
Approved revision: | 253 |
Merged at revision: | 246 |
Proposed branch: | lp:~dooferlad/linaro-android-frontend/ui_download_links_update |
Merge into: | lp:linaro-android-frontend |
Diff against target: |
255 lines (+163/-16) 3 files modified
android_build/frontend/api.py (+55/-3) android_build/urls.py (+2/-1) static/buildDetails.js (+106/-12) |
To merge this branch: | bzr merge lp:~dooferlad/linaro-android-frontend/ui_download_links_update |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Sokolovsky | Approve | ||
Review via email: mp+88914@code.launchpad.net |
Description of the change
UI will present the user a list of downloads. It will test to see if it can find a build on snapshots.
In preparation for artefact publishing going away this update also supports using a file called manifest.txt, which is just a list of files (one relative location per line). If it finds manifest.txt in the root of the download location, it will use that. It will fall back to the artefact list and if that fails, display a message saying it couldn't provide links to individual files.
I have tested this using a proxy that would replace bits of the live android-
A couple of fixes added and now tested in the following conditions:
1. Build exists on android- build.linaro. org only build.linaro. org linaro. org linaro. org linaro. org and manifest.txt exists linaro. org and download list comes from
- File links point to android-
2. Build exists on snapshots.
- File links point to snapshots.
3. Build exists on shapshots.
- File links point to snapshots.
manifest.txt
So it should be good to go.