Hi Romain, So see an internal repository you'll have to sign in to GitLab, this is not easily possible with Go I think.
Consider using a deploy key and retrieving it over SSH. Best regards, Sytse Sijbrandij CEO GitLab B.V. On Tue, Oct 14, 2014 at 9:29 AM, Romain Baugue <romain.bau...@gmail.com> wrote: > 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 > <https://groups.google.com/d/msgid/gitlabhq/3ba8fd25-e628-4fb6-bf5b-9db36d0141e8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJTzhG-qF4h2smrihtG_XgFoNWccZhDpW1XkynFBeOH%2BNDpWYg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.