summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contributors/devel/cherry-picks.md74
-rw-r--r--contributors/devel/sig-release/cherry-picks.md73
-rw-r--r--contributors/guide/contributor-cheatsheet.md2
-rw-r--r--contributors/guide/release-notes.md2
4 files changed, 77 insertions, 74 deletions
diff --git a/contributors/devel/cherry-picks.md b/contributors/devel/cherry-picks.md
index 7769f970..f7284c73 100644
--- a/contributors/devel/cherry-picks.md
+++ b/contributors/devel/cherry-picks.md
@@ -1,73 +1,3 @@
-# Overview
+This file has moved to https://git.k8s.io/community/contributors/devel/sig-release/cherry-picks.md.
-This document explains how cherry-picks are managed on release branches within
-the kubernetes/kubernetes repository.
-A common use case for this task is backporting PRs from master to release
-branches.
-
-## Prerequisites
- * [Contributor License Agreement](http://git.k8s.io/community/CLA.md) is
- considered implicit for all code within cherry-pick pull requests,
- **unless there is a large conflict**.
- * A pull request merged against the master branch.
- * [Release branch](https://git.k8s.io/release/docs/branching.md) exists.
- * The normal git and GitHub configured shell environment for pushing to your
- kubernetes `origin` fork on GitHub and making a pull request against a
- configured remote `upstream` that tracks
- "https://github.com/kubernetes/kubernetes.git", including `GITHUB_USER`.
- * Have `hub` installed, which is most easily installed via `go get
- github.com/github/hub` assuming you have a standard golang development
- environment.
-
-## Initiate a Cherry-pick
- * Run the [cherry-pick
- script](https://git.k8s.io/kubernetes/hack/cherry_pick_pull.sh).
- This example applies a master branch PR #98765 to the remote branch
- `upstream/release-3.14`: `hack/cherry_pick_pull.sh upstream/release-3.14
- 98765`
- * Be aware the cherry-pick script assumes you have a git remote called
- `upstream` that points at the Kubernetes github org.
- Please see our [recommended Git workflow](https://git.k8s.io/community/contributors/guide/github-workflow.md#workflow).
- * You will need to run the cherry-pick script separately for each patch release you want to cherry-pick to.
-
- * Your cherry-pick PR will immediately get the `do-not-merge/cherry-pick-not-approved` label.
- The [Branch Manager](https://git.k8s.io/sig-release/release-team/role-handbooks/branch-manager)
- will triage PRs targeted to the next .0 minor release branch up until the
- release, while the [Patch Release Team](https://git.k8s.io/sig-release/release-team/role-handbooks/patch-release-manager)
- will handle all cherry-picks to patch releases.
- Normal rules apply for code merge.
- * Reviewers `/lgtm` and owners `/approve` as they deem appropriate.
- * Milestones on cherry-pick PRs should be the milestone for the target
- release branch (for example, milestone 1.11 for a cherry-pick onto
- release-1.11).
- * You can find the current release team members in the
- [appropriate release folder](https://git.k8s.io/sig-release/releases) for the target release.
- You may cc them with `<@githubusername>` on your cherry-pick PR.
-
-## Cherry-pick Review
-
-Cherry-pick pull requests have an additional requirement compared to normal pull
-requests.
-They must be approved specifically for cherry-pick by Approvers.
-The [Branch Manager](https://git.k8s.io/sig-release/release-team/role-handbooks/branch-manager)
-or the [Patch Release Team](https://git.k8s.io/sig-release/release-team/role-handbooks/patch-release-manager)
-are the final authority on removing the `do-not-merge/cherry-pick-not-approved`
-label and triggering a merge into the target branch.
-
-## Searching for Cherry-picks
-
-- [A sample search on kubernetes/kubernetes pull requests that are labeled as `cherry-pick-approved`](https://github.com/kubernetes/kubernetes/pulls?q=is%3Aopen+is%3Apr+label%3Acherry-pick-approved)
-
-- [A sample search on kubernetes/kubernetes pull requests that are labeled as `do-not-merge/cherry-pick-not-approved`](https://github.com/kubernetes/kubernetes/pulls?q=is%3Aopen+is%3Apr+label%3Ado-not-merge%2Fcherry-pick-not-approved)
-
-
-## Troubleshooting Cherry-picks
-
-Contributors may encounter some of the following difficulties when initiating a cherry-pick.
-
-- A cherry-pick PR does not apply cleanly against an old release branch.
-In that case, you will need to manually fix conflicts.
-
-- The cherry-pick PR includes code that does not pass CI tests.
-In such a case you will have to fetch the auto-generated branch from your fork, amend the problematic commit and force push to the auto-generated branch.
-Alternatively, you can create a new PR, which is noisier.
+This file is a placeholder to preserve links. Please remove by April 29, 2019 or the release of kubernetes 1.13, whichever comes first. \ No newline at end of file
diff --git a/contributors/devel/sig-release/cherry-picks.md b/contributors/devel/sig-release/cherry-picks.md
new file mode 100644
index 00000000..7769f970
--- /dev/null
+++ b/contributors/devel/sig-release/cherry-picks.md
@@ -0,0 +1,73 @@
+# Overview
+
+This document explains how cherry-picks are managed on release branches within
+the kubernetes/kubernetes repository.
+A common use case for this task is backporting PRs from master to release
+branches.
+
+## Prerequisites
+ * [Contributor License Agreement](http://git.k8s.io/community/CLA.md) is
+ considered implicit for all code within cherry-pick pull requests,
+ **unless there is a large conflict**.
+ * A pull request merged against the master branch.
+ * [Release branch](https://git.k8s.io/release/docs/branching.md) exists.
+ * The normal git and GitHub configured shell environment for pushing to your
+ kubernetes `origin` fork on GitHub and making a pull request against a
+ configured remote `upstream` that tracks
+ "https://github.com/kubernetes/kubernetes.git", including `GITHUB_USER`.
+ * Have `hub` installed, which is most easily installed via `go get
+ github.com/github/hub` assuming you have a standard golang development
+ environment.
+
+## Initiate a Cherry-pick
+ * Run the [cherry-pick
+ script](https://git.k8s.io/kubernetes/hack/cherry_pick_pull.sh).
+ This example applies a master branch PR #98765 to the remote branch
+ `upstream/release-3.14`: `hack/cherry_pick_pull.sh upstream/release-3.14
+ 98765`
+ * Be aware the cherry-pick script assumes you have a git remote called
+ `upstream` that points at the Kubernetes github org.
+ Please see our [recommended Git workflow](https://git.k8s.io/community/contributors/guide/github-workflow.md#workflow).
+ * You will need to run the cherry-pick script separately for each patch release you want to cherry-pick to.
+
+ * Your cherry-pick PR will immediately get the `do-not-merge/cherry-pick-not-approved` label.
+ The [Branch Manager](https://git.k8s.io/sig-release/release-team/role-handbooks/branch-manager)
+ will triage PRs targeted to the next .0 minor release branch up until the
+ release, while the [Patch Release Team](https://git.k8s.io/sig-release/release-team/role-handbooks/patch-release-manager)
+ will handle all cherry-picks to patch releases.
+ Normal rules apply for code merge.
+ * Reviewers `/lgtm` and owners `/approve` as they deem appropriate.
+ * Milestones on cherry-pick PRs should be the milestone for the target
+ release branch (for example, milestone 1.11 for a cherry-pick onto
+ release-1.11).
+ * You can find the current release team members in the
+ [appropriate release folder](https://git.k8s.io/sig-release/releases) for the target release.
+ You may cc them with `<@githubusername>` on your cherry-pick PR.
+
+## Cherry-pick Review
+
+Cherry-pick pull requests have an additional requirement compared to normal pull
+requests.
+They must be approved specifically for cherry-pick by Approvers.
+The [Branch Manager](https://git.k8s.io/sig-release/release-team/role-handbooks/branch-manager)
+or the [Patch Release Team](https://git.k8s.io/sig-release/release-team/role-handbooks/patch-release-manager)
+are the final authority on removing the `do-not-merge/cherry-pick-not-approved`
+label and triggering a merge into the target branch.
+
+## Searching for Cherry-picks
+
+- [A sample search on kubernetes/kubernetes pull requests that are labeled as `cherry-pick-approved`](https://github.com/kubernetes/kubernetes/pulls?q=is%3Aopen+is%3Apr+label%3Acherry-pick-approved)
+
+- [A sample search on kubernetes/kubernetes pull requests that are labeled as `do-not-merge/cherry-pick-not-approved`](https://github.com/kubernetes/kubernetes/pulls?q=is%3Aopen+is%3Apr+label%3Ado-not-merge%2Fcherry-pick-not-approved)
+
+
+## Troubleshooting Cherry-picks
+
+Contributors may encounter some of the following difficulties when initiating a cherry-pick.
+
+- A cherry-pick PR does not apply cleanly against an old release branch.
+In that case, you will need to manually fix conflicts.
+
+- The cherry-pick PR includes code that does not pass CI tests.
+In such a case you will have to fetch the auto-generated branch from your fork, amend the problematic commit and force push to the auto-generated branch.
+Alternatively, you can create a new PR, which is noisier.
diff --git a/contributors/guide/contributor-cheatsheet.md b/contributors/guide/contributor-cheatsheet.md
index 180a368f..320cd980 100644
--- a/contributors/guide/contributor-cheatsheet.md
+++ b/contributors/guide/contributor-cheatsheet.md
@@ -20,7 +20,7 @@ A list of common resources when contributing to Kubernetes.
- [GitHub labels](https://go.k8s.io/github-labels)
- [Release Buckets](https://gcsweb.k8s.io/gcs/kubernetes-release/)
- Developer Guide
- - [Cherry Picking Guide](/contributors/devel/cherry-picks.md)
+ - [Cherry Picking Guide](/contributors/devel/sig-release/cherry-picks.md)
- [Kubernetes Code Search](https://cs.k8s.io/), maintained by [@dims](https://github.com/dims)
diff --git a/contributors/guide/release-notes.md b/contributors/guide/release-notes.md
index 655dff1c..81dca597 100644
--- a/contributors/guide/release-notes.md
+++ b/contributors/guide/release-notes.md
@@ -30,4 +30,4 @@ For pull requests that don't need to be mentioned at release time, use the `/rel
To see how to format your release notes, view the kubernetes/kubernetes [pull request template](https://git.k8s.io/kubernetes/.github/PULL_REQUEST_TEMPLATE.md) for a brief example. Pull Request titles and body comments can be modified at any time prior to the release to make them friendly for release notes.
-Release notes apply to pull requests on the master branch. For cherry-pick pull requests, see the [cherry-pick instructions](/contributors/devel/cherry-picks.md). The only exception to these rules is when a pull request is not a cherry-pick and is targeted directly to the non-master branch. In this case, a `release-note-*` label is required for that non-master pull request.
+Release notes apply to pull requests on the master branch. For cherry-pick pull requests, see the [cherry-pick instructions](/contributors/devel/sig-release/cherry-picks.md). The only exception to these rules is when a pull request is not a cherry-pick and is targeted directly to the non-master branch. In this case, a `release-note-*` label is required for that non-master pull request.