limetext / lime-html

BSD 2-Clause "Simplified" License
55 stars 22 forks source link

Installation depends on missing packages #4

Open DanielHeath opened 8 years ago

DanielHeath commented 8 years ago

To reproduce:

mkdir limehtml
cd limehtml
GOPATH=$(pwd) go get -u github.com/limetext/lime-html/...

I get the following output:

package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib: cannot find package "github.com/limetext/lime-backend/lib" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib (from $GOPATH)
package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib/commands: cannot find package "github.com/limetext/lime-backend/lib/commands" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib/commands (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib/commands (from $GOPATH)
package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib/keys: cannot find package "github.com/limetext/lime-backend/lib/keys" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib/keys (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib/keys (from $GOPATH)
package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib/log: cannot find package "github.com/limetext/lime-backend/lib/log" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib/log (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib/log (from $GOPATH)
package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib/render: cannot find package "github.com/limetext/lime-backend/lib/render" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib/render (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib/render (from $GOPATH)
package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib/sublime: cannot find package "github.com/limetext/lime-backend/lib/sublime" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib/sublime (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib/sublime (from $GOPATH)
package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib/textmate: cannot find package "github.com/limetext/lime-backend/lib/textmate" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib/textmate (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib/textmate (from $GOPATH)
package github.com/limetext/lime-html/main
    imports github.com/limetext/lime-backend/lib/util: cannot find package "github.com/limetext/lime-backend/lib/util" in any of:
    /Users/daniel.heath/.gvm/gos/go1.6/src/github.com/limetext/lime-backend/lib/util (from $GOROOT)
    /Volumes/Code/lime/src/github.com/limetext/lime-backend/lib/util (from $GOPATH)
package github.com/limetext/lime-html/packages/GoSublime/src/gosubli.me/margo
    imports gosubli.me/something-borrowed/gocode: unrecognized import path "gosubli.me/something-borrowed/gocode" (https fetch: Get https://gosubli.me/something-borrowed/gocode?go-get=1: dial tcp: lookup gosubli.me: no such host)
package github.com/limetext/lime-html/packages/GoSublime/src/gosubli.me/margo
    imports gosubli.me/something-borrowed/types: unrecognized import path "gosubli.me/something-borrowed/types" (https fetch: Get https://gosubli.me/something-borrowed/types?go-get=1: dial tcp: lookup gosubli.me: no such host)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35620153-installation-depends-on-missing-packages?utm_campaign=plugin&utm_content=tracker%2F15719822&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15719822&utm_medium=issues&utm_source=github).
zoli commented 8 years ago

This frontend isn't updated with latest changes on backend and packages. right now the main focus is on lime-qml.

erbridge commented 8 years ago

This issue comes up because go get -u github.com/limetext/lime-html/... includes the packages subdirectory, which should not be fetched.