Skip to content

Latest commit

 

History

History
94 lines (70 loc) · 3.56 KB

CONTRIBUTING.md

File metadata and controls

94 lines (70 loc) · 3.56 KB

Table of Contents

Contents

Contributing with code to c13n.io

Any input by the community is welcome, so we want to make the process of contributing as easy as possible. Your contributions may include any of the following:

  • Bug reports or proposals for new content
  • Fix submissions

We Develop on Github

We use github to host code, track issues, and review Pull Requests. The project's life cycle is taking place here.

We Use Github Flow model

We actively review and discuss pull requests.

The desired format & flow for this procedure is as follows:

  1. Fork the repo under your namespace (user or organisation). Then clone locally:
git clone github.com/<my_namespace>/c13n.io
  1. Create a branch from develop.
git checkout develop
git checkout -b <my_branch_name>
  1. Add your changes, by creating simple & understandable commits. Never include artifacts, media or binary files to your commits.
git add <file_1>, <file_2>, ...
git commit -m "Descriptive commit message"
git push origin <my_branch_name>
  1. Ensure that the project builds correctly and the webpage launches normally.

  2. Make the Pull Request. Don't forget to write a small description of the changes you are introducing.

  3. Stay active for the review phase, as fixes and/or tweaks may be required for your PR to be approved.

  4. Final Merge from the dev team.

Making good commits

These are the seven rules of a great Git commit messages:

  • Separate subject from body with a blank line
  • Limit the subject line to 50 characters (if possible)
  • Capitalize the subject line
  • Do not end the subject line with a period
  • Use the imperative mood in the subject line
  • Wrap the body at 72 characters
  • Use the body to explain what and why vs. how

Try to solve a single problem per each commit. If your description ends up too long, that’s an indication that you probably need to split up your commit.

Create commit or pull-request descriptions that are self-contained. This benefits both the maintainers and reviewers. Always use your real name and e-mail address for committing changes.

If the commit fixes a reported issue, refer to that bug entry by issue number.

Reporting Bugs

Report bugs using Github's issues

We use GitHub issues to track public bugs. Report a bug by opening a new issue.

Write bug reports with detail, background, and sample code

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)

License

This project is licensed under the MIT License.

When you submit code changes, your submissions are understood to be under the same license that covers the project. Feel free to contact the maintainers if that's a concern.