Hi.

I successfully set-up a Gitlab CE instance to host some golang packages for 
my company.
However, it seems that I can't use the `go get` tool to retrieve privates 
packages, the command returning the following error

package gitlab.kdata.fr/kdata/golang: unrecognized import path 
"gitlab.kdata.fr/kdata/golang"

Using CURL to get the code of the page (I was looking for the meta-tag that 
go is waiting), I got this :

<html><body>You are being <a href="http://gitlab.kdata.fr/users/sign_in";>
redirected</a>.</body></html>

Logical, so far : Gitlab request for the user to connect when trying to get 
a private/internal package. I tried changing it to public, and it works.

The question is : is there a way to keep the package private and still use 
the `go get` command ? I vaguely remember a software called 
`go-import-server` mentioned somewhere, but Google seem not to remember it…

Cheers,
Romain Baugue;

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/3ba8fd25-e628-4fb6-bf5b-9db36d0141e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to