-
Notifications
You must be signed in to change notification settings - Fork 19
Elephant-shed is now using pgadmin instead of omnidb, as omnidb isn't supported any more #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rel1_3
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ Architecture: all | |
| Depends: | ||
| elephant-shed-cockpit, | ||
| elephant-shed-grafana, | ||
| elephant-shed-omnidb <!stretch>, | ||
| elephant-shed-pgadmin, | ||
| elephant-shed-pgbackrest, | ||
| elephant-shed-pgbadger, | ||
| elephant-shed-portal, | ||
|
|
@@ -67,16 +67,15 @@ Description: PostgreSQL dashboard -- PostgreSQL integration | |
| . | ||
| This package provides the integration with PostgreSQL. | ||
|
|
||
| Package: elephant-shed-omnidb | ||
| Package: elephant-shed-pgadmin | ||
| Architecture: all | ||
| Build-Profiles: <!stretch> | ||
| Depends: | ||
| omnidb-server, | ||
| pgadmin4-web, | ||
| ${misc:Depends}, | ||
| Description: PostgreSQL dashboard -- OmniDB integration | ||
| Description: PostgreSQL dashboard -- Pgadmin integration | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Official wording seems to be "pgAdmin", not "Pgadmin" |
||
| The Elephant Shed is a web-based PostgreSQL management front-end. | ||
| . | ||
| This meta package provides the integration with OmniDB. | ||
| This meta package provides the integration with Pgadmin. | ||
|
|
||
| Package: elephant-shed-pgbadger | ||
| Architecture: all | ||
|
|
||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| #!/bin/sh | ||
|
|
||
| set -eu | ||
|
|
||
| case $1 in | ||
| configure) | ||
| echo "Configure pgadmin to use basicauth as authentication" | ||
| sed -i 's/^MASTER_PASSWORD_REQUIRED.*/MASTER_PASSWORD_REQUIRED = False/g' /usr/pgadmin4/web/config.py | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So this lets the user login to pgadmin without having to type another password, right? I think that is ok, but we probably need to check that this does not mean other people can just login from remote? |
||
| sed -i 's/^AUTHENTICATION_SOURCES.*/AUTHENTICATION_SOURCES = ['\''webserver'\'','\''internal'\'']/g' /usr/pgadmin4/web/config.py | ||
| export PGADMIN_SETUP_PASSWORD="pgadmin"; export PGADMIN_SETUP_EMAIL="admin@localhost.lan"; /usr/pgadmin4/bin/setup-web.sh --yes | ||
| ;; | ||
| esac | ||
|
|
||
| #DEBHELPER# | ||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last time, the package was called
elephant-shed-pgadmin4, and this is how it is called upstream as well (pgadmin4-web), although they seem to be using "pgAdmin" and "pgAdmin 4" interchangeably nowadays.But I still think we should go with
pgadmin4again.