# Contributing Guide ## Filing Bugs Bug reports may be filed as an issue on GitHub, with the label `kind/bug`. The label can be added by placing the [Prow](https://prow.svc.ci.openshift.org/command-help?repo=openshift%2Fsource-to-image) command `/kind bug` in your issue. A well-written bug report has the following format: ```markdown **Is this a feature request or bug?** /kind bug **What went wrong?** Enter a description of what went wrong. **Steps to reproduce:** 1. Step 1 2. Step 2 3. Step 3 **Expected results:** Enter what you expected to happen. **Actual results:** Enter what actually occurred, including command line output **Version:** s2i: Enter output of `s2i version` docker: Enter the output of `docker version` if you are using docker to build container images. **Additional info:** Add any relevant context here. ``` ## Submitting Feature Requests Feature requests are likewise submitted as GitHub issues, with the `kind/feature` label. The label can be added by placing the [Prow](https://prow.svc.ci.openshift.org/command-help?repo=openshift%2Fsource-to-image) command `/kind feature` in your issue. A well-written feature request has the following format: ```markdown **Is this a feature request or bug?** /kind feature **User Stories** As a developer using source-to-image I would like ... So that ... (you may add more than one story to provide further use cases to consider) **Additional info:** Add any relevant context or deeper description here. ``` ## Submitting a Pull Request You can contribute to source-to-image by submitting a pull request ("PR"). Any member of the OpenShift organization can review your PR and signal their approval with the `/lgtm` command. Only approvers listed in the [OWNERS](OWNERS) file may add the `approved` label to your PR. In order for PR to merge, it must have the following: 1. The `approved` label 2. The `lgtm` label 3. All tests passing in CI, which is managed by Prow. If you are not a member of the OpenShift GitHub organization, an OpenShift team member will need to add the `ok-to-test` label to your PR for our CI tests to run. ### Feature or Bugfix PRs Pull requests which implement a feature or fix a bug should consist of a single commit with the full code changes. Commit messages should have the following structure: ```text