commit: 267743a5187746e09c29d2aa818d58b1fe64b3b1 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Mon Jun 26 19:06:27 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Mon Jun 26 19:06:27 2023 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=267743a5
github: add issue templates Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .github/ISSUE_TEMPLATE/blank-issue.md | 4 +++ .github/ISSUE_TEMPLATE/bug-commits.yml | 53 +++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug.yml | 33 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature-request.md | 5 +++ .github/ISSUE_TEMPLATE/new-check.yml | 43 +++++++++++++++++++++++++ 6 files changed, 139 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/blank-issue.md b/.github/ISSUE_TEMPLATE/blank-issue.md new file mode 100644 index 00000000..38ba9463 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/blank-issue.md @@ -0,0 +1,4 @@ +--- +name: Blank Issue +about: Create an issue with a blank template. +--- diff --git a/.github/ISSUE_TEMPLATE/bug-commits.yml b/.github/ISSUE_TEMPLATE/bug-commits.yml new file mode 100644 index 00000000..5f682399 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-commits.yml @@ -0,0 +1,53 @@ +name: Bug in pkgcheck commits +description: Bug during pkgcheck scan --commits or pkgdev push. +title: '[Commits Bug]: ' +labels: ["bug"] + +body: + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true + - type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + - type: input + attributes: + label: master commit id + description: pkgcheck is using this commit as base of the commit range. + placeholder: "Output of `git rev-parse origin/master`" + validations: + required: true + - type: textarea + attributes: + label: HEAD link + description: Link to branch containing exact state of master (HEAD) during scan + placeholder: link + validations: + required: true + - type: input + attributes: + label: pkgcheck version + placeholder: "Output of `pkgcheck --version`" + validations: + required: true + - type: input + attributes: + label: pkgcore version + placeholder: "Output of `pkgcore --version`" + validations: + required: true + - type: textarea + attributes: + label: git remotes configuration + placeholder: "Output of `git remote -v`" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..33510eb7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,33 @@ +name: Bug in pkgcheck +description: Bug in pkgcheck, not commits scan +title: '[Bug]: ' +labels: ["bug"] + +body: + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true + - type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + - type: input + attributes: + label: pkgcheck version + placeholder: "Output of `pkgcheck --version`" + validations: + required: true + - type: input + attributes: + label: pkgcore version + placeholder: "Output of `pkgcore --version`" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..0086358d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 00000000..c285bebf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,5 @@ +--- +name: Feature Request +about: Request a feature for pkgcheck +labels: enhancement +--- diff --git a/.github/ISSUE_TEMPLATE/new-check.yml b/.github/ISSUE_TEMPLATE/new-check.yml new file mode 100644 index 00000000..847a382f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-check.yml @@ -0,0 +1,43 @@ +name: New check request +description: Suggest a new check for pkgcheck. +title: '[New Check]: ' +labels: ["check"] + +body: + - type: checkboxes + attributes: + label: Is there an existing such new check request for this? + description: Please search to see if a similar suggestion already exists. + options: + - label: I have searched the existing issues + required: true + - type: textarea + attributes: + label: Explain + description: A concise description of what you're requesting, why, how, and more. + validations: + required: true + - type: textarea + attributes: + label: Examples + description: Example ebuild and line number with "bad" code. + placeholder: | + Preferably add a link to an ebuild in overlay (or main Gentoo tree) with specific commit id (in case the ebuild changes, we can find the original version). By using an example we can have easier time to test the new check, and understanding the desired behavior. + - type: input + attributes: + label: Output message + description: The message to output + - type: textarea + attributes: + label: Documentation + description: Longer help message which would be shown in documentation + - type: dropdown + attributes: + label: Result level + description: The expected result level + multiple: false + options: + - error + - warning + - info + - style
