lp://qastaging/~dooferlad/linaro-android-frontend/ui_download_links_update
- Get this branch:
- bzr branch lp://qastaging/~dooferlad/linaro-android-frontend/ui_download_links_update
Branch merges
- Paul Sokolovsky: Approve
-
Diff: 255 lines (+163/-16)3 files modifiedandroid_build/frontend/api.py (+55/-3)
android_build/urls.py (+2/-1)
static/buildDetails.js (+106/-12)
Branch information
Recent revisions
- 253. By James Tunnicliffe
-
getDownloadURL - cache result of last call to reduce remote requests. The cached value is deleted on URL change since the JS doesn't reload, so the same cached value would be returned for different builds of the same project without this step.
- 252. By James Tunnicliffe
-
create_manifest.py moved to linaro-
android- build-tools project.
Add android-build.linaro. org as a proxy location
Updated static/buildDetails. js so lava-job-info and MANIFEST files are both sourced from the location returned by getDownloadURL. TODO: remove as many synchronous Y.io calls as possible. It should be possible to save the result of getDownloadURL and reuse it.
- 251. By James Tunnicliffe
-
Fixed error - wasn't testing return code when examinining where a build was hosted.
Fixed test_remote_dir_exists description.
Allow test_remote_dir_exists to test android- build.linaro. org. - 249. By James Tunnicliffe
-
Added script to generate manifest files.
Download location fixed to locations on snapshots.linaro. org
File list is generated from (in order of priority) manifest.txt, artifacts list. If neither is found, UI displays that there is no download list, but link to expected downloaction remains. - 248. By James Tunnicliffe
-
UI updated to make use of manifest.txt.
django proxy call to fetch lava-job-info now transformed into a generic call that will proxy any whitlisted file from any whitelisted server. We use it for fetching manifest.txt now as well. - 246. By James Tunnicliffe
-
Dynamic downloads location picking. If can find downloads on android-
build.linaro. org (local) then set links to them, else, assume they are on snapshots. linaro. org. Am unable to check for files on snapshots. linaro. org because of XMLHTTPRequest cross site scripting protection. TODO: Provide some way of getting a directory listing from snapshots.
linaro. org to the JS so a dynamic list of files can be generated once the manifest object goes away. Will also enable UI to state if it can't find any downloads and not show any link.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/linaro-android-frontend