lp:~dooferlad/linaro-android-frontend/ui_download_links_update

Created by James Tunnicliffe and last modified
Get this branch:
bzr branch lp:~dooferlad/linaro-android-frontend/ui_download_links_update
Only James Tunnicliffe can upload to this branch. If you are James Tunnicliffe please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Tunnicliffe
Project:
Linaro Android Frontend
Status:
Merged

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.

250. By James Tunnicliffe

Added logic to test if a directory exists on snapshots.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.

247. By James Tunnicliffe

Started changing proxy code to cope with multiple files

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.

245. By Paul Sokolovsky

[merge] Fix issue with getting lava-job-info 2nd and more times.

244. By Paul Sokolovsky

[merge] Final fixes for LAVA results display.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:linaro-android-frontend
This branch contains Public information 
Everyone can see this information.