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

Unable to initialise submodule #2146

Closed
therealssj opened this issue Apr 10, 2019 · 1 comment
Closed

Unable to initialise submodule #2146

therealssj opened this issue Apr 10, 2019 · 1 comment

Comments

@therealssj
Copy link

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

dep:
 version     : v0.5.1
 build date  : 2019-03-11
 git hash    : faa6189
 go version  : go1.12
 go compiler : gc
 platform    : darwin/amd64
 features    : ImportDuringSolve=false

What dep command did you run?

dep ensure -v

What did you expect to see?

I have three repositories:

When I did dep ensure I expected dep to initialise the submodule.

What did you see instead?

No submodule on doing dep ensure. See here. When I do dep ensure the submodule is not initialised in https://github.com/therealssj/testingdep2.

Here is the dep ensure log:

> dep ensure --update -v                                                                                 
Root project is "github.com/therealssj/testingdep2"
 1 transitively valid internal packages
 8 external packages imported from 5 projects
(0)   ✓ select (root)
(1)	? attempt github.com/NYTimes/gziphandler with 1 pkgs; 5 versions to try
(1)	    try github.com/NYTimes/gziphandler@v1.1.1
(1)	✓ select github.com/NYTimes/gziphandler@v1.1.1 w/1 pkgs
(2)	? attempt github.com/gogo/protobuf with 1 pkgs; 28 versions to try
(2)	    try github.com/gogo/protobuf@v1.2.1
(2)	✓ select github.com/gogo/protobuf@v1.2.1 w/1 pkgs
(3)	? attempt github.com/skycoin/skycoin with 2 pkgs; 22 versions to try
(3)	    try github.com/skycoin/skycoin@v0.25.1
(3)	✓ select github.com/skycoin/skycoin@v0.25.1 w/8 pkgs
(4)	? attempt github.com/mgutz/ansi with 1 pkgs; 1 versions to try
(4)	    try github.com/mgutz/ansi@master
(4)	✓ select github.com/mgutz/ansi@master w/1 pkgs
(5)	? attempt github.com/mattn/go-colorable with 1 pkgs; 14 versions to try
(5)	    try github.com/mattn/go-colorable@v0.1.1
(5)	✓ select github.com/mattn/go-colorable@v0.1.1 w/1 pkgs
(6)	? attempt github.com/mattn/go-isatty with 1 pkgs; 9 versions to try
(6)	    try github.com/mattn/go-isatty@v0.0.7
(6)	✓ select github.com/mattn/go-isatty@v0.0.7 w/1 pkgs
(7)	? attempt github.com/rs/cors with 1 pkgs; 8 versions to try
(7)	    try github.com/rs/cors@v1.6.0
(7)	✓ select github.com/rs/cors@v1.6.0 w/1 pkgs
(8)	? attempt github.com/therealssj/testingdep1 with 3 pkgs; 1 versions to try
(8)	    try github.com/therealssj/testingdep1@master
(8)	✓ select github.com/therealssj/testingdep1@master w/5 pkgs
(9)	? revisit github.com/skycoin/skycoin to add 1 pkgs
(9)	  ✓ include 5 more pkgs from github.com/skycoin/skycoin@v0.25.1
(9)	? attempt golang.org/x/crypto with 1 pkgs; 3 versions to try
(10)      try golang.org/x/crypto@master
(10)  ✓ select golang.org/x/crypto@master w/1 pkgs
(10)  ? attempt github.com/sirupsen/logrus with 1 pkgs; 61 versions to try
(11)      try github.com/sirupsen/logrus@v1.4.1
(11)  ✓ select github.com/sirupsen/logrus@v1.4.1 w/1 pkgs
(11)  ? attempt github.com/konsorten/go-windows-terminal-sequences with 1 pkgs; 3 versions to try
(12)      try github.com/konsorten/go-windows-terminal-sequences@v1.0.2
(12)  ✓ select github.com/konsorten/go-windows-terminal-sequences@v1.0.2 w/1 pkgs
(12)  ? attempt golang.org/x/sys with 1 pkgs; 3 versions to try
(13)      try golang.org/x/sys@master
(13)  ✓ select golang.org/x/sys@master w/1 pkgs
(13)  ? revisit golang.org/x/sys to add 1 pkgs
(14)    ✓ include 1 more pkgs from golang.org/x/sys@master
(13)  ? attempt github.com/shopspring/decimal with 1 pkgs; 4 versions to try
(15)      try github.com/shopspring/decimal@1.1.0
(15)  ✓ select github.com/shopspring/decimal@1.1.0 w/1 pkgs
  ✓ found solution with 25 packages from 13 projects

Solver wall times by segment:
     b-list-versions: 38.247919543s
     b-source-exists:  2.967212722s
              b-gmal:  2.327612706s
             satisfy:    8.530387ms
         select-atom:    6.653672ms
         b-list-pkgs:    3.257428ms
            new-atom:     805.975µs
         select-root:     335.047µs
               other:     235.943µs
  b-deduce-proj-root:     107.647µs
            add-atom:      11.084µs

  TOTAL: 43.562682154s

I found a similar issue but that does not provide any help. I created these repositories from scratch to figure out this issue.

@mvdan
Copy link
Member

mvdan commented Sep 4, 2020

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!

@mvdan mvdan closed this as completed Sep 4, 2020
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