Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

How to use dep and gitlab? #1502

Closed
JulienBreux opened this issue Jan 2, 2018 · 5 comments
Closed

How to use dep and gitlab? #1502

JulienBreux opened this issue Jan 2, 2018 · 5 comments

Comments

@JulienBreux
Copy link

What version of dep are you using (dep version)?

dep:
 version     : devel
 build date  :
 git hash    :
 go version  : go1.9.1
 go compiler : gc
 platform    : darwin/amd64

What dep command did you run?

dep ensure

My Gopkg.toml

[[constraint]]
  name = "gitlab.com/<company>/<group>/<repository>.git"
  version = "1.0.0"

What did you expect to see?

Nothing, all fine!

What did you see instead?

dep ensure
ensure Solve(): remote repository at https://gitlab.com/<company>/<group>.git does not exist, or is inaccessible: : exit status 128

My question

How do you use dep with sub-directories and Gitlab?

Thanks a lot.

@sdboyer
Copy link
Member

sdboyer commented Jan 3, 2018

IIRC, this is a known bug in gitlab's go-get metadata implementation related to their subgroups. I'm on my phone right now, so i can't find it easily, but I'm pretty sure we have an issue in our queue here with more info.

@kenfire
Copy link

kenfire commented Jan 3, 2018

I think it's related to this issue: #286 or #174

@JulienBreux
Copy link
Author

JulienBreux commented Jan 3, 2018 via email

@darkowlzz
Copy link
Collaborator

This discussion specifically #1355 (comment) .
Closing this as gitlab is tracking fix for this issue.

@sdboyer
Copy link
Member

sdboyer commented Jan 3, 2018

yep, #1355 is the one, thanks @darkowlzz. this isn't about #174 or #286, as gitlab does implement the necessary metadata. they just have a bug with their subgroups.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants