Contribution Guide

How to contribute to a DigitalBits project

Your contributions to the DigitalBits network will help improve the world’s financial infrastructure, faster.

We want to make it as easy as possible to contribute changes that help the DigitalBits network grow and thrive. There are a few guidelines that we ask contributors to follow so that we can merge your changes quickly.

Getting Started

  • Make sure you have a GitHub account
  • Create a GitHub issue for your contribution, assuming one does not already exist.
    • Clearly describe the issue including steps to reproduce if it is a bug.
  • Fork the repository on GitHub

Finding things to work on

The first place to start is always looking over the current github issues for the project you are interested in contributing to. Issues marked with help wanted are usually pretty self contained and a good place to get started.

DigitalBits.io also uses these same github issues to keep track of what we are working on. If you see any issues that are assigned to a particular person or have the in progress label, that means someone is currently working on that issue.

Feel free to make your own issues if you think something needs to added or fixed.

Making Changes

  • Create a topic branch from where you want to base your work.
    • This is usually the master branch.
    • Please avoid working directly on the master branch.
  • Make sure you have added the necessary tests for your changes and make sure all tests pass.

Submitting Changes

  • Sign the Contributor License Agreement
  • All content, comments, and pull requests must follow the DigitalBits Community Guidelines.
  • Push your changes to a topic branch in your fork of the repository.
  • Submit a pull request to the repository for the project you’re working on in the DigitalBits organization.
  • Include a descriptive commit message.
  • Changes contributed via pull request should focus on a single issue at a time.
  • Rebase your local changes against the master branch. Resolve any conflicts that arise.

At this point you’re waiting on us. We like to at least comment on pull requests within three business days (typically, one business day). We may suggest some changes, improvements or alternatives.

Minor Changes

Documentation

For small changes to comments and documentation, it is not always necessary to create a new GitHub issue. In this case, it is appropriate to start the first line of a commit with ‘doc’ instead of an issue number.

Additional Resources

This document is inspired by:

https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md

https://github.com/thoughtbot/factory_girl_rails/blob/master/CONTRIBUTING.md

https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md


THE FUTURE OF LOYALTY STARTS HERE

Stay up to date on the latest happenings at DigitalBits. Get the latest news.