You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many communities, both on GitHub and in the wider Git community, are considering renaming the default branch name of their repository from `master`. The Kubernetes GitHub repositories is gradually renaming the default branch of our own repositories from `master` to `main`.
173
-
This KEP is to we rename the branch for the main repository in the Kubernetes community.
174
+
This KEP proposes that we rename the branch for the principal code repository in the Kubernetes project.
174
175
175
176
## Motivation
176
177
@@ -218,9 +219,10 @@ implementation. What is the desired outcome and how do we measure success?.
218
219
The "Design Details" section below is for the real
219
220
nitty-gritty.
220
221
-->
221
-
- The change can be applied in the middle of December 2021. This is a good time because we will have less activity due to the Christmas and new year celebrations
222
-
- Announce the change in the kubernetes-dev and kubernetes-announcement mailing list and maybe in a blog post. As well as use Twitter and other social media to announce.
223
-
- Change all open Pull Requests to the `Draft mode` with that when we rename the branch, the tests will not be triggered and will avoid a massive queue in the CI infrastructure.
222
+
- We aim to make the change during the start of v1.25 release (spring 2022).
223
+
- Perform a Survey to gather information on downstream consumers and how this might affects their workflow. See [Survey Questions](#survey-questions).
224
+
- Announce the change in the kubernetes-dev and kubernetes-announcement mailing list and in a blog post. As well as use Twitter and other social media to announce.
225
+
- Change all open Pull Requests to `Draft mode` (so that when we rename the branch, tests will not be triggered, and we avoid a massive queue in the CI infrastructure).
224
226
- Update all Prow jobs that use `kubernetes/kubernetes` and use the `master` branch to listen to the `main` branch as well
225
227
- Follow the guide on https://github.com/kubernetes/community/blob/master/github-management/default-branch-migration.md to rename the repository branch name.
226
228
- After the branch rename, announce that in the mailing list
@@ -244,6 +246,10 @@ Include as much detail as possible so that people can understand the "how" of
244
246
the system. The goal here is to make this feel real for users without getting
245
247
bogged down.
246
248
-->
249
+
As a contributor, I have to remember to use `master` when working with repositories that
250
+
haven't yet switched.
251
+
Switching k/k to `main` will reduce the burden slightly.
252
+
247
253
248
254
#### Story 1
249
255
@@ -280,6 +286,13 @@ change are understandable. This may include API specs (though not always
280
286
required) or even code snippets. If there's any ambiguity about HOW your
281
287
proposal will be implemented, this is the place to discuss them.
282
288
-->
289
+
#### Survey Questions
290
+
291
+
The survey we will send out to gether information from the downstream consumer will have the following questions:
292
+
293
+
1. On which companies behalf do you submit the response?
294
+
2. Would a kubernetes/kubernetes branch rename affect your downstream workflow? If yes, how?
295
+
3. How much time would you need in advance before the migration happens?
283
296
284
297
### Test Plan
285
298
@@ -455,6 +468,10 @@ feature, can it break the existing applications?).
455
468
NOTE: Also set `disable-supported` to `true` or `false` in `kep.yaml`.
456
469
-->
457
470
471
+
Once we rename the branch from `master` to `main` GitHub offers the follow redirections.
472
+
We don't have plans to switch back to the original name once that is renamed, and issues, if that appears,
473
+
will be handled as an exception and as high priority.
474
+
458
475
###### What happens if we reenable the feature if it was previously rolled back?
459
476
460
477
###### Are there any tests for feature enablement/disablement?
0 commit comments