LP unable to build snap from a git tag

Bug #1687078 reported by Adam Stokes on 2017-04-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Unassigned
launchpad-buildd
High
Colin Watson

Bug Description

Attempted to build a snap from git tag and it failed with the following:

fatal: Remote branch refs/tags/2.2.0-beta3 not found in upstream origin

https://launchpadlibrarian.net/317473221/buildlog_snap_ubuntu_xenial_arm64_conjure-up-2.2-beta3_BUILDING.txt.gz

Thanks!

Related branches

Colin Watson (cjwatson) wrote :

This requires fixes on both the build manager and worker sides, essentially because "git clone -b" only accepts branch names rather than general tag names so we need to work around it.

tags: added: lp-snappy
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Changed in launchpad-buildd:
status: New → Triaged
importance: Undecided → High
Colin Watson (cjwatson) wrote :

Actually I just noticed that "git clone -b" does take tag names after all - it's just a bit weird because it only accepts their shortened form (so it's ambiguous in a corner case that probably doesn't matter). That means we don't need to change the build manager side.

Changed in launchpad:
status: Triaged → Invalid
Changed in launchpad-buildd:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Colin Watson (cjwatson) on 2018-06-05
Changed in launchpad-buildd:
status: In Progress → Fix Committed
Colin Watson (cjwatson) wrote :

Fixed in launchpad-buildd 162, now on production.

Changed in launchpad-buildd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers