-
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
No issue - Mainly fixes in documentation #207
base: main
Are you sure you want to change the base?
Conversation
# If you have more than one connection, it is strongly advised to configure | ||
# this for each connection instead. | ||
#backup_excluded_tables: ['table1', 'table2'] | ||
|
||
# Specify here paths to backup and restore binaries and command line options. | ||
# Specify here paths to back up and restore binaries and command line options. |
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.
You should probably keep "backup" here.
@@ -54,7 +54,7 @@ | |||
# Connection name will be "default" when configured this way. | |||
connections: "pgsql://username:password@hostname:port?version=16.0&other_option=..." | |||
|
|||
# Alternatively, you are allowed to have more than one connections, case | |||
# Alternatively, you are allowed to have more than one connection, case |
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.
"More" than one, shouldn't be plural "connections" here ?
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.
Or that may be a frenchism, I'm not sure about english grammar here.
# If you have more than one connection, it is strongly advised to configure | ||
# this for each connection instead. | ||
#backup_excluded_tables: ['table1', 'table2'] | ||
|
||
# Specify here paths to backup and restore binaries and command line options. | ||
# Specify here paths to back up and restore binaries and command line options. |
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.
Same as upper, I would keep "backup" as a single word?
@@ -36,7 +36,7 @@ You can specify the behavior of the command with some options detailed below. | |||
|
|||
<div class="standalone"> | |||
|
|||
By default, the command will backup the database from the default connection. | |||
By default, the command will back up the database from the default connection. |
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.
Same.
@@ -48,7 +48,7 @@ vendor/bin/db-tools backup --connection other_connection_name | |||
</div> | |||
<div class="symfony"> | |||
|
|||
By default, the command will backup the database from the default DBAL connection. | |||
By default, the command will back up the database from the default DBAL connection. |
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.
Same.
@@ -62,21 +62,20 @@ class within, then register those as anonymizers. | |||
```yaml | |||
db_tools: | |||
anonymizer_paths: | |||
- '%kernel.project_dir%/vendor/makinacorpus/db-tools-bundle/src/Anonymizer' | |||
- '%kernel.project_dir%/src/Anonymization/Anonymizer' | |||
- '%kernel.project_dir%/vendor/makinacorpus/db-tools-bundle/src/Anonymization/Anonymizer/Core' |
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.
Actually, that's not true anymore, anonymizers are registered using an array constant which contains the class names, it is not using a path lookup anymore.
I have a doubt about the precision of the
Core
directory when loading default anonymizers or mentioning them in documentation. If it is not a good idea, I let you remove it 😉