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 5 commits 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
Comment on lines +38 to +45
```yaml [Standalone]
connections:
connection_one: "pgsql://username:password@hostname:port?version=16.0&other_option=..."
connection_two: "mysql://username:password@hostname:port?version=8.1&other_option=..."
```

Keys are connection names for idenfying those as a command line option, values are
database URL containing all necessary information and options for connecting.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be you can start by documenting when there is only one connection (which will be most cases) and then specify that you can provide multiple

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though I fixed this, I may have broke it during merge. I'll rewrite this part of the documentation.

docs/content/console.md Outdated Show resolved Hide resolved
Comment on lines +77 to +85
### 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 and others added 4 commits June 11, 2024 10:46
Co-authored-by: Simon MELLERIN <[email protected]>
Co-authored-by: Simon MELLERIN <[email protected]>
Co-authored-by: Simon MELLERIN <[email protected]>
Co-authored-by: Simon MELLERIN <[email protected]>
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.

None yet

2 participants