diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml new file mode 100644 index 00000000..d6ab852a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -0,0 +1,61 @@ +# Copyright The ORAS Authors. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Bug Report +description: File a bug report +labels: [bug, triage] +body: + - type: markdown + id: preface + attributes: + value: | + Thank you for reporting bugs to ORAS Go library! + - type: textarea + id: environment + validations: + required: true + attributes: + label: What happened in your environment? + description: "Please also attach logs here using `--debug` flag." + - type: textarea + id: expect + attributes: + label: "What did you expect to happen?" + - type: textarea + id: reproduce + validations: + required: true + attributes: + label: "How can we reproduce it?" + description: "Please tell us your environment information as minimally and precisely as possible." + - type: textarea + id: version + validations: + required: true + attributes: + label: What is the version of your oras-go library ? + - type: input + id: os + validations: + required: true + attributes: + label: What is your OS environment? + description: "e.g. Ubuntu 16.04" + - type: checkboxes + id: idea + attributes: + label: "Are you willing to submit PRs to fix it?" + description: "This is absolutely not required, but we are happy to guide you in the contribution process + especially when you already have a good proposal or understanding of how to implement it. Join us at https://slack.cncf.io/ and choose #oras channel." + options: + - label: Yes, I am willing to fix it. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..9df0c577 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,18 @@ +# Copyright The ORAS Authors. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +blank_issues_enabled: true +contact_links: + - name: Ask a question or request support in the community + url: https://github.com/oras-project/oras-go/discussions + about: Ask a question or request support for using ORAS go library diff --git a/.github/ISSUE_TEMPLATE/feature-request.yaml b/.github/ISSUE_TEMPLATE/feature-request.yaml new file mode 100644 index 00000000..c39555cc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yaml @@ -0,0 +1,47 @@ +# Copyright The ORAS Authors. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Feature Request +description: File a feature request +labels: [enhancement, triage] +body: + - type: markdown + id: preface + attributes: + value: "Thank you for submitting new features for oras-go." + - type: input + id: version + attributes: + label: "What is the version of your oras-go" + + - type: textarea + id: description + attributes: + label: "What would you like to be added?" + validations: + required: true + - type: textarea + id: solution + attributes: + label: "Why is this needed for oras-go?" + description: "Please describe your user story or scenario." + validations: + required: true + - type: checkboxes + id: idea + attributes: + label: "Are you willing to submit PRs to contribute to this feature?" + description: "This is absolutely not required, but we are happy to guide you in the contribution process + especially when you already have a good proposal or understanding of how to implement it. Join us at https://slack.cncf.io/ and choose #oras channel." + options: + - label: Yes, I am willing to implement it.