- Ways to contribute
- Browse our issues
- Build from source
- Create a pull request
- Contribution checklist
- Commit message conventions
- Review process
We would love you to contribute to this project. You can do so in various ways.
If you are unsure about anything, have a question, or just want to talk about the project, please join our forum or Slack channel.
Found a bug in the code or have a feature that you would like to see in the future? Search our open issues if we have it on the radar already or create a new issue otherwise.
Please note, that our main goal after the fork is to provide minimal maintenance and ensure stability. We appreciate feature requests, but might decide not to merge them into the application in the first months.
Try to apply our best practices for creating issues:
- Only Raise an issue if your request requires a code change in Operaton
- If you have an understanding question or need help building your solution, check out our user forum.
- Create a high-quality issue:
- Give enough context so that a person who doesn't know your project can understand your request
- Be concise, only add what's needed to understand the core of the request
- If you raise a bug report, describe the steps to reproduce the problem
- Specify your environment (e.g. Operaton version, Operaton modules you use, ...)
- Provide code. For a bug report, create a test that reproduces the problem. For feature requests, create mockup code that shows how the feature might look like. Fork our unit test Github template to get started quickly.
- Your time is valuable, so is ours. Please respect that we might not be able to work on your request immediately. We will try to give you feedback as soon as possible. Please help us to understand your request fast by providing as much precise as possible.
You can contribute code that fixes bugs and/or implements features. Here is how it works:
- Select a ticket that you would like to implement. Have a look at our backlog if you need inspiration. Be aware that some of the issues need good knowledge of the surrounding code.
- Looking for some low hanging fruits? Check out the good first issues
- Tell us in the ticket comments that you want to work on your ticket. This is also the place where you can ask questions.
- Check your code changes against our contribution checklist
- Create a pull request. Note that you can already do this before you have finished your implementation if you would like feedback on your work in progress.
In this repository, we manage the issues for the following Operaton code repositories and projects:
We use labels to mark and group our issues for easier browsing. We define the following label prefixes:
idea
: A suggestion for a new featurebug
: Something isn't workingenhancement
: New feature or requestgood first issue
: Good for newcomershelp wanted
: Extra attention is neededquestion
: Further information is requesteddocumentation
: Improvements or additions to documentationrefactor
: Code refactoringbuild
: Changes related to the build system, including Maven configurations, GitHub Actions workflows, etc.dependencies
: Pull requests that update a dependency fileqa
: Tests, quality improvements and assurancebackport-c7
: Changes backported from Camunda 7backport-cib7
: Changes backported from CIB sevenduplicate
: This issue or pull request already existsinvalid
: This will not be worked onwontfix
: This will not be worked on
An entire repository can be built by running mvn clean install
in the root directory.
This will build all sub modules and execute unit tests.
Furthermore, you can restrict the build to just the module you are changing by running the same command in the corresponding directory.
Check the repository's or module's README for additional module-specific instructions.
The webapps
module requires NodeJS.
You can exclude building them by running mvn clean install -pl '!webapps,!webapps/assembly,!webapps/assembly-jakarta'
.
Integration tests (e.g. tests that run in an actual application server) are usually not part of the default Maven profiles. If you think they are relevant to your contribution, please ask us in the ticket, on the forum or in your pull request for how to run them. Smaller contributions usually do not need this.
In order to show us your code, you can create a pull request on Github. Do this when your contribution is ready for review, or if you have started with your implementation and want some feedback before you continue. It is always easier to help if we can see your work in progress.
A pull request can be submitted as follows:
- Fork the Operaton repository you are contributing to
- Commit and push your changes to a branch in your fork
- Submit a Pull Request to the Operaton repository. As the base branch (the one that you contribute to), select
master
. This should also be the default in the Github UI. - In the pull request description, reference the github issue that your pull request addresses.
Before submitting your pull request for code review, please go through the following checklist:
- Is your code formatted according to our code style guidelines?
- Java: Please check our Java Code Style Guidelines. You can also import our template and settings files into your IDE before you start coding.
- Javascript: Your code is automatically formatted whenever you commit.
- Is your code covered by unit tests?
- Ask us if you are not sure where to write the tests or what kind of tests you should write.
- Java: Please follow our testing best practices.
- Have a look at other tests in the same module for how it works.
- In rare cases, it is not feasible to write an automated test. Please ask us if you think that is the case for your contribution.
- Do your commits follow our commit message conventions?
We are following the Conventional Commits specification. The messages of all commits must conform to the style:
<type>(<scope>): <subject>
<body>
<footer>
Example:
feat(engine): Support BPEL
- implements execution for a really old standard
- BPEL models are mapped to internal ActivityBehavior classes
related to #123
Have a look at the commit history for real-life examples.
One of the following:
- feat (feature)
- fix (bug fix)
- docs (documentation)
- style (formatting, missing semicolons, …)
- refactor
- test (when adding missing tests)
- chore (maintain)
The scope is the module that is changed by the commit. E.g. engine
in the case of https://github.com/operaton/operaton/tree/master/engine.
Candidates:
- engine
- engine-rest
- webapps
- run
- spin
- juel
- tests
- springboot
- quarkus
- client
- plugin
A brief summary of the change. Use imperative form (e.g. implement instead of implemented). The entire subject line shall not exceed 70 characters.
A list of bullet points giving a high-level overview of the contribution, e.g. which strategy was used for implementing the feature. Use present tense here (e.g. implements instead of implemented). A line in the body shall not exceed 80 characters. For small changes, the body can be omitted.
Must be related to <ticket>
where ticket is the ticket number, e.g. CAM-1234. If the change is related to multiple
tickets, list them in a comma-separated list such as related to CAM-1234, CAM-4321
.
Optionally, you can reference the number of the GitHub PR from which the commit is merged. The message footer can then
look like related to <ticket>, closes #<pr_number>
such as related to CAM-1234, closes #567
.
We usually check for new community-submitted pull requests once a week. We will then assign a reviewer from our development team and that person will provide feedback as soon as possible.
Note that due to other responsibilities (our own implementation tasks, releases), feedback can sometimes be a bit delayed. Especially for larger contributions, it can take a bit until we have the time to assess your code properly.
During review we will provide you with feedback and help to get your contribution merge-ready. However, before requesting a review, please go through our contribution checklist.