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 -add" can't add package in private gitlab. #2061

@mcauto

Description

@mcauto

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

$ dep version 
dep:
 version     : v0.5.0
 build date  : 2018-07-26
 git hash    : 224a564
 go version  : go1.10.3
 go compiler : gc
 platform    : linux/amd64
 features    : ImportDuringSolve=false

What dep command did you run?

I want to manage packages in private gitlab.

I success fetching fork package however package directory has 'git' extension...

$ git config --global url."git@gitlab.company.com:".insteadOf "https://gitlab.company.com/"
$ dep ensure -add gitlab.company.com/{group}/module # occur error
$ dep ensure -add gitlab.company.com/{group}/module.git # fetch success
${PROJECT_PATH}/vendor/gitlab.company.com/group/go-fastping.git 

How to remove git extension?

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