livefs: builder_link only available post-build

Bug #1878254 reported by Joshua Powers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpadlib
Triaged
High
Unassigned

Bug Description

When launching a livefs build I wanted to see where the build was taking place. In the UI I can see it, however using launchpadlib I cannot:

ipdb> build.lp_refresh()
ipdb> build.buildstate
'Currently building'
ipdb> build.builder_link
ipdb> repr(build.builder_link)
'None'
ipdb>

I have tried refreshing and grabbing the link throughout the build. Only after the build completes, then I can see the name:

ipdb> build.lp_refresh()
ipdb> build.buildstate
'Uploading build'
ipdb> build.builder_link
'https://api.launchpad.net/devel/builders/lcy01-amd64-010'

Is there a better way to get the currently in use builder from launchpadlib similar to what the web UI shows?

Tom Wardill (twom)
Changed in launchpadlib:
status: New → Triaged
importance: Undecided → High
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.