snapcraft stage does not work with Go and Launchpad

Bug #1511447 reported by Rick Spencer on 2015-10-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Undecided
Unassigned

Bug Description

This:
name: iteration1
version: 0.1
vendor: Rick Spencer <email address hidden>
summary: first example of snapcraft
description: really the first example of snapcraft
icon: rick.jpg

parts:
 hello:
  plugin: go
  source: lp:~rick-rickspencer3/+junk/hello

results in this:
rick@rick:~/Projects/iteration1$ snapcraft stage
Pulling hello
env GOPATH=/home/rick/Projects/iteration1/parts/hello/build go get -t -d rick-rickspencer3/+junk/hello
package rick-rickspencer3/+junk/hello: unrecognized import path "rick-rickspencer3/+junk/hello"

I can't tell if I am doing something wrong, but it seems correctly set up from the examples

Leo Arias (elopio) wrote :

There's an additional problem when you use something like source: lp:project (without the ~username)

We need two integration tests or examples that use go and lp sources.

Changed in snappy:
status: New → Confirmed
Sergio Schvezov (sergiusens) wrote :

The link is wrong
sergiusens@lindon:~$ go get lp:~rick-rickspencer3/+junk/hello
package lp:~rick-rickspencer3/+junk/hello: unrecognized import path "lp:~rick-rickspencer3/+junk/hello"
sergiusens@lindon:~$ go get launchpad.net/~rick-rickspencer3/+junk/hello
sergiusens@lindon:~$ echo $?
0

Sergio Schvezov (sergiusens) wrote :

We can fix this.

Michael Vogt (mvo) on 2016-11-29
affects: snappy → snapcraft
Sergio Schvezov (sergiusens) wrote :

This was fixed a while ago

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

Other bug subscribers