Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CONTRIBUTING to update instructions after quickstart branches … #643

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ you do not respond within 2 weeks (bear in mind you can always open a new PR if
Also, please remember that we do receive a fairly large amount of PRs and also have code to write ourselves, so we may
not be able to respond to your PR immediately.

WARNING: Please send pull requests to the branch `main`. The pull requests are not supposed to be sent to any other branch (especially not to the `latest` branch, which is always overwritten from the
content of the `main` branch during every release).
WARNING: Please send pull requests to the branch `main`. The pull requests are not supposed to be sent to any other branch.

### Finding something to work on

Expand Down Expand Up @@ -59,13 +58,19 @@ The tests should be written in its simplest form so that they can be maintained

Make sure the quickstart is properly documented from a `README.md` file that must be located at the root of the quickstart.

### Picking correct branch for your PR
### Compatibility with server, client and adapter versions

Quickstarts are organized into the following branches:
* `main` contains the latest state of the development on par with latest Keycloak.
This is destination for your PR.
* `latest` is the branch that corresponds to the latest _released_ version of Keycloak.
You should *not* open PRs to this branch unless there is proper justification.
We accept the pull requests sent to the `main` branch as stated above. The `main` branch has reference to the last released version
of Keycloak server, Keycloak client libraries and adapters (Node.JS adapter, Javascript adapter and SAML adapter). If your quickstart
works only with `nightly` version of the server or client libraries (typically when you are implementing quickstart for some very new feature,
which was just added in the `main` branch of server/client, but is not yet released), then it is still possible to implement your quickstart and
send the PR. In this case:
* Please mark the PR as draft PR
* Add the description in the PR about the fact that your PR works only with latest codebase, but not yet with released version of server/client/adapter.
Your quickstarts PR might be possibly accepted once the particular server/client/adapter version is released.

During testing your quickstart, you may need to update the particular version to SNAPSHOT (for example updating `keycloak.version` or `keycloak.client.version`
in the root [pom.xml](pom.xml) file), but please do that just during your own testing. Make sure to not update the version to SNAPSHOT in the final version of your PR.

### Submitting your PR

Expand Down
2 changes: 1 addition & 1 deletion pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
Please read https://github.com/keycloak/keycloak/blob/main/CONTRIBUTING.md and follow these guidelines when contributing to Keycloak.

Please send pull requests to the `main` branch. Not to the `latest` branch.
Please send pull requests to the `main` branch. Not to any other branch.
-->
Loading