-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use adminerevo docker image instead of the deprecated adminer image, fixes #27 #30
base: main
Are you sure you want to change the base?
Conversation
Your testing instructions are not correct as they point to a release on your fork. Instead, they should be
|
This PR was created with the branch https://github.com/M-arcus/ddev-adminer/tree/adminerevo, not with main. |
What edited contents are meant? |
Your manual testing instructions say to use ddev add-on get M-arcus/ddev-adminer That will get a released version of the fork, not the current branch. Sorry I didn't read your branch correctly, I edited my suggestion for the testing instructions, which will get your actual branch. |
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.
Thanks for working on this!
The Dockerfile is obsolete, so you can remove the build
section of the docker-compose.adminer.yaml and instead add an image
statement.
adminer/Dockerfile
Outdated
#ddev-generated | ||
FROM adminer:standalone | ||
ADD ddev-login.php /var/www/html/plugins-enabled/ | ||
FROM shyim/adminerevo:latest |
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.
This file serves no purpose here (that I can understand). It should just be removed, and the docker-compose.adminer.yaml should use the upstream image.
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.
I have removed the file, added the image to the docker-compose.adminer.yaml and updated the install.yaml
I have updated the manual testing instructions in the initial comment. |
Co-authored-by: Randy Fay <randy@randyfay.com>
In its current state, after you add the |
Are you confident that adminerevo is the most likely successor to adminer? |
The tests (https://github.com/ddev/ddev-adminer/blob/main/tests/test.bats) look pretty limited, it's worth considering looking at them in this or a followup PR. |
Yes, it is often recommended and supports a wide range of technologies. |
@@ -4,18 +4,15 @@ | |||
|
|||
## What is this? | |||
|
|||
This repository allows you to quickly install Adminer database manager into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get ddev/ddev-adminer`. | |||
This repository allows you to quickly install the Adminerevo fork of the adminer database manager into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get ddev/ddev-adminer`. |
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.
This repository allows you to quickly install the Adminerevo fork of the adminer database manager into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get ddev/ddev-adminer`. | |
This repository allows you to quickly install the [AdminerEvo](https://docs.adminerevo.org/) fork of the [adminer](https://www.adminer.org/) database manager into a [DDEV](https://ddev.readthedocs.io) project using just `ddev get ddev/ddev-adminer`. |
|
||
* MySQL / MariaDB | ||
* PostgreSQL | ||
Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch and MongoDB. |
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.
Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch and MongoDB. | |
AdminerEvo is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch and MongoDB. |
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.
How about "Adminer works with"
Moving to mention of AdminerEvo may end up adding confusion. I know we're changing the technology behind this. Should we just mention that in the README and then still use regular adminer terminology?
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.
I like that idea
environment: | ||
# Use the line below to change the adminer theme. | ||
# - ADMINER_DESIGN=nette | ||
- ADMINER_DEFAULT_SERVER=db | ||
- ADMINER_DEFAULT_USER=db | ||
- ADMINER_DEFAULT_PASSWORD=db |
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.
can we set a predefined DB here?
Hey @M-arcus , thanks for the initiative and the work on updating this! I honestly was unaware of the changes in the adminer world. The new version of the add-on works ok for me. I am only wondering if we can set a predefined DB. |
Oh, the usage of And normally we encourage people to use a |
The Issue
How This PR Solves The Issue
It uses the adminerevo docker image
Manual Testing Instructions
For DDEV v1.23.5 or above run
For earlier versions of DDEV run
Afterwards run
ddev restart
Then you can just
ddev adminer
or useddev describe
to get the URL (https://<project>.ddev.site:9101
).Automated Testing Overview
See the GitHub Action https://github.com/M-arcus/ddev-adminer/actions/runs/11956882733
Related Issue Link(s)
Release/Deployment Notes