From f7dbb9db5a5ceba45188ed0818f5f7cfd1659f14 Mon Sep 17 00:00:00 2001 From: Bhanu Reddy Date: Mon, 20 Jan 2025 21:13:29 +0530 Subject: [PATCH] Added Issue template & PR templates (#35) --- .github/ISSUE_TEMPLATE/bug_report.yml | 76 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++ .github/ISSUE_TEMPLATE/question.md | 8 +++ .github/PULL_REQUEST_TEMPLATE.md | 5 ++ 4 files changed, 109 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..79a78b1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,76 @@ +--- +name: "🐛 Bug Report" +description: Create a report to help us improve +labels: [bug] +body: + - type: textarea + id: description + attributes: + label: Describe the bug + description: What is the problem? A clear and concise description of the bug. + validations: + required: true + + - type: textarea + id: current + attributes: + label: Current behavior + description: | + Please include full errors, uncaught exceptions, screenshots, and relevant logs. + Using environment variable JFROG_CLI_LOG_LEVEL="DEBUG" upon running the command will provide more log information. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Reproduction steps + description: | + Provide steps to reproduce the behavior. + validations: + required: false + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: | + What did you expect to happen? + validations: + required: false + + - type: input + id: cli-core-version + attributes: + label: JFrog CLI-Core version + validations: + required: true + + - type: input + id: cli-artifactory-version + attributes: + label: JFrog CLI-Artifactory version + validations: + required: true + + - type: input + id: cli-version + attributes: + label: JFrog CLI version (if applicable) + description: using "jf --version" + validations: + required: false + + - type: input + id: os-version + attributes: + label: Operating system type and version + validations: + required: true + + - type: input + id: rt-version + attributes: + label: JFrog Artifactory version + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..461ca28 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: ⭐️ Feature request +about: Suggest an idea for this project +title: '' +labels: feature request +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like to see** +A clear and concise description of the new feature. + +**Describe alternatives you've considered** +If applicable, a clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..960c7f8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,8 @@ +--- +name: ❓ Question +about: Ask a question +title: '' +labels: question +assignees: '' + +--- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..9dea2d3 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,5 @@ +- [ ] All [tests](https://github.com/jfrog/jfrog-cli-core#tests) passed. If this feature is not already covered by the tests, I added new tests. +- [ ] All [static analysis checks](https://github.com/jfrog/jfrog-cli-core/actions/workflows/analysis.yml) passed. +- [ ] This pull request is on the dev branch. +- [ ] I used gofmt for formatting the code before submitting the pull request. +-----