You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
When I run dep init on a project for the first time, it appears to add all of the direct dependencies to my manifest file with constraints defined. As the project changes; however, and new packages are added to the imports, running dep ensure -update doesn't seem to add these new direct dependencies to the manifest file with constraints. They obviously do get added to the lock file. I also can obviously run dep ensure -add and explicitly add new direct dependencies, but it seems to me that if dep automatically populated the original manifest with imported packages, that there should be a way to effectively "refresh" that.
I haven't run / tried dep init b/c I'm under the impression it is intended only for the first time execution.
Is there a way to do this, or am I missing something about the intended use here?
The text was updated successfully, but these errors were encountered:
When I run dep init on a project for the first time, it appears to add all of the direct dependencies to my manifest file with constraints defined. As the project changes; however, and new packages are added to the imports, running dep ensure -update doesn't seem to add these new direct dependencies to the manifest file with constraints. They obviously do get added to the lock file. I also can obviously run dep ensure -add and explicitly add new direct dependencies, but it seems to me that if dep automatically populated the original manifest with imported packages, that there should be a way to effectively "refresh" that.
I haven't run / tried dep init b/c I'm under the impression it is intended only for the first time execution.
Is there a way to do this, or am I missing something about the intended use here?
The text was updated successfully, but these errors were encountered: