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

dep ensure freeze when trying to connect to no longer existing repo #1605

Closed
@nattawitc

Description

@nattawitc

My project use github.com/tj/go-debug which used to exist and can be dep ensure just fine before. But when I try to dep ensure again, it just freeze with no indication of what happen, is it still running or trying or just freezed. I have to check htop to see ssh git@github.com git-upload-pack '/tj/go-debug' is running constantly because this repository is not there anymore.

I propose that there should be some mechanism to determine the existence of repo first before trying to do anything else.

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

v0.4.1-28-g0d708ff

What dep command did you run?

$ dep ensure -v
Root project is "xxx"
14 transitively valid internal packages
7 external packages imported from 6 projects
(0) ✓ select (root)
(1) ? attempt github.com/asaskevich/govalidator with 1 pkgs; at least 1 versions to try
(1) try github.com/asaskevich/govalidator@v8
(1) ✓ select github.com/asaskevich/govalidator@v8 w/1 pkgs
(2) ? attempt github.com/google/go-cmp with 1 pkgs; at least 1 versions to try
(2) try github.com/google/go-cmp@v0.1.0
(2) ✓ select github.com/google/go-cmp@v0.1.0 w/4 pkgs
(3) ? attempt github.com/oliveagle/jsonpath with 1 pkgs; at least 1 versions to try
(3) try github.com/oliveagle/jsonpath@master
(3) ✓ select github.com/oliveagle/jsonpath@master w/1 pkgs
(4) ? attempt github.com/mohae/utilitybelt with 1 pkgs; at least 1 versions to try
(4) try github.com/mohae/utilitybelt@master
(4) ✓ select github.com/mohae/utilitybelt@master w/1 pkgs

What did you expect to see?

some kind of progress or retry message

What did you see instead?

dep just stop there with no indication that it freeze or just still trying

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions