Comment 5 for bug 1729580

Revision history for this message
Colin Watson (cjwatson) wrote :

Yes, this will need to be passed through Launchpad and the API extended slightly in order to be able to present it in BSI. lib/lp/snappy/model/snapbuildjob.py:SnapStoreUploadJob.run would be responsible for picking out the relevant information from the store's response and storing it in the SnapBuildJob's metadata JSON, and then lib/lp/snappy/interfaces/snapbuild.py and lib/lp/snappy/model/snapbuild.py would need to expose the link as a new API-exported attribute (see e.g. store_upload_error_message). From there, BSI could pick that out of the API response and linkify it, and it might also be worth changing lib/lp/snappy/templates/snapbuild-index.pt to present it in Launchpad's web UI too.