Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Latest commit

 

History

History
112 lines (74 loc) · 7.75 KB

File metadata and controls

112 lines (74 loc) · 7.75 KB

Contributing

Hi there! Interested in contributing to Augment? We’d love your help. Augment/react-native-module is an open source project, built one contribution at a time by users like you.

Important!

By contributing to this project, you:

  • Agree that you have authored 100% of the content
  • Agree that you have the necessary rights to the content
  • Agree that you have received the necessary permissions from your employer to make the contributions (if applicable)
  • Agree that the content you contribute may be provided under the Project license(s)
  • Agree that, if you did not author 100% of the content, the appropriate licenses and copyrights have been added along with any other necessary attribution.

Code of Conduct

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

Getting started

What does "contributing" mean?

Creating an issue is the simplest form of contributing to a project. But there are many ways to contribute, including the following:

  • Updating or correcting documentation
  • Feature requests
  • Bug reports
  • Pull Requests
  • Help evaluate open pull requests, by testing the changes locally and reviewing what's proposed.

Issues

Please only create issues for bug reports or feature requests. Issues discussing any other topics may be closed by the project's maintainers without further explanation.

Do not create issues about bumping dependencies unless a bug has been identified and you can demonstrate that it effects this library.

Help us to help you

Remember that we’re here to help, but not to make guesses about what you need help with:

  • Whatever bug or issue you're experiencing, assume that it will not be as obvious to the maintainers as it is to you.
  • Spell it out completely. Keep in mind that maintainers need to think about all potential use cases of a library. It's important that you explain how you're using a library so that maintainers can make that connection and solve the issue.

It can't be understated how frustrating and draining it can be to maintainers to have to ask clarifying questions on the most basic things, before it's even possible to start debugging. Please try to make the best use of everyone's time involved, including yourself, by providing this information up front.

Before creating an issue

Please try to determine if the issue is caused by an underlying library, and if so, create the issue there. Sometimes this is difficult to know. We only ask that you attempt to give a reasonable attempt to find out. Oftentimes the readme will have advice about where to go to create issues.

Try to follow these guidelines:

  • Avoid creating issues for implementation help - It's much better for discoverability, SEO, and semantics - to keep the issue tracker focused on bugs and feature requests - to ask implementation-related questions on [stackoverflow.com][so]
  • Investigate the issue - Search for existing issues (open or closed) that address the issue, and might have even resolved it already.
  • Check the readme - oftentimes you will find notes about creating issues, and where to go depending on the type of issue.
  • Create the issue in the appropriate repository.

Creating an issue

Please be as descriptive as possible when creating an issue. Give us the information we need to successfully answer your question or address your issue by answering the following in your issue:

  • use a clear and descriptive title for the issue to identify the problem.
  • description: (required) What is the bug you're experiencing? How are you using this library?
  • 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.
  • 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?
  • Explain which behavior you expected to see instead and why.
  • OS: (required) what operating system are you on?
  • version: (required) please note the version of the module are you using
  • error messages: (required) please paste any error messages into the issue, or a gist
  • extensions, plugins, helpers, etc (if applicable): please list any extensions you're using

Closing issues

The original poster or the maintainers may close an issue at any time. Typically, but not exclusively, issues are closed when:

  • The issue is resolved
  • The project's maintainers have determined the issue is out of scope
  • An issue is clearly a duplicate of another issue, in which case the duplicate issue will be linked.
  • A discussion has clearly run its course

Submitting a pull request

Pull requests generally:

  • The smaller the proposed change, the better. If you’d like to propose two unrelated changes, submit two pull requests.
  • The more information, the better. Make judicious use of the pull request body. Describe what changes were made, why you made them, and what impact they will have for users.
  • Pull requests are easy and fun. If this is your first pull request, it may help to understand GitHub Flow.

Find an open issue (especially those labeled help-wanted), and submit a proposed fix. If it's your first pull request, we promise we won't bite, and are glad to answer any questions. Make sure to follow these rules:

  • Fill in the required template
  • Do not include issue numbers in the PR title
  • End all files with a newline
  • Use the present tense ("Add feature" not "Added feature") on commit messages

Next steps

Tips for creating idiomatic issues

Spending just a little extra time to review best practices and brush up on your contributing skills will, at minimum, make your issue easier to read, easier to resolve, and more likely to be found by others who have the same or similar issue in the future. At best, it will open up doors and potential career opportunities by helping you be at your best.

The following resources were hand-picked to help you be the most effective contributor you can be:

At the very least, please try to:

  • Use backticks to wrap code. This ensures that it retains its formatting and isn't modified when it's rendered by GitHub, and makes the code more readable to others
  • When applicable, use syntax highlighting by adding the correct language name after the first "code fence"