Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Latest commit

 

History

History
69 lines (56 loc) · 5.29 KB

CONTRIBUTING.md

File metadata and controls

69 lines (56 loc) · 5.29 KB

Overview

Thank you for considering to contribute to the SVM open source project. We welcome contributions large and small and we actively accept contributions.

  • SVM is part of The Spacemesh open source project, and is MIT licensed free open source software.
  • Please make sure to scan the open issues.
  • Search the closed ones before reporting things, and help us with the open ones.
  • Make sure that you are able to contribute to MIT licensed free open software (no legal issues please).
  • Introduce yourself, ask questions about issues or talk about things in our Gitter Gev channel.
  • We actively welcome major contributors to the Spacemesh core dev team.
  • Have fun hacking away our blockchain future together with us!

Getting Started

Contributors Compensation

  • We believe in compensating contributors and collaborators for their open source contributions.
  • We are experimenting with bounties and we plan to announce additional compensation plans in the near future.
  • We are using gitcoin for compensating contributors with Ethereum cryptocoins for some open issues.
  • Browse our open bounties here.

Working on an existing issue

  • Make sure that the issue is labeled Help Wanted before starting to work on it.
  • Add a comment in the issue that you are starting to work on it.
  • Ask for any information that you feel is missing from the issue for you to be able to work on it.
  • Clone branch develop and not master - we follow gitflow.
  • Create a new PR (Pull Request) from your cloned and reference the issue number in it.
  • Submit your PR when you believe your code is ready for code review.
  • Follow up on code review comments by one of the project maintainers on your Pull Request (PR)
  • You may add your name and email to AUTHORS when submitting your Pull Request.

Creating a new issue

  • Scan both open and closed issues and verify that your new feature idea, improvement proposal or bug report is not already addressed in another issue.
  • Before starting to work on a large contribution please chat with the core dev team on our Gitter channel to get some initial feedback prior to doing lots of work.
  • If your feature idea is already discussed in an open issue then join the conversation on the issue and suggest your proposed design or approach. Coordinate with others who actively work on this issue.
  • If an existing closed or open issue not found then create a new repo issue. Describe your idea for new feature or for an improvement of an existing feature and the design of the code you'd like to contribute.
  • Wait for feedback from one of the maintainers before starting to work on the feature or the bug fix. We provide feedback on all issue comments in up to 24 hours.

Code Guidelines

Please follow these guidelines for your PR to be reviewed and be considered for merging into the project.

  1. Provide at least one unit test for each function and method.
  2. Provide at least one integration test for each feature with a flow which involves more than one function call. Your tests should reflect the main ways that your code should be used.
  3. Use rustfmt
  4. Make sure that all CI tasks pass.

Working on a funded issue

Step 1 - Discover 🌄

  • Browse the open funded issues in our GitHub repo, or on our gitcoin.io funded issues page.
  • Skip issues that another contributor is already actively working on.
  • Find a funded issue you'd like to be working on.
  • Ask any questions you may have about the work involved in the issue GitHub page comments section.
  • Click the Start Work button on the gitcoin.io issue page when you are ready to start working on the issue.

Step 2 - Develop 💻

  • Follow the working on an existing issue guidelines and the Code Guidelines outlined on this page.
  • Communicate with the maintainers in the issue comments area.
  • Be nice! Please tell us if you decide to abandon an issue you have claimed via an issue comment so other people can start working on it.
  • As you work on the issue, please update us on your progress using issue comments.
  • If you claim an issue and become unresponsive for more than 7 days then we might encourage other contributors to claim it.

Step 3 - Get paid 💰

  • When ready, submit your PR for review and go through the code review process with one of our maintainers.
  • Expect a review process that ensures that you have followed our code guidelines at that your design and implementation are solid. You are expected to revision your code based on reviewers comments.
  • You should receive your bounty as soon as your PR is approved and merged by one of our maintainers.

Please review our funded issues program legal notes.