]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
issue template updates
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 7 Feb 2023 18:21:37 +0000 (13:21 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 7 Feb 2023 18:21:37 +0000 (13:21 -0500)
forgive me, I'm just live editing, will test immediately

Change-Id: I404edac799222aea615886c5e821d7433b8f2e7a

.github/ISSUE_TEMPLATE/bug_report.yaml

index ee2fc54593ba8e73dc837f12bb29e94313739206..71c9993fe6960ef847a3529a7d65a8b625dfc081 100644 (file)
@@ -9,28 +9,21 @@ body:
     attributes:
       value: "
 
-**FOR ALL USERS - PLEASE READ THIS PARAGRAPH AS IT IS HELPS US TO DO OUR WORK MORE EFFICIENTLY:**
-
-The **VAST MAJORITY** of bugs reported are in fact
-**USAGE QUESTIONS, NOT BUGS** for APIs that can take some practice to familiarize with,
-and which are also tailored towards high quality relational designs that
-beginners are sometimes less familiar with.
-
-If you are relatively new to SQLAlchemy, and even if not but the issue is uncertain, PLEASE START A NEW
-[DISCUSSION](https://github.com/sqlalchemy/sqlalchemy/discussions/new?category=Usage-Questions) INSTEAD, so that we can
-help with your issue.   If you are relatively new to
-SQLAlchemy, there is an approximately **90% chance your issue is not a bug and will be converted to a
-discussion in any case**.
-If your issue is actually a bug, we will open a new bug report with what we need.
+**If you are writing new SQLAlchemy code and are observing a behavior that you did not expect,
+or if you are new to SQLAlchemy overall, please open a
+[discussion](https://github.com/sqlalchemy/sqlalchemy/discussions/new?category=Usage-Questions)
+instead of an issue report.  The vast majority of new issues are converted to discussions**
 
 [START A NEW USAGE QUESTIONS DISCUSSION HERE](https://github.com/sqlalchemy/sqlalchemy/discussions/new?category=Usage-Questions)
 
 "
   - type: markdown
     attributes:
-      value: "**IF YOUR ISSUE RELATES TO AN @ SIGN, OR ANY OTHER NON-ALPHANUMERIC CHARACTER IN YOUR PASSWORD.  THIS IS NOT A BUG.**
+      value: "**If your issue is you have upgraded SQLAlchemy and now can't connect to the database, please READ THIS FIRST:**
+
+URL escape **@ signs and any other non-alphanumeric characters** in passwords;  **@ signs
+must be escaped in modern versions of SQLAlchemy which was not the case with older versions**.
 
-Please URL escape **@ signs and any other non-alphanumeric characters** in passwords;
 For the ``@`` sign for example, the escape is `%40`.
 See [Engine URLs](https://docs.sqlalchemy.org/en/stable/core/engines.html#escaping-special-characters-such-as-signs-in-passwords)
     "
@@ -40,6 +33,12 @@ See [Engine URLs](https://docs.sqlalchemy.org/en/stable/core/engines.html#escapi
 
 **GUIDELINES FOR REPORTING BUGS**
 
+IF YOU DO NOT HAVE A COMPLETE, RUNNABLE TEST CASE WRITTEN DIRECTLY IN THE TEXTAREA BELOW,
+YOUR ISSUE WILL BE CLOSED.   PLEASE OPEN A
+[DISCUSSION](https://github.com/sqlalchemy/sqlalchemy/discussions/new?category=Usage-Questions)
+IF YOU DON'T HAVE A COMPLETE TEST CASE!
+
+
 If you are new to SQLAlchemy bug reports, please review our many examples
 of [well written bug reports](https://github.com/sqlalchemy/sqlalchemy/issues?q=is%3Aissue+label%3A%22great+mcve%22).   Each of these reports include the following features:
 
@@ -89,15 +88,35 @@ If the message is a warning, run your program with the ``-Werror`` flag:   ``pyt
     validations:
       required: true
 
-  - type: textarea
+  - type: input
+    id: sqlaversion
+    attributes:
+      label: SQLAlchemy Version in Use
+      description: the full version of SQLAlchemy in use
+    validations:
+      required: true
+
+  - type: input
+    id: dbapiversion
+    attributes:
+      label: DBAPI Version
+      description: the DBAPI (database driver) version
+    validations:
+      required: true
+
+  - type: input
+    id: database
+    attributes:
+      label: Database Vendor and Version
+      description: e.g. SQLite, PostgreSQL 12, MariaDB 8
+    validations:
+      required: true
+
+  - type: input
+    id: os
     attributes:
-      label: Versions
-      value: |
-        - OS:
-        - Python:
-        - SQLAlchemy:
-        - Database:
-        - DBAPI (eg: psycopg, cx_oracle, mysqlclient):
+      label: Operating system
+      description: Linux, Windows, OSX
     validations:
       required: true