snapcraft stage does not work with Go and Launchpad

Bug #1511447 reported by Rick Spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
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

Revision history for this message
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
Revision history for this message
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

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

We can fix this.

Michael Vogt (mvo)
affects: snappy → snapcraft
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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