Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Latest commit

 

History

History
87 lines (56 loc) · 2.52 KB

File metadata and controls

87 lines (56 loc) · 2.52 KB

Contributing to the Java Chaincode Bootstrap project

These are the guidelines we try to follow while working on this project. We welcome contributions!

Got a Question or Problem?

We are at an early stage of development however if you have questions about this project or how to use the starter kit please get in touch using our Gitter room.

Found a Bug?

If you find a bug, you can help us by reporting the issue:

  • If there is already an issue open for the problem, any additional information you can provide would be really useful.

  • If there is not already an issue open, please create one and include as much detail as possible to help us track down the problem.

Even better, you can submit a Pull Request with a fix!

Our Development Process

We use GitHub to host code, to track issues and feature requests, as well as accept pull requests.

We use our own forks and Github Flow to deliver changes to the code:

  1. Fork the repo and create your branch from master.
  2. If you've added code that should be tested, add tests.
  3. If you've added any new features or made breaking changes, update the documentation.
  4. Ensure all the tests pass.
  5. Include a descriptive message and the Developer Certificate of Origin (DCO) sign-off on all commit messages.
  6. Issue a pull request!

Coding Style

  • 4 spaces for indentation rather than tabs.
  • Please to try to be consistent with the rest of the code and conform to the checkstyle rules.

Git cheatsheet

Configure your identity:

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

Clone your forked repository:

git clone <forked_repository>

Add original repository as the upstream remote:

git remote add upstream <original_repository>

Make your changes in a new git branch:

git fetch upstream master
git checkout -b my-fix-branch upstream/master

Add changes for committing:

git add .

Commit your changes including the DCO sign-off:

git commit -s

Push your branch to GitHub:

git push origin my-fix-branch

Git resources