diff options
| author | Kubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com> | 2019-04-19 16:26:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-19 16:26:06 -0700 |
| commit | 9258fa171f569a33b62a07239c10bce137598527 (patch) | |
| tree | 836d3164f1d20d9f0237ce0955ae4983e725eb28 | |
| parent | 9a270d22a32fcc3d34ceee804af29d29a2c82756 (diff) | |
| parent | eea710e00541648c5a20bf3923a5f2da03613cf6 (diff) | |
Merge pull request #3615 from liggitt/vendor
vendor doc follow-up
| -rw-r--r-- | contributors/devel/sig-architecture/godep.md | 3 | ||||
| -rw-r--r-- | contributors/devel/sig-architecture/vendor.md | 13 |
2 files changed, 8 insertions, 8 deletions
diff --git a/contributors/devel/sig-architecture/godep.md b/contributors/devel/sig-architecture/godep.md index cf3a4ce8..1c17621f 100644 --- a/contributors/devel/sig-architecture/godep.md +++ b/contributors/devel/sig-architecture/godep.md @@ -259,8 +259,7 @@ Additionally: - If this is all good, approve, but don't LGTM, unless you also do code review or unless it is trivial (e.g. moving from k/k/pkg/utils -> k/utils). -All new dependency licenses should be reviewed by either Tim Hockin (@thockin) -or the Steering Committee (@kubernetes/steering-committee) to ensure that they +All new dependency licenses should be reviewed by @kubernetes/dep-approvers to ensure that they are compatible with the Kubernetes project license. It is also important to note and flag if a license has changed when updating a dependency, so that these can also be reviewed. diff --git a/contributors/devel/sig-architecture/vendor.md b/contributors/devel/sig-architecture/vendor.md index 39cdc7e2..fb023794 100644 --- a/contributors/devel/sig-architecture/vendor.md +++ b/contributors/devel/sig-architecture/vendor.md @@ -97,7 +97,8 @@ Repeat until step 4 shows no new transitive version requirements, compared to `m This happens almost for free. If you edit Kubernetes code and remove the last use of a given dependency, you only need to run `hack/update-vendor.sh`, and the -tooling will figure out that you don't need that dependency any more and remove it. +tooling will figure out that you don't need that dependency any more and remove it, +along with any unused transitive dependencies. ## Commit messages @@ -152,9 +153,10 @@ Additionally: - Look at the `go.mod` changes in `k8s.io/kubernetes`. Check that the only changes are what the PR claims them to be. - Look at the `go.mod` changes in the staging components. - If they are adding new `replace` directives, this is problematic for - consumers of those libraries (it means we are pinned to older versions than - would be selected by go when our module is used as a library). + Avoid adding new `replace` directives in staging component `go.mod` files. + New `replace` directives are problematic for consumers of those libraries, + since it means we are pinned to older versions than would be selected by go + when our module is used as a library. - Check if there is a tagged release we can vendor instead of a random hash - Scan the imported code for things like init() functions - Look at the Kubernetes code changes and make sure they are appropriate @@ -162,8 +164,7 @@ Additionally: - If this is all good, approve, but don't LGTM, unless you also do code review or unless it is trivial (e.g. moving from k/k/pkg/utils -> k/utils). -All new dependency licenses should be reviewed by either Tim Hockin (@thockin) -or the Steering Committee (@kubernetes/steering-committee) to ensure that they +All new dependency licenses should be reviewed by @kubernetes/dep-approvers to ensure that they are compatible with the Kubernetes project license. It is also important to note and flag if a license has changed when updating a dependency, so that these can also be reviewed. |
