Skip to content

Commit

Permalink
Merge pull request #32 from fastruby/OSS-64/add-templates
Browse files Browse the repository at this point in the history
[OSS-64] Modify templates for bug report, feature request and pull request
  • Loading branch information
kindoflew authored Sep 1, 2022
2 parents 0e536ed + f697ae0 commit 7ddafca
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 81 deletions.
65 changes: 22 additions & 43 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,32 @@ assignees: ''

---

**IMPORTANT: please make sure you ask yourself all intro questions and fill all sections of the template.**
<!--- Before creating a bug report, please, answer the following questions -->
<!--- Did you check the documentation for answers? -->
<!--- Did you make sure that this bug has not already been reported? -->

**Before we start...:**
## Expected Behavior
<!--- Tell us what should happen -->
<!--- For example: When I [do X], it should [produce Y] -->

- [ ] I checked the documentation and found no answer
- [ ] I checked to make sure that this issue has not already been filed
- [ ] I'm reporting the issue to the correct repository (for multi-repository projects)
## Actual Behavior
<!--- Tell us what happens instead -->
<!--- For example: When I [did X], it [produced Y] -->

## Possible Fix
<!--- Optionally suggest a fix or work around -->

**Branch/Commit:**
## To Reproduce
<!--- Optionally provide a link to a live example -->

Inform what branch/commit of rails_upgrader you are using.
<!--- Otherwise, please provide a set of reproduction steps -->
1.
2.
3.
4.

**Expected behavior:**
## Additional Information
<!--- Include any relevant details about your environment (branch, browser, OS) -->
<!--- and the bug (screenshots, logs, etc) -->

Please include a detailed description of the behavior you were expecting when you encountered this issue.

**Actual behavior:**

Please include a detailed description of the actual behavior of the application.

**Steps to reproduce:**

How do I achieve this behavior? Use the following format to provide a step-by-step guide:

1. Step 1: ...
2. Step 2: ...

**Context and environment:**

Provide any relevant information about your setup

1. Version of the software the issue is being opened for.
2. Operating System
3. Operating System version
4. Ruby version

_Delete any information that is not relevant._

If you are unable to reproduce the bug, add the **Non-Reproducible** tag and describe the steps you followed leading to the bug to the best of your recollection.

**Screenshots and Videos**

If the issue has an effect in the frontend, include any relevant screenshots and videos here.

**Logs**

Include relevant log snippets or files here.

**I will abide by the [code of conduct] (CODE_OF_CONDUCT.md)**
**I will abide by the [code of conduct](CODE_OF_CONDUCT.md)**
45 changes: 11 additions & 34 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,18 @@ assignees: ''

---

**IMPORTANT: please make sure you ask yourself all intro questions and fill all sections of the template.**
<!--- Before creating a feature request, please, answer the following questions -->
<!--- Did you check the documentation for this feature? -->
<!--- Did you make sure that this feature has not already been requested? -->

**Before we start...:**
## Description
<!--- Provide a description of the change or addition you are proposing -->

- [ ] I checked the documentation and didn't find this feature
- [ ] I checked to make sure that this feature has not already been requested
## Possible Implementation
<!--- Optionally suggest an idea to implement or a workaround to fix the issue -->

## Resources:
<!--- If you have resources related to the implementation or research for this feature, add them here. -->
<!--- If possible, include any mockup ideas related to the requested feature. -->

**Branch/Commit:**

Inform what branch/commit/version of rails_upgrader you are using.

**Describe the feature:**

Please include a detailed description of the feature you are requesting and any detail on it’s expected behavior.

> **As a \<role name\>**
> **I do \<something\>**
> **And then I do \<another action\>**
> **And I see \<some result\>**
**Problem:**

Please include a detailed description of the problem this feature would solve.

> **As a \<role name\>**
> **I want to \<do something\>**
> **So that I can achieve a \<goal\>**
**Mockups:**

Include any mockup idea related to the requested feature if it applies.

**Resources:**

If you have resources related to the implementation or research for this feature, add them here.

**I will abide by the [code of conduct] (CODE_OF_CONDUCT.md)**
**I will abide by the [code of conduct](CODE_OF_CONDUCT.md)**
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# main ([unreleased](https://github.com/fastruby/rails_upgrader/compare/v0.2.1...main))

* [CHORE: Added updated templates for bug fixes, feature requests and pull requests](https://github.com/fastruby/next_rails/pull/64) as per [this RFC](https://github.com/fastruby/RFCs/blob/main/2021-10-13-github-templates.md)
* [FEATURE: Add new param to show the migration at the terminal](https://github.com/fastruby/rails_upgrader/pull/8)
* [BUGFIX: fixed broken build](https://github.com/fastruby/rails_upgrader/pull/14)
* [CHORE: Add Travis CI Build Badge to README](https://github.com/fastruby/rails_upgrader/pull/18)
Expand Down
18 changes: 14 additions & 4 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
**IMPORTANT: Please read the README before submitting pull requests for this project. Additionally, if your PR closes any open GitHub issues, make sure you include _Closes #XXXX_ in your comment or use the option on the PR's sidebar to add related issues to auto-close the issue that your PR fixes.**
<!--- Please read the README before submitting pull requests for this project. -->

- [ ] Add an entry to `CHANGELOG.md` that links to this PR under the "main (unreleased)" heading.

**Description:**
## Description
<!--- Describe your changes in detail -->

Please include a summary of the change and which issue is fixed or which feature is introduced. If changes to the behavior are made, clearly describe what changes.
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

I will abide by the [code of conduct](CODE_OF_CONDUCT.md).
## How Has This Been Tested?
<!--- Include any relevant details about your testing environment and the steps you followed -->
<!--- For example: I am using [Safari|Firefox|Chrome] then I visit [the users path] -->

## Screenshots:
<!-- Add screenshots (applicable to any UI changes) -->

**I will abide by the [code of conduct](CODE_OF_CONDUCT.md)**

0 comments on commit 7ddafca

Please sign in to comment.