-
Notifications
You must be signed in to change notification settings - Fork 15
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
Next 2.0 version configuration improvements #162
base: main
Are you sure you want to change the base?
Conversation
pounard
commented
May 28, 2024
- Rename lots of configuration options for consistency (deprecation only, your configuration will not break).
- Fix some documentation.
- Introduce environment variables for configuration.
55e930e
to
4cbd3fe
Compare
b8bdfb2
to
1507fde
Compare
4340051
to
fffe5a9
Compare
0d1b966
to
beefd06
Compare
fffe5a9
to
164d0d8
Compare
5835a02
to
d0791ff
Compare
079cc2a
to
0a07d89
Compare
164d0d8
to
41c33c3
Compare
docs/content/console.md
Outdated
### Dumping from Symfony configuration | ||
|
||
:::warning | ||
When using the CLI tool, you are not in the Symfony application context anymore, | ||
which means the CLI tool doesn't know the Symfony database configuration, doctrine | ||
connections or doctrine ORM mapping. | ||
::: | ||
|
||
@todo |
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.
does this command exist now ?
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.
Nope I opened #156 for this, maybe I should simply remove this file until it does.
06aa04f
to
d597917
Compare
d597917
to
a77cb1c
Compare
# variables will be used per default, if defined, but will be ignored when | ||
# you override the related parameter in the "config/packages/db_tools.yaml" | ||
# file. | ||
env(DBTOOLS_BACKUP_BINARY_MARIADB): ~ |
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.
That's a lot of repetitions, I wonder if this shouldn't be dynamic using some vendor name loop somewhere in a compiler pass?
Moreover, everything else is configured on a per-connection basis, and this is configured on a per-vendor basis, it is somehow disturbing IMHO.