- Update to 7.4, extremely large list of changes, partially chosen:
* Make Statistics, Dependencies, Dependants tabs closable and the user
can add them back using the 'Add panel' option.
* Added support for Logical Replication.
* Implemented runtime using NWjs to open pgAdmin4 in a standalone window
instead of the system tray and web browser.
* Added Quick Search functionality for menu items and help articles.
* Added publication and subscription support in Schema Diff.
* Use cheroot as the default production server for pgAdmin4.
* Show the login roles that are members of a group role be shown when
examining a group role.
* Added '--replace' option in Import server to replace the list of
servers with the newly imported one.
* Added zoom scaling options with keyboard shortcuts in runtime.
* Use schema qualification while accessing the catalog objects.
* Make the 'Save Data Changes' icon to be more intuitive.
* Improve code coverage and API test cases for Server module.
* Added support to set auto width of columns by content size in the data
output window.
* Added support to connect PostgreSQL servers via Kerberos authentication.
* Added "IF NOT EXISTS" clause while creating tables and partition tables
which is convenient while using the ERD tool.
* Added browse button to select the binary path in the Preferences.
* Added Grant Wizard option under Package node.
* Added support to launch PSQL for the connected database server.
* Added window maximize/restore functionality for properties dialog.
* Added support to set the binary path for the different database server
versions.
* Added OS, Browser, Configuration details in the About dialog.
* Added support for rotating the pgAdmin log file on the basis of size
OBS-URL: https://build.opensuse.org/request/show/1101479
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgadmin4?expand=0&rev=53
23 lines
693 B
Diff
23 lines
693 B
Diff
From: Antonio Larrosa <alarrosa@suse.com>
|
|
Subject: Use os.makedirs instead of os.mkdir
|
|
|
|
So parent directories are created if needed
|
|
|
|
---
|
|
web/pgadmin/setup/data_directory.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: pgadmin4-7.4/web/pgadmin/setup/data_directory.py
|
|
===================================================================
|
|
--- pgadmin4-7.4.orig/web/pgadmin/setup/data_directory.py
|
|
+++ pgadmin4-7.4/web/pgadmin/setup/data_directory.py
|
|
@@ -18,7 +18,7 @@ FAILED_CREATE_DIR = \
|
|
|
|
def _create_directory_if_not_exists(_path):
|
|
if _path and not os.path.exists(_path):
|
|
- os.mkdir(_path)
|
|
+ os.makedirs(_path)
|
|
return True
|
|
|
|
return False
|