This repository has been archived by the owner on Feb 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 456
godep save should not update existing packages by default #65
Labels
Comments
kr
added a commit
that referenced
this issue
Apr 7, 2014
This changes the default behavior of 'godep save' so as to preserve any dependencies already in the list at the revision they were previously saved at. New dependencies will be added, and old dependencies will be removed, but that's all. This makes the save command roughly analogous to 'go get' with no flags. PENDING: We also introduce a new command, 'godep update', to update one or more dependency versions. This is roughly analogous to 'go get -u'. This is a separate command (rather than 'godep save -u') because the package argument is different: it specifies a dependency rather than a top-level package. fixes #65
kr
added a commit
that referenced
this issue
Apr 7, 2014
This changes the default behavior of 'godep save' to preserve any dependencies already in the list with their existing revision. New dependencies will be added, and old dependencies will be removed, but that's all. This makes the save command roughly analogous to 'go get' with no flags. PENDING: We also introduce a new command, 'godep update', to update one or more dependency versions. This is roughly analogous to 'go get -u'. This is a separate command (rather than 'godep save -u') because the package argument is different: it specifies a dependency rather than a top-level package. fixes #65
kr
added a commit
that referenced
this issue
Apr 7, 2014
This changes the default behavior of 'godep save' to preserve any dependencies already in the list with their existing revision. New dependencies will be added, and old dependencies will be removed, but that's all. This makes the save command roughly analogous to 'go get' with no flags. PENDING: We also introduce a new command, 'godep update', to update one or more dependency versions. This is roughly analogous to 'go get -u'. This is a separate command (rather than 'godep save -u') because the package argument is different: it specifies a dependency rather than a top-level package. fixes #65
kr
added a commit
that referenced
this issue
Apr 10, 2014
This changes the default behavior of 'godep save' to preserve any dependencies already in the list with their existing revision. New dependencies will be added, and old dependencies will be removed, but that's all. This makes the save command roughly analogous to 'go get' with no flags. PENDING: We also introduce a new command, 'godep update', to update one or more dependency versions. This is roughly analogous to 'go get -u'. This is a separate command (rather than 'godep save -u') because the package argument is different: it specifies a dependency rather than a top-level package. fixes #65
Should |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
By analogy with 'go get'.
Running
godep save
with no flags should keep already-saved dependencies as they are, and only add missing packages. Runninggodep save -u
will then be necessary to update versions.The text was updated successfully, but these errors were encountered: