golang / dep

Go dependency management tool experiment (deprecated)
https://golang.github.io/dep/
BSD 3-Clause "New" or "Revised" License
12.87k stars 1.05k forks source link

dep ensure with multiple sources #2214

Closed svartkanin closed 3 years ago

svartkanin commented 4 years ago

I'm trying to install qt for golang from this repository https://github.com/therecipe/qt/. There are installation instructions for the dependencies for Linux https://github.com/therecipe/qt/wiki/Installation-on-Linux

which bowls down to this command

go get -u -v github.com/therecipe/qt/cmd/...

which will fetch all dependencies in the path `.../cmd/*

When trying to do the same with dep it runs into an error

dep ensure -add github.com/therecipe/qt/cmd/...
Fetching sources...

ensure Solve(): No versions of github.com/therecipe/qt met constraints:
    master: Could not introduce github.com/therecipe/qt@master, as its subpackage github.com/therecipe/qt/cmd/... is missing. (Package is required by (root).)

Is there a way to use dep for the full recursive installation of those dependencies?

mvdan commented 3 years ago

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!