diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..704ace6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,109 @@ +# Copyright 2025 Google LLC +# +# 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 +# +# https://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 report for unexpected or undesired behavior. +title: "" +labels: ["type: bug"] +type: "bug" + +body: + - type: markdown + attributes: + value: | + Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem. + + - id: preamble + type: checkboxes + attributes: + label: Pre-reqs + description: | + Please run through the following list and make sure you've tried the usual "quick fixes": + - Search the [current open issues](https://github.com/gemini-cli-extensions/postgres/issues) + - Update to the latest version of the extension and [Gemini CLI](https://github.com/google-gemini/gemini-cli?tab=readme-ov-file#stable) + options: + - label: "I've searched the current open issues" + required: true + - label: "I've updated to the latest versions" + + - type: input + id: version + attributes: + label: Extension Version + description: | + What version of the extension are you using (`gemini extensions list` or `/extensions list`)? + placeholder: ex. version 0.1.0 + validations: + required: true + + - type: input + id: version + attributes: + label: Gemini CLI Version + description: | + What version of the Gemini CLI are you using (`gemini --version`)? + placeholder: ex. version 0.6.0 + validations: + required: true + + - type: input + id: environment + attributes: + label: Environment + description: "Let us know what OS type and version in which you are seeing the bug!" + placeholder: output of `uname -a` + validations: + required: true + + - id: current-behavior + type: textarea + attributes: + label: Current Behavior + description: "Please enter a detailed description of the behavior you encountered instead." + validations: + required: true + + - id: expected-behavior + type: textarea + attributes: + label: Expected Behavior + description: | + Please enter a detailed description of the behavior you expected, and any information about what behavior you + noticed and why it is defective or unintentional. + validations: + required: true + + - type: textarea + id: repro + attributes: + label: Steps to reproduce? + description: | + How can we reproduce this bug? Please walk us through it step by step, + with as much relevant detail as possible. A 'minimal' reproduction is + preferred, which means removing as much of the examples as possible so + only the minimum required to run and reproduce the bug is left. + value: | + 1. ? + 2. ? + 3. ? + ... + validations: + required: true + + - type: textarea + id: additional-details + attributes: + label: Additional Details + description: | + Any other information you want us to know? diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..fe03048 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Google Cloud Support + url: https://cloud.google.com/support/ + about: If you have a support contract with Google, please both open an issue here and open Google Cloud Support portal with a link to the issue. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..0621bd1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,54 @@ +# Copyright 2025 Google LLC +# +# 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 +# +# https://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: Suggest an idea for new or improved behavior. +title: "" +labels: ["type: feature request"] +type: feature +body: + - type: markdown + attributes: + value: | + Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your feature request. + + - id: preamble + type: checkboxes + attributes: + label: Pre-reqs + description: | + Please run through the following list and make sure you've tried the usual "quick fixes": + options: + - label: "Search the [current open issues](https://github.com/gemini-cli-extensions/postgres/issues)" + required: true + + - type: textarea + id: use-case + attributes: + label: What are you trying to do that currently feels hard or impossible? + description: "A clear and concise description of what the end goal for the feature should be -- avoid generalizing and try to provide a specific use-case." + validations: + required: true + + - type: textarea + id: suggested-solution + attributes: + label: Suggested Solution(s) + description: "If you have a suggestion for how this use-case can be solved, please feel free to include it." + + - type: textarea + id: additional-details + attributes: + label: Additional Details + description: "Any additional information we should know? Please reference it here (issues, PRs, descriptions, or screenshots)" diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..2c46517 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,54 @@ +# Copyright 2025 Google LLC +# +# 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 +# +# https://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: 💬 Question +description: Questions on how something works or the best way to do something? +title: "" +labels: ["type: question"] + +body: + - type: markdown + attributes: + value: | + Thanks for helping us improve! 🙏 Please provide as much information as possible about your question. + + - id: preamble + type: checkboxes + attributes: + label: Prerequisites + description: | + Please run through the following list and make sure you've tried the usual "quick fixes": + options: + - label: "Search the [issues](https://github.com/gemini-cli-extensions/postgres/issues)" + required: true + + - type: textarea + id: question + attributes: + label: Question + description: "What's your question? Please provide as much relevant information as possible to reduce turnaround time. Include information like what environment, language, or framework you are using." + validations: + required: true + + - type: textarea + id: code + attributes: + label: Code + description: "Please paste any useful application code that might be relevant to your question. (if your code is in a public repo, feel free to paste a link!)" + + - type: textarea + id: additional-details + attributes: + label: Additional Details + description: "Any other information you want us to know that might be helpful in answering your question? (link issues, PRs, descriptions, or screenshots)." diff --git a/.github/workflows/presubmit-tests.yml b/.github/workflows/presubmit-tests.yml index 787c919..17a2118 100644 --- a/.github/workflows/presubmit-tests.yml +++ b/.github/workflows/presubmit-tests.yml @@ -34,4 +34,4 @@ jobs: chmod +x toolbox - name: Install Extension - run: yes | npx gemini extensions install --path=. \ No newline at end of file + run: yes | npx gemini extensions install . \ No newline at end of file