Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 5 KB

CONTRIBUTING.md

File metadata and controls

60 lines (46 loc) · 5 KB

Contributing to sonar-cnes-cxx-plugin

First off, thanks for taking the time to contribute! The following is a set of guidelines for contributing to sonar-cnes-cxx-plugin, which are hosted in the Lequal Organization on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.

Table Of Contents

Code of Conduct

How Can I Contribute? 

Git Commit Messages

Code of Conduct

This project and everyone participating in it is governed by the Lequal Code of Conduct. By participating, you are expected to uphold this code.

How Can I Contribute?

Reporting Bugs

Before creating bug reports, please check if the problem has already been reported.

How Do I Submit A (Good) Bug Report?

Bugs are tracked as GitHub issues. Provide information by filling 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. When listing steps, don't just say what you did, but explain how you did it.
  • Provide specific examples to demonstrate the steps. Include links to files or GitHub projects, which you use in those examples.
  • Explain which behavior you expected and describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior.
  • Include screenshots and animated GIFs which show you following the described steps and clearly demonstrate the problem. You can use this tool to record GIFs on macOS and Windows, and this tool or this tool on Linux.
  • If you're reporting that the plugin crashed, include a crash report with a stack trace from the operating system.

Provide more context by answering these questions:

  • Did the problem start happening recently (e.g. after updating to a new version of the plugin or SonarQube) or was this always a problem?
  • If the problem started happening recently, can you reproduce the problem in an older version? What's the most recent version in which the problem doesn't happen? You can download older versions from the releases page.
  • Can you reliably reproduce the issue? If not, provide details about how often the problem happens and under which conditions it normally happens.

Include details about your configuration and environment:

  • Which SonarQube version are you using? You can get the exact version at the bottom of your SonarQube instance.

Suggesting Enhancements

Before creating enhancement suggestions, please check if the problem has already been suggested.

How Do I Submit A (Good) Enhancement Suggestion?

Enhancement suggestions are tracked as GitHub issues. To submit en enhancement suggestion, create an issue 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.* Explain why this enhancement would be useful* Specify which version you're using.* Specify the SonarQube version you're using. The SonarQube version is mentionned at the bottom of the web page.

Pull Requests

  • Fill in the required template
  • Do not include issue numbers in the PR title
  • Include screenshots and animated GIFs in your pull request whenever possible.
  • Follow the Java 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
  • When only changing documentation, include [ci skip] in the commit description