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 status show nothing after dep init #356

@kevingo

Description

@kevingo

Hi, if I use dep init on one project, and it will create manifest.jsonlock.json and vendor/ successfully. After that, I use dep status, it shows nothing, such as :

$ dep status
PROJECT  MISSING PACKAGES

After I continue typing dep ensure, the dep status shows expected information, such as :

$ dep status
PROJECT                          CONSTRAINT     VERSION        REVISION  LATEST   PKGS USED
github.com/davecgh/go-spew       *              v1.1.0         a7a0063   v1.1.0   1
github.com/go-ini/ini            *              v1.27.0        e7fea39   v1.27.0  1
github.com/gucumber/gucumber     *              branch master  71608e2   71608e2  2
github.com/jmespath/go-jmespath  *              0.2.2          3433f3e   0.2.2    1
github.com/pmezard/go-difflib    *              v1.0.0         c0b812d   v1.0.0   1
github.com/shiena/ansicolor      *              branch master  a422bbe   a422bbe  1
github.com/stretchr/testify      *              v1.1.4         69483b4   v1.1.4   2
golang.org/x/net                 branch master  branch master  4971afd   05d3205  2
golang.org/x/tools               branch master  branch master  8b84dae   d63e2b2  3

But the only changes between dep init and dep ensure is the memo field in the lock.json:

diff --git a/lock.json b/lock.json
index 47a671e..1ce2d08 100644
--- a/lock.json
+++ b/lock.json
@@ -1,5 +1,5 @@
 {
-    "memo": "32049ca53089c48b7465aa66569de85b1fae6540d8424cf70811cfb846f795e6",
+    "memo": "92574f8da2bd8e7ccb9e86f4251ca33e3110ee6d18c1b706f0e96ad45499238d",
     "projects": [
         {
             "name": "github.com/davecgh/go-spew",

Is this behavior designed by intention? Or any reason?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions