Skip to content

Commit

Permalink
Merge pull request #6238 from justinsb/add_doc_on_update_dependency
Browse files Browse the repository at this point in the history
Document how to update an existing vendored dependency
  • Loading branch information
k8s-ci-robot authored Dec 20, 2018
2 parents b3e22be + 6deaa76 commit 4ffdf81
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/development/vendoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 4ffdf81

Please sign in to comment.