Merge pull request #6238 from justinsb/add_doc_on_update_dependency

Document how to update an existing vendored dependency
This commit is contained in:
Kubernetes Prow Robot 2018-12-20 12:16:35 -08:00 committed by GitHub
commit 4ffdf813f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -25,3 +25,13 @@ subdirectory.
`Gopkg.lock` and `Gopkg.toml`.
1. Open a pull request with these changes separately from other work
so that it is easier to review.
## Updating a dependency in the vendor directory (e.g. aws-sdk-go)
1. Update the locked version as specified in Gopkg.toml
1. Run `make dep-ensure`.
1. Review the changes to ensure that they are as intended / trustworthy.
1. Commit any changes, including changes to the `vendor` directory,
`Gopkg.lock` and `Gopkg.toml`.
1. Open a pull request with these changes separately from other work so that it
is easier to review. Please include any significant changes you observed.