1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Merge pull request #35 from YunoHost-Apps/v8.2

V8.2
This commit is contained in:
Salamandar 2024-01-31 18:35:20 +01:00 committed by GitHub
commit 2896c49a91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
pgAdmin is a feature rich Open Source administration and development platform for PostgreSQL.
**Shipped version:** 7.8~ynh2
**Shipped version:** 8.2~ynh2
## Screenshots

View file

@ -19,7 +19,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
pgAdmin is a feature rich Open Source administration and development platform for PostgreSQL.
**Version incluse :** 7.8~ynh2
**Version incluse :** 8.2~ynh2
## Captures décran

View file

@ -2,9 +2,9 @@
set timeout 20
set cmd [lindex $argv 0]
set path [lindex $argv 1]
set arguments [lrange $argv 1 end]
spawn $cmd $path
spawn $cmd {*}$arguments
expect "Email address:"
send "__EMAIL__\r";

View file

@ -7,7 +7,7 @@ name = "pgAdmin4"
description.en = "Manage PostgreSQL databases over the web"
description.fr = "Application web de gestion des bases de données PostgreSQL"
version = "7.8~ynh2"
version = "8.2~ynh2"
maintainers = ["Josué Tille"]

View file

@ -48,10 +48,10 @@ chown -R "$app:root" "$install_dir"
ynh_add_config --template="setup.exp" --destination="$install_dir/setup.exp"
chmod +x "$install_dir/setup.exp"
ynh_exec_as "$app" "$install_dir/setup.exp" "$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py"
ynh_exec_as "$app" "$install_dir/setup.exp" "$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" setup-db
ynh_add_config --template="server.json" --destination="$install_dir/server.json"
ynh_exec_as "$app" "$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" --user "$email" --load-servers "$install_dir/server.json"
ynh_exec_as "$app" "$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" load-servers --user "$email" "$install_dir/server.json"
# looks like we need to run one command as pgadmin to get access to the dbs ?
ynh_psql_connect_as --user="$db_user" --password="$db_pwd" <<< '\list' >/dev/null