-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Add --insecure (Was: Cannot detect VCS error on private repos) #192
Comments
@bjorn-tf Glide There are two places "go-import" is used.
Do you already have a version of the dependent package checked out? Does it have the |
Also, you can use private repos with Glide. package: foo/bar
import:
- package: github.com/private/package
repo: [email protected]:private/package.git
vcs: git That will tell glide to checkout |
@mattfarina Thank you for fast response. I think that i found a problem - detectVcsFromRemote function:
I think, that "insecure" flag can help here. |
@bjorn-tf Does the |
@mattfarina As far as i can see |
The |
|
The If you have an import like: - package: ourcompany.net/example/package you can update it to be (this is what - package: ourcompany.net/example/package
repo: http://ourcompany.net/example/package or - package: ourcompany.net/example/package
repo: http://ourcompany.net/example/package
vcs: git if you know the VCS type. |
I've tried Of course i can add proper repo for package to glide.yaml by hands, but it will not help, because package relies on other packages(located in other private repos) and glide will fail during install phase. I suggest to add support of |
@bjorn-tf Now I understand the problem. Thanks for all the detail. |
What we need to do is have an |
In my case also, we require an |
I would really need this too. |
We have private repos on bitbucket. To make them available and "go gettable" to our developers and CI servers we are using gorepos proxy.
For example, this is response to
wget https://gorep.ourcompany.net/ourpackage?go-get=1
:As far as i can see, glide just ignoring two last fields in
content
attribute, and returns warning:[WARN] Problem setting version on gorep.ourcompany.net/ourpackage: Cannot detect VCS (flatten)
We are using glide version 0.8.2-2-gb07f081
The text was updated successfully, but these errors were encountered: