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

dep ensure exits with status zero when it does nothing #358

Closed
dcheney-atlassian opened this issue Mar 31, 2017 · 1 comment
Closed

dep ensure exits with status zero when it does nothing #358

dcheney-atlassian opened this issue Mar 31, 2017 · 1 comment

Comments

@dcheney-atlassian
Copy link

dcheney-atlassian commented Mar 31, 2017

% mkdir $GOPATH/src/github.com/atlassian/demo
% cd $GOPATH/src/github.com/atlassian/demo
% git init
% dep init
% echo $?
0

So, this succeeded ? Turns out no

% cat lock.json 
{
    "memo": "dab02b24a752518fc799f3b27b2049c636953aabf69ad62eeb5f354c610bba7c",
    "projects": []
}

hmm, no client-go here

% cat manifest.json 
{
    "dependencies": {
        "k8s.io/client-go": {
            "version": "^2.0.0"
        }
    }
}

but it is here

% ls vendor/
%

but the vendor directory is empty.

How can I make dep download the version 2.0.0 of the k8s/client-go library so I can use it?

@sdboyer
Copy link
Member

sdboyer commented Mar 31, 2017

hiya, thanks for the issue! The real issue here is poor feedback, which...we know, working on it :) But see #352 for more explanation. (Closing this, as we have tickets open already to address it)

@sdboyer sdboyer closed this as completed Mar 31, 2017
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

2 participants