From c873c20c7b85637d7561ed8e2b06b846ceb4f4be Mon Sep 17 00:00:00 2001 From: AarDG10 Date: Wed, 28 Jan 2026 10:45:53 +0530 Subject: [PATCH 1/3] feat(UX): warn users during install that postgres is in testing --- frappe/commands/site.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frappe/commands/site.py b/frappe/commands/site.py index b83abcb5a7..e20d0c1149 100644 --- a/frappe/commands/site.py +++ b/frappe/commands/site.py @@ -91,6 +91,19 @@ def new_site( frappe.init(site, new_site=True) + if db_type == "postgres": + click.secho( + "\nKindly Note: PostgreSQL support is currently in development and considered experimental.", + fg="yellow", + bold=True, + ) + click.secho( + "We are actively fixing schema and performance issues. If you encounter any bugs,\n" + "please feel free to report them with a full traceback at:\n" + "https://github.com/frappe/frappe/issues\n", + fg="cyan", + ) + if site in frappe.get_all_apps(): click.secho( f"Your bench has an app called {site}, please choose another name for the site.", fg="red" From 386418bd8771c6d579ed44c7b88b6b7a9964f300 Mon Sep 17 00:00:00 2001 From: AarDG10 Date: Wed, 28 Jan 2026 11:00:54 +0530 Subject: [PATCH 2/3] feat(UX): warn users during install that sqlite is in testing --- frappe/commands/site.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frappe/commands/site.py b/frappe/commands/site.py index e20d0c1149..29fbc25cbb 100644 --- a/frappe/commands/site.py +++ b/frappe/commands/site.py @@ -104,6 +104,19 @@ def new_site( fg="cyan", ) + if db_type == "sqlite": + click.secho( + "\nKindly Note: SQLite support is currently in development and considered experimental.", + fg="yellow", + bold=True, + ) + click.secho( + "We are actively fixing schema and performance issues. If you encounter any bugs,\n" + "please feel free to report them with a full traceback at:\n" + "https://github.com/frappe/frappe/issues\n", + fg="cyan", + ) + if site in frappe.get_all_apps(): click.secho( f"Your bench has an app called {site}, please choose another name for the site.", fg="red" From eb2b5fe71df115bcd202866b1f972adac7ef42b5 Mon Sep 17 00:00:00 2001 From: AarDG10 Date: Wed, 28 Jan 2026 16:10:00 +0530 Subject: [PATCH 3/3] refactor: leaner description and reduced noise --- frappe/commands/site.py | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/frappe/commands/site.py b/frappe/commands/site.py index 29fbc25cbb..4b648dbae8 100644 --- a/frappe/commands/site.py +++ b/frappe/commands/site.py @@ -90,30 +90,18 @@ def new_site( from frappe.installer import _new_site frappe.init(site, new_site=True) - - if db_type == "postgres": + db_labels = { + "postgres": "PostgreSQL", + "sqlite": "SQLite", + } + if db_type in db_labels: click.secho( - "\nKindly Note: PostgreSQL support is currently in development and considered experimental.", + f"\nNote: {db_labels[db_type]} support is currently in development and considered experimental.", fg="yellow", bold=True, ) click.secho( - "We are actively fixing schema and performance issues. If you encounter any bugs,\n" - "please feel free to report them with a full traceback at:\n" - "https://github.com/frappe/frappe/issues\n", - fg="cyan", - ) - - if db_type == "sqlite": - click.secho( - "\nKindly Note: SQLite support is currently in development and considered experimental.", - fg="yellow", - bold=True, - ) - click.secho( - "We are actively fixing schema and performance issues. If you encounter any bugs,\n" - "please feel free to report them with a full traceback at:\n" - "https://github.com/frappe/frappe/issues\n", + "Please report issues with a full traceback here:\nhttps://github.com/frappe/frappe/issues\n", fg="cyan", )