[API] build.build_log_url and build.upload_log_url provide wrong URLs

Bug #354373 reported by Michael Bienia
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Celso Providelo

Bug Description

The build.build_log_url and build.upload_log_url have non-working URLs (wrong host/prefix):

pkg.build_log_url
u'https://api.edge.launchpad.net/beta/ubuntu/+source/nautilus/1:2.26.0-0ubuntu6/+build/927085/+files/buildlog_ubuntu-jaunty-armel.nautilus_1:2.26.0-0ubuntu6_BUILDING.txt.gz'
>>> pkg.upload_log_url
u'https://api.edge.launchpad.net/beta/ubuntu/+source/nautilus/1:2.26.0-0ubuntu6/+build/927085/+files/upload_927085_log.txt'

I expected to find URLs which I could use (e.g. link in a generated webpage) to get the build log.

Tags: api lp-soyuz
Revision history for this message
Celso Providelo (cprov) wrote :

You are right, Michael, both URLs are created against the 'api' host not the webapp, so they can't be fetched. Bad QA, I will fix them on edge.

Changed in soyuz:
assignee: nobody → cprov
importance: Undecided → High
milestone: none → 2.2.4
status: New → Triaged
Celso Providelo (cprov)
Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

devel r8166

Changed in soyuz:
status: In Progress → Fix Committed
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.