Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pounard
Copy link
Member

@pounard 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.

@pounard pounard changed the base branch from main to standalone May 28, 2024 07:42
@pounard pounard force-pushed the 2.0-configuration-improvements branch from 55e930e to 4cbd3fe Compare May 28, 2024 07:44
@pounard pounard mentioned this pull request May 28, 2024
11 tasks
@pounard pounard force-pushed the 2.0-configuration-improvements branch 2 times, most recently from b8bdfb2 to 1507fde Compare May 28, 2024 13:22
@pounard pounard force-pushed the 2.0-configuration-improvements branch 4 times, most recently from 4340051 to fffe5a9 Compare May 29, 2024 07:31
@pounard pounard force-pushed the standalone branch 16 times, most recently from 0d1b966 to beefd06 Compare May 30, 2024 19:09
@pounard pounard force-pushed the 2.0-configuration-improvements branch from fffe5a9 to 164d0d8 Compare May 30, 2024 19:11
@pounard pounard force-pushed the standalone branch 2 times, most recently from 5835a02 to d0791ff Compare June 4, 2024 07:11
@pounard pounard force-pushed the standalone branch 4 times, most recently from 079cc2a to 0a07d89 Compare June 4, 2024 07:21
Base automatically changed from standalone to main June 4, 2024 13:47
@pounard pounard force-pushed the 2.0-configuration-improvements branch from 164d0d8 to 41c33c3 Compare June 10, 2024 09:52
docs/content/console.md Outdated Show resolved Hide resolved
docs/content/console.md Outdated Show resolved Hide resolved
docs/content/console.md Outdated Show resolved Hide resolved
docs/content/console.md Outdated Show resolved Hide resolved
docs/content/console.md Outdated Show resolved Hide resolved
Comment on lines 77 to 83
### 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
Copy link
Member

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 ?

Copy link
Member Author

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.

@pounard pounard force-pushed the 2.0-configuration-improvements branch 7 times, most recently from 06aa04f to d597917 Compare November 12, 2024 14:55
@pounard pounard force-pushed the 2.0-configuration-improvements branch from d597917 to a77cb1c Compare November 12, 2024 14:56
# 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): ~
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants