Skip to content

Latest commit

 

History

History
167 lines (115 loc) · 9.47 KB

CONTRIBUTING.md

File metadata and controls

167 lines (115 loc) · 9.47 KB

Contributing to Volentix

Thank you for wanting to help improve the Volentix community! We know that you're anxious to get started, but there are a few things that we need to agree on before getting started.

Mad props to the Atom contribution guide of which much of this was taken.

Table of Contents

Code of Conduct

I don't want to read this whole thing, I just have a question!!!

What should I know before I get started?

How Can I Contribute?

Styleguides

Code of conduct

This project and everyone participating in it is governed by the Volentix Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to abuse@volentixlabs.com.

I don't want to read this whole thing I just have a question!!!

Note: Please don't file an issue to ask a question. You'll get faster results by using the resources below.

The best way to get answers to your question is through Telegram. We have a few channels:

  • Volentix for anything Volentix related
  • Venue specifically for Venue

There will also be a developer-centric channel coming soon.

What should I know before I get started?

Volentix and Packages

At the moment the set of Volentix repositories is fairly small, but this will grow as more projects are added.

How can I contribute

Reporting bugs

Before Submitting A Bug Report

  • Perform a cursory search to see if the problem has already been reported. If it has and the issue is still open, add a comment to the existing issue instead of opening a new one.

This section guides you through submitting a bug report for Volentix. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.

Before creating bug reports, please check this list as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible. Fill out the required template, the information it asks for helps us resolve issues faster.

How Do I Submit A (Good) Bug Report?

Bugs are tracked as GitHub issues. After you've determined which repository your bug is related to, create an issue on that repository and provide the following information by filling in the template.

Explain the problem and include additional details to help maintainers reproduce the problem:

  • Use a clear and descriptive title for the issue to identify the problem.
  • Describe the exact steps which reproduce the problem in as many details as possible.
  • Provide specific examples to demonstrate the steps. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use Markdown code blocks.
  • Describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior.
  • Explain which behavior you expected to see instead and why.
  • Include screenshots and animated GIFs which show you following the described steps and clearly demonstrate the problem. If you use the keyboard while following the steps, record the GIF with the Keybinding Resolver shown. You can use this tool to record GIFs on macOS and Windows, and this tool or this tool on Linux.
  • If the problem wasn't triggered by a specific action, describe what you were doing before the problem happened and share more information using the guidelines below.

Suggesting Enhancements

This section guides you through submitting an enhancement suggestion for Volentix, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions.

Before creating enhancement suggestions, please check this list as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please include as many details as possible. Fill in the template, including the steps that you imagine you would take if the feature you're requesting existed.

Before Submitting An Enhancement Suggestion

  • Perform a cursory search to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.

How Do I Submit A (Good) Enhancement Suggestion?

Enhancement suggestions are tracked as GitHub issues. After you've determined which repository your enhancement suggestion is related to, create an issue on that repository and provide the following information:

  • Use a clear and descriptive title for the issue to identify the suggestion.
  • Provide a step-by-step description of the suggested enhancement in as many details as possible.
  • Provide specific examples to demonstrate the steps. Include copy/pasteable snippets which you use in those examples, as Markdown code blocks.
  • Describe the current behavior and explain which behavior you expected to see instead and why.
  • Include screenshots and animated GIFs which help you demonstrate the steps or point out the part of Atom which the suggestion is related to. You can use this tool to record GIFs on macOS and Windows, and this tool or this tool on Linux.
  • Specify the name and version of the browser you're using.

Your First Code Contribution

We follow a standard Github-style fork / code review process:

  1. Find or create a bug or enhancement
  2. Fork the repository
  3. Create a branch for the issue
  4. Make any changes needed
  5. Create and submit a pull request
  6. Wait for a maintainer to perform a code review
  7. Wait for a committer to approve and commit the pull request.

Feel happy about improving the Volentix community!

Pull Requests

  • Clearly describe what the pull request does, what are the beneifts, and drawabacks, if any.
  • Describe what testing you did to ensure there were no regressions.
  • Include screenshots and animated GIFs in your pull request whenever possible.
  • Follow the JavaScript & Vue styleguides, if appropriate
  • Document new code based on the Documentation Styleguide
  • End all files with a newline

Styleguides

Git Commit Messages

  • Use the present tense ("Add feature" not "Added feature")
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • Limit the first line to 72 characters or less
  • Reference issues and pull requests liberally after the first line

JavaScript Vue Styleguide

We use Prettier to format code before it is commited to the repository. At the moment the plugins to automatically run this seems to be broken, so contributors are encouraged to run eslint and Prettier manually.

ESLint modules:

'eslint:recommended',
'plugin:vue/recommended',
'plugin:prettier/recommended'

VS Code users are recommended to use the Visual Studio Code Market Place: Prettier - Code formatter with these configuration settings:

{
  "standard.enable": false,
  "eslint.autoFixOnSave": true,
  "eslint.validate": [ "javascript", { "language": "vue", "autoFix": true } ],
  "eslint.run": "onType"
}

Documentation Styleguide