gitlab does not support to get sub-package by ``go get``
Created by: hvnsweeting
I tried this with gitlab.com, so that probably contains the newest stable version of gitlabhq:
$ go get -v gitlab.com/hvn_familug/pikachu/raichu
Fetching https://gitlab.com/hvn_familug/pikachu/raichu?go-get=1
Parsing meta tags from https://gitlab.com/hvn_familug/pikachu/raichu?go-get=1 (status code 200)
import "gitlab.com/hvn_familug/pikachu/raichu": parse https://gitlab.com/hvn_familug/pikachu/raichu?go-get=1: no go-import meta tags
package gitlab.com/hvn_familug/pikachu/raichu: unrecognized import path "gitlab.com/hvn_familug/pikachu/raichu"
$ go get -v gitlab.com/hvn_familug/pikachu
Fetching https://gitlab.com/hvn_familug/pikachu?go-get=1
Parsing meta tags from https://gitlab.com/hvn_familug/pikachu?go-get=1 (status code 200)
get "gitlab.com/hvn_familug/pikachu": found meta tag main.metaImport{Prefix:"gitlab.com/hvn_familug/pikachu", VCS:"git", RepoRoot:"https://gitlab.com/hvn_familug/pikachu.git"} at https://gitlab.com/hvn_familug/pikachu?go-get=1
On my gitlab 7.3 private server, it's the same.
When github, and golang.org work, they all returned correct RepoRoot:
$ go get -v github.com/astaxie/beego/config
github.com/astaxie/beego (download)
$ godep restore -v
...
godep: get "golang.org/x/crypto/cast5": found meta tag vcs.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/cast5$
go-get=1
godep: get "golang.org/x/crypto/cast5": verifying non-authoritative meta tag
godep: get "golang.org/x/crypto/openpgp": found meta tag vcs.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/ope$
pgp?go-get=1
https://github.com/gitlabhq/gitlabhq/pull/5958 only support get the package if it's at root of the repo.