Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.26 KB

CONTRIBUTING.md

File metadata and controls

44 lines (33 loc) · 2.26 KB

How to contribute

We like to encourage you to contribute to the repository. This should be as easy as possible for you but there are a few things to consider when contributing. The following guidelines for contribution should be followed if you want to submit a pull request.

Contributor License Agreement

Please also sign the Codebox contributor license agreement so we can accept your pull requests. It is easy, you can do it using your CodeboxIO account.

How to prepare

  • You need a GitHub account
  • Submit an issue ticket for your issue if the is no one yet.
    • Describe the issue and include steps to reproduce if it's a bug.
    • Ensure to mention the earliest version that you know is affected.
  • If you are able and want to fix this, fork the repository on GitHub

Make Changes

  • In your forked repository, create a topic branch for your upcoming patch. (e.g. feature--autoplay or bugfix--ios-crash)
    • Usually this is based on the master branch.
    • Create a branch based on master; git branch fix/master/my_contribution master then checkout the new branch with git checkout fix/master/my_contribution. Please avoid working directly on the master branch.
  • Make sure you stick to the coding style that is used already.
  • Make commits of logical units and describe them properly.
  • Syntax:
    • Four spaces, no tabs.
    • No trailing whitespace. Blank lines should not have any space.
    • a = b and not a=b.
    • Follow the conventions you see used in the source already.

Submit Changes

  • Push your changes to a topic branch in your fork of the repository.
  • Open a pull request to the original repository and choose the right original branch you want to patch.
  • If not done in commit messages (which you really should do) please reference and update your issue with the code changes. But please do not close the issue yourself.
  • Even if you have write access to the repository, do not directly push or merge pull-requests. Let another team member review your pull request and approve.

Additional Resources