Skip to content

Latest commit

 

History

History
230 lines (161 loc) · 14.2 KB

conytibuting.md

File metadata and controls

230 lines (161 loc) · 14.2 KB

Contributing to Space Ring Things

The following is a set of guidelines for contributing to Space Ring Things - Scaleable Multiplayer Games (SRT) and its repositories, which are hosted in the redhat-gamedev on GitHub. These are mostly guidelines, so use your best judgment, and feel free to propose changes to this document in a pull request.

Table Of Contents

Code of Conduct

What should I know before I get started?

  • [What is SRT?][#what-is-srt)

How Can I Contribute?

Code of Conduct

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

What should I know before I get started?

What is SRT?

SRT is a multiplayer space game developed by Red Hat's Gaming Community of Practice (COP). For more information on the history of the game and design choices check out the [Game Design README(https://github.com/redhat-gamedev/srt-multiplayer-game-design/blob/master/README.md)

It is important to note that SRT resides in the following repositories:

How Can I Contribute?

Reporting Bugs

This section guides you through submitting a bug report for SRT. 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.

Note: If you find a Closed issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.

Before Submitting A Bug Report

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. amy@stable srt-multiplayer-game-design % nano contributing.md amy@stable srt-multiplayer-game-design % nano contributing.md amy@stable srt-multiplayer-game-design % git add . amy@stable srt-multiplayer-game-design % git status On branch contribution Your branch is up to date with 'origin/contribution'.

Changes to be committed: (use "git restore --staged ..." to unstage) new file: contributing.md

amy@stable srt-multiplayer-game-design % git commit [contribution 27d38bd] Create contributing.md 1 file changed, 130 insertions(+) create mode 100644 contributing.md amy@stable srt-multiplayer-game-design % git push Enter passphrase for key '/Users/amy/.ssh/id_rsa': ERROR: Permission to spotzz/srt-multiplayer-game-design.git denied to spotz. fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. amy@stable srt-multiplayer-game-design % cat contributing.md

Contributing to Space Ring Things

The following is a set of guidelines for contributing to Space Ring Things - Scaleable Multiplayer Games (SRT) and its repositories, which are hosted in the redhat-gamedev on GitHub. These are mostly guidelines, so use your best judgment, and feel free to propose changes to this document in a pull request.

Table Of Contents

Code of Conduct

What should I know before I get started?

  • [What is SRT?][#what-is-srt)

How Can I Contribute?

Code of Conduct

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

What should I know before I get started?

What is SRT?

SRT is a multiplayer space game developed by Red Hat's Gaming Community of Practice (COP). For more information on the history of the game and design choices check out the [Game Design README(https://github.com/redhat-gamedev/srt-multiplayer-game-design/blob/master/README.md)

It is important to note that SRT resides in the following repositories:

How Can I Contribute?

Reporting Bugs

This section guides you through submitting a bug report for SRT. 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.

Note: If you find a Closed issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.

Before Submitting A Bug Report

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.
  • Explain what behavior you expected to see instead and why.
  • Include screenshots which show you following the described steps and clearly demonstrate the problem.

Provide more context by answering these questions:

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

Suggesting Enhancements

This section guides you through submitting an enhancement suggestion for SRT, 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

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.
  • Explain why this enhancement would be useful to most SRT users.

Your First Code Contribution

Unsure where to begin contributing to SRT? You can start by looking through these beginner and help-wanted issues:

  • [Beginner issues][beginner] - issues which should only require a few lines of code, and a test or two.
  • [Help wanted issues][help-wanted] - issues which should be a bit more involved than beginner issues.

Once you have an issue to work on you're ready to get started. The following workflow is based on the GitHub Quickstart documentation.

Workflow:

You can also use the CLI to follow the workflow.

Pull Requests

The process described here has several goals:

  • Maintain SRT's quality
  • Fix problems that are important to users
  • Engage the community in working toward the best possible SRT
  • Enable a sustainable system for SRT's maintainers to review contributions

Please follow these steps to have your contribution considered by the maintainers:

  1. Follow all instructions in the template
  2. After you submit your pull request, verify that all status checks are passing
    What if the status checks are failing?If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.

While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.

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