golang / dep

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

dep init to generate toml files inspite of failures #2171

Closed ambiknai closed 4 years ago

ambiknai commented 5 years ago

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

version : v0.5.3 build date : 2019-05-13 git hash : 192eb44 go version : go1.12.5 go compiler : gc platform : linux/amd64 features : ImportDuringSolve=false

What dep command did you run?

dep init

What did you expect to see?

expected Gopkg.toml and lock file

What did you see instead?

Root project is "github.ibm.com/alchemy-containers/ibm-vpc-block-csi-driver/tests/e2e"
 637 transitively valid internal packages
 953 external packages imported from 115 projects
(0)   ✓ select (root)
(1) ? attempt gopkg.in/fsnotify.v1 with 1 pkgs; 0 versions to try
panic: version queue is empty, should not happen: gopkg.in/fsnotify.v1 .

Is there a way to generate toml file, even if the dep init fails. Basically I need all other dependencies in toml file and I can add the excpetion for the above error this way

[[override]]
  source = "https://github.com/fsnotify/fsnotify/archive/v1.4.7.tar.gz"
  name = "gopkg.in/fsnotify.v1"
tgage commented 5 years ago

I am also having this issue when trying to build ingress-nginx.

mvdan commented 4 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!