summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork8s-ci-robot <k8s-ci-robot@users.noreply.github.com>2018-06-18 13:46:32 -0700
committerGitHub <noreply@github.com>2018-06-18 13:46:32 -0700
commit1cc1e3b804f69ccc0de6aa9cb65efccb5e46cdec (patch)
tree78a179a12e50c500574a6d6725845ef2031477c9
parent1d40f1965406e7715c745f9d1a561a897df49401 (diff)
parent2d8e8181fa7ceb9ea1825c013c903563b1020dff (diff)
Merge pull request #2274 from tpepper/cleaning
contributors/devel: request better godep vendoring commit messages
-rw-r--r--contributors/devel/godep.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/contributors/devel/godep.md b/contributors/devel/godep.md
index 36856aa2..4f81c85e 100644
--- a/contributors/devel/godep.md
+++ b/contributors/devel/godep.md
@@ -156,6 +156,22 @@ transitively), you'll also need to update deps there:
./hack/update-staging-godeps.sh
```
+## Commit messages
+
+Terse messages like "Update foo.org/bar to 0.42" are problematic
+for maintainability. Please include in your commit message the
+detailed reason why the dependencies were modified.
+
+Too commonly dependency changes have a ripple effect where something
+else breaks unexpectedly. The first instinct during issue triage
+is to revert a change. If the change was made to fix some other
+issue and that issue was not documented, then a revert simply
+continues the ripple by fixing one issue and reintroducing another
+which then needs refixed. This can needlessly span multiple days
+as CI results bubble in and subsequent patches fix and refix and
+rerefix issues. This may be avoided if the original modifications
+recorded artifacts of the change rationale.
+
## Sanity checking
After all of this is done, `git status` should show you what files have been