From 0111ff61c1717564e8c7d5ab03e20644b3d3ed1f Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:07:09 +0530 Subject: [PATCH 1/9] issue & pull request template --- .github/ISSUE_TEMPLATE/issue_report.yml | 63 +++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue_report.yml diff --git a/.github/ISSUE_TEMPLATE/issue_report.yml b/.github/ISSUE_TEMPLATE/issue_report.yml new file mode 100644 index 00000000..d8d49ced --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_report.yml @@ -0,0 +1,63 @@ +name: Issue report +description: Create a report to help us improve +labels: ["issue"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this issue report! + - type: textarea + id: what-happened + attributes: + label: Describe the Issue + description: A clear and concise description of what the issue is. + placeholder: Tell us what you see! + validations: + required: true + - type: textarea + id: repro-steps + attributes: + label: Steps to reproduce the behavior + description: + placeholder: | + 1. Fetch a '...' + 2. Update the '....' + 3. See error + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: code-snippets + attributes: + label: Code snippets + description: If applicable, add code snippets to help explain your problem. + render: Ruby + validations: + required: false + - type: input + id: language-version + attributes: + label: Ruby version + placeholder: Ruby v2.6 + validations: + required: true + - type: input + id: lib-version + attributes: + label: Library version + placeholder: razorpay-ruby v3.0.1 + validations: + required: true + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the problem here. + validations: + required: false From 07467b056ff2bd4a9b63c8f890e19b4acf9be718 Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:09:02 +0530 Subject: [PATCH 2/9] added pull request template --- .github/ISSUE_TEMPLATE/pull_request_template.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/pull_request_template.md b/.github/ISSUE_TEMPLATE/pull_request_template.md new file mode 100644 index 00000000..f2e7e075 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/pull_request_template.md @@ -0,0 +1,9 @@ +## Description +- Description of chang + +## Detailed Changes + +## Additional Info +- Type of PR (bugfix, feature) +- Fixes (issue link) +- Screenshots (if any) From a2abb55b44ac20c505eba4c67bb964dcbb5eb08f Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:23:17 +0530 Subject: [PATCH 3/9] incorrect template path --- .github/ISSUE_TEMPLATE/pull_request_template.md | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/pull_request_template.md b/.github/ISSUE_TEMPLATE/pull_request_template.md deleted file mode 100644 index f2e7e075..00000000 --- a/.github/ISSUE_TEMPLATE/pull_request_template.md +++ /dev/null @@ -1,9 +0,0 @@ -## Description -- Description of chang - -## Detailed Changes - -## Additional Info -- Type of PR (bugfix, feature) -- Fixes (issue link) -- Screenshots (if any) From 00ec410a533c491d88eaa46526c556df293f410c Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:23:40 +0530 Subject: [PATCH 4/9] pull request template --- .github/pull_request_template.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..f2e7e075 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +## Description +- Description of chang + +## Detailed Changes + +## Additional Info +- Type of PR (bugfix, feature) +- Fixes (issue link) +- Screenshots (if any) From ed46cd63eb4cadd29bd655614a3a0862008e4584 Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:33:47 +0530 Subject: [PATCH 5/9] typo correction --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f2e7e075..799adaf3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,5 +1,5 @@ ## Description -- Description of chang +- Description of change ## Detailed Changes From 0be093298f7a7d474527fd3b44351645ca34a903 Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Tue, 27 Sep 2022 15:21:26 +0530 Subject: [PATCH 6/9] changed name and removed description --- .github/ISSUE_TEMPLATE/issue_report.yml | 27 ++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/issue_report.yml b/.github/ISSUE_TEMPLATE/issue_report.yml index d8d49ced..32c3ac7b 100644 --- a/.github/ISSUE_TEMPLATE/issue_report.yml +++ b/.github/ISSUE_TEMPLATE/issue_report.yml @@ -1,4 +1,4 @@ -name: Issue report +name: issue.md description: Create a report to help us improve labels: ["issue"] body: @@ -6,14 +6,6 @@ body: attributes: value: | Thanks for taking the time to fill out this issue report! - - type: textarea - id: what-happened - attributes: - label: Describe the Issue - description: A clear and concise description of what the issue is. - placeholder: Tell us what you see! - validations: - required: true - type: textarea id: repro-steps attributes: @@ -24,14 +16,21 @@ body: 2. Update the '....' 3. See error validations: - required: true + required: true - type: textarea id: expected-behavior attributes: label: Expected behavior description: A clear and concise description of what you expected to happen. validations: - required: true + required: true + - type: textarea + id: actual-behavior + attributes: + label: Actual behavior + description: A clear and concise description of what actually happen. + validations: + required: true - type: textarea id: code-snippets attributes: @@ -51,13 +50,13 @@ body: id: lib-version attributes: label: Library version - placeholder: razorpay-ruby v3.0.1 + placeholder: razorpay-ruby v2.0.0 validations: required: true - type: textarea id: additional-context attributes: - label: Additional context - description: Add any other context about the problem here. + label: Additional Information + description: Add any other information about the problem here. validations: required: false From c4708e46607e46ea84295b34aee6e7671e8ce05b Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Tue, 27 Sep 2022 15:22:42 +0530 Subject: [PATCH 7/9] added feature template --- .github/ISSUE_TEMPLATE/feature.yml | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..5e098461 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,41 @@ +name: feature.md +description: Submit a proposal for a new feature +title: '[Feature]: ' +labels: [':rocket: Feature Request'] +body: + - type: markdown + attributes: + value: | + ### Thank you for taking the time to suggest a new feature! + We kindly ask that you search to see if an issue [already exists](https://github.com/razorpay/razorpay-ruby/issues?q=is%3Aissue+sort%3Acreated-desc+) for your feature. + We are also happy to accept contributions from our users. + - type: textarea + id: description + attributes: + label: '🚀 Feature Proposal' + description: A clear and concise description of what the feature is. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Suggested Solution + description: Describe the solution you'd like. A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives + description: Describe alternatives you've considered. + A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: extra + attributes: + label: Additional Context + description: | + Add any other context about the problem here. + validations: + required: true From bf78946928c4e3bdbcf331fb91a14f9878845f76 Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Mon, 3 Oct 2022 09:58:49 +0530 Subject: [PATCH 8/9] Delete pull_request_template.md --- .github/pull_request_template.md | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 799adaf3..00000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,9 +0,0 @@ -## Description -- Description of change - -## Detailed Changes - -## Additional Info -- Type of PR (bugfix, feature) -- Fixes (issue link) -- Screenshots (if any) From 3f04588c8ceea51c60d5edad6c8192936a83b36b Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Mon, 3 Oct 2022 10:01:02 +0530 Subject: [PATCH 9/9] remove label description --- .github/ISSUE_TEMPLATE/feature.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 5e098461..8858490e 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -13,29 +13,27 @@ body: id: description attributes: label: '🚀 Feature Proposal' - description: A clear and concise description of what the feature is. + description: validations: required: true - type: textarea id: solution attributes: label: Suggested Solution - description: Describe the solution you'd like. A clear and concise description of what you want to happen. + description: validations: required: true - type: textarea id: alternatives attributes: label: Alternatives - description: Describe alternatives you've considered. - A clear and concise description of any alternative solutions or features you've considered. + description: validations: required: false - type: textarea id: extra attributes: - label: Additional Context - description: | - Add any other context about the problem here. + label: Additional Information + description: validations: required: true