From 64b159676f4bdbc289e510f51de38da8ab273ac5 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 14 Jul 2021 12:22:00 +0200 Subject: [PATCH] Add issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 +++++++++++++++++++ .../problem-installing-psycopg2.md | 24 ++++++++++++ .../ISSUE_TEMPLATE/problem-using-psycopg2.md | 26 +++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/problem-installing-psycopg2.md create mode 100644 .github/ISSUE_TEMPLATE/problem-using-psycopg2.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..dd84ea78 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/problem-installing-psycopg2.md b/.github/ISSUE_TEMPLATE/problem-installing-psycopg2.md new file mode 100644 index 00000000..d3f01583 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/problem-installing-psycopg2.md @@ -0,0 +1,24 @@ +--- +name: Problem installing psycopg2 +about: Report a case in which psycopg2 failed to install on your platform +title: '' +labels: '' +assignees: '' + +--- + +**This is a bug tracker** +If you have a question, such has "how do you do X with Python/PostgreSQL/psycopg2" please [write to the mailing list](https://lists.postgresql.org/manage/) or [open a question](https://github.com/psycopg/psycopg2/discussions) instead. + +**Before opening this ticket, please confirm that:** +- [ ] I am running the latest version of pip, i.e. typing ``pip --version`` you get [this version[(https://pypi.org/project/pip/). +- [ ] I have read the [installation documentation](https://www.psycopg.org/docs/install.html) and the [frequently asked questions](https://www.psycopg.org/docs/faq.html) +- [ ] I am not trying to install `psycopg2-binary` on an Apple M1, for which [binary packages are not supported](https://github.com/psycopg/psycopg2/issues/1286) +- [ ] I am not trying to install `psycopg2-binary` in an Alpine Linux Docker image +- [ ] If install failed, I typed `pg_config` on the command line and I obtained an output instead of an error. + +**Please complete the following information:** +- OS: +- Python version: +- PostgreSQL version: +- pip version diff --git a/.github/ISSUE_TEMPLATE/problem-using-psycopg2.md b/.github/ISSUE_TEMPLATE/problem-using-psycopg2.md new file mode 100644 index 00000000..1cf9359b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/problem-using-psycopg2.md @@ -0,0 +1,26 @@ +--- +name: Problem using psycopg2 +about: Report a case in which psycopg2 is not working as expected +title: '' +labels: '' +assignees: '' + +--- + +**This is a bug tracker** +If you have a question, such has "how do you do X with Python/PostgreSQL/psycopg2" please [write to the mailing list](https://lists.postgresql.org/manage/) or [open a question](https://github.com/psycopg/psycopg2/discussions) instead. + +**Please complete the following information:** +- OS: +- Python version: +- PostgreSQL version: +- pip version + +**Describe the bug** +Please let us know: + +1: what you did +2: what you expected to happen +3: what happened instead + +If possible, provide a script reproducing the issue.