Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.72 KB

CONTRIBUTING.md

File metadata and controls

42 lines (32 loc) · 1.72 KB

How to Contribute to Rundeck

If you have a patch or pull request for us, thank you!

The more of these guidelines you can follow, the easier (and faster) it is for us to evaluate your code and incorporate it into the development branch.

(Borrowing from ThinkUp's Pull Request Checklist):

  1. Make sure you can perform a full build and that the tests all pass. (See Building and Testing)
  2. Please add unit tests to demonstrate that your submission fixes an existing bug, or performs as intended.
  3. Rebase your branch on the current state of the master branch. Use git rebase master. This means you might have to deal with conflicts.
  4. Be descriptive in your commit messages: explain the purpose of all changes. You can modify commit messages by doing git commit --amend (for the previous change), or git rebase -i for earlier changes.

Once your branch is cleaned up, please submit the Pull request against the master branch.

Thanks for your help!

A typical workflow:

# get up to date with origin/master and create a branch
git checkout master
git pull
git checkout -b newbranch
# now make your commits.  
$EDITOR somefile
git commit -m "my change"
# If you are now out of date with master, update your master:
git checkout master && git pull
# now go back to your branch and rebase on top of master
git checkout - # "-" will checkout previous branch
git rebase master
# resolve any conflicts, and possibly do `git rebase --continue` to finish rebasing
# now push your branch to your fork, and submit a pull request
git push myfork newbranch