Open
Description
The project go-restful
imports broken packages in it's examples/
directory, for example:
This makes using go-restful
impossible with goop
.
This common inclusion of an examples/
directory should probably be counted as a place not to look for imports, if you have that within your power.
Error log from a Goopfile
containing nothing but github.com/emicklei/go-restful
:
$ GOPATH=$(pwd) goop install
=> Fetching github.com/emicklei/go-restful...
Cloning into '/api/.vendor/tmp/src/github.com/emicklei/go-restful'...
remote: Reusing existing pack: 1862, done.
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 1867 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1867/1867), 4.80 MiB | 932 KiB/s, done.
Resolving deltas: 100% (959/959), done.
Checking out "c12ca7685cf7b6e123f90cd30556d1065e37a5e6"
=> Fetching dependencies for github.com/emicklei/go-restful...
github.com/gorilla/schema (download)
import "appengine": import path doesn't contain a slash
package github.com/gorilla/schema
imports appengine: unrecognized import path "appengine"
import "appengine/memcache": import path doesn't contain a hostname
package github.com/gorilla/schema
imports appengine/memcache: unrecognized import path "appengine/memcache"
github.com/mjibson/appstats (download)
import "appengine/user": import path doesn't contain a hostname
package github.com/gorilla/schema
imports github.com/mjibson/appstats
imports appengine/user: unrecognized import path "appengine/user"
import "appengine_internal": import path doesn't contain a slash
package github.com/gorilla/schema
imports github.com/mjibson/appstats
imports appengine_internal: unrecognized import path "appengine_internal"
code.google.com/p/goprotobuf (download)
import "appengine/datastore": import path doesn't contain a hostname
package github.com/gorilla/schema
imports github.com/mjibson/appstats
imports code.google.com/p/goprotobuf/proto
imports appengine/datastore: unrecognized import path "appengine/datastore"
goop: Command failed with exit status 1
I will work around this by forging the import path, and working from a clone of the repository in my own name with the examples directory removed.
Metadata
Metadata
Assignees
Labels
No labels