We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
We use github to host code, to track issues and feature requests, as well as to accept pull requests.
We use Github Flow, So all code changes happen through pull requests
Pull requests are the best way to propose changes to the codebase (we use Github Flow). We actively welcome your pull requests:
- Fork the repo and create your branch from
master
or for Elsa 2.0feature/elsa-2.0
. - Issue that pull request!
To avoid conflicts, the fork should be regularly kept up to date.
First, the fork must be checked out locally git clone https://github.com/elsa-workflows/elsa-core.git
. If this is already done, you only need to go to the project directory of the fork.
When you sync the local fork for the first time, you need to add the upstream from Elsa.
git remote add upstream https://github.com/elsa-workflows/elsa-core
With the command git remote -v
all existing upstreams can be read.
Before the changes can be applied, the changes must be fetched.
git fetch upstream
Afterwards the changes will be merged with your brach.
git merge upstream/master
Now all the changes from the upstream repository are in the local fork. Lastly, push the local changes to the remote repository on Github.
git add .
git commit -m "fork synced with upstream"
# mandatory
git push origin master
In short, when you submit code changes, your submissions are understood to be under the same New BSD License that covers the project. Feel free to contact the maintainers if that's a concern.
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
People love thorough bug reports. I'm not even kidding.
As a default, I am applying Microsoft's Coding Conventions for .NET.
By contributing, you agree that your contributions will be licensed under its New BSD License.
This document was adapted from the following Gist