Skip to content

Commit

Permalink
Merge pull request #2316 from sbueringer/pr-backport-policy
Browse files Browse the repository at this point in the history
📖 Document backport policy
  • Loading branch information
k8s-ci-robot authored Sep 6, 2023
2 parents c8ca8b8 + 7ba8381 commit 37f8ab5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 4 deletions.
45 changes: 42 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,49 @@
# Contributing guidelines

## Sign the CLA
## Contributor License Agreements

Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests. Please see the CLA [guidelines](https://git.k8s.io/community/CLA.md) for more info
We'd love to accept your patches! Before we can take them, we have to jump a couple of legal hurdles.

### Contributing A Patch
Please fill out either the individual or corporate Contributor License Agreement (CLA). More information about the CLA
and instructions for signing it [can be found here](https://git.k8s.io/community/CLA.md).

***NOTE***: Only original source code from you and other people that have signed the CLA can be accepted into the
repository.

## Versioning

### Branches

CAPV has two types of branches: the *main* branch and *release-X* branches.

The *main* branch is where development happens. All the latest and
greatest code, including breaking changes, happens on main.

The *release-X* branches contain stable, backwards compatible code. On every
major or minor release, a new branch is created. It is from these
branches that minor and patch releases are tagged. In some cases, it may
be necessary to open PRs for bugfixes directly against stable branches, but
this should generally not be the case.

### Backporting a patch

We generally do not accept PRs directly against release branches, while we might accept backports of fixes/changes already
merged into the main branch. In most cases the cherry-pick bot can and should be used to automate opening a cherry-pick PR.

We generally allow backports of following changes to all supported branches:
- Bug fixes and security fixes
- Dependency bumps for CVEs (usually limited to CVE resolution; backports of non-CVE related version bumps are considered exceptions to be evaluated case by case)
- Changes required to support new Kubernetes versions, when possible.
- Changes to use the latest Go patch release. If the Go minor version of a supported branch goes out of support, we will consider on a case-by-case basis
to bump to a newer Go minor version (e.g. to pick up CVE fixes).
- Improvements to test and CI signal

In addition to that we allow backports at maintainers discretion. Please let us know if you would like us to consider backporting a specific PR.

In general, we support the two latest release branches. In addition, we will keep the CI coverage for older branches around so we're able to cut additional patch
releases to fix CVEs and critical bugs if needed.

## Contributing A Patch

1. Submit an issue describing your proposed change to the repo in question.
1. The [repo owners](OWNERS) will respond to your issue promptly.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ We also use the issue tracker to track features. If you have an idea for a featu
[mailint_list]: https://groups.google.com/forum/#!forum/kubernetes-sig-cluster-lifecycle
[meeting_notes]: https://docs.google.com/document/d/1jQrQiOW75uWraPk4b_LWtCTHwT7EZwrWWwMdxeWOEvk/edit?usp=sharing
[new_issue]: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/issues/new
[prow]: https://go.k8s.io/bot-commands
[prow]: https://prow.k8s.io/command-help?repo=kubernetes-sigs%2Fcluster-api-provider-vsphere
[slack]: https://kubernetes.slack.com/messages/CKFGK3SSD
[slack_info]: https://github.com/kubernetes/community/tree/master/communication#communication
[troubleshooting]: ./docs/troubleshooting.md
Expand Down

0 comments on commit 37f8ab5

Please sign in to comment.