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

No issue - Mainly fixes in documentation #207

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

Conversation

Lonnytunes
Copy link
Collaborator

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 😉

@Lonnytunes Lonnytunes added this to the 2.0.0 milestone Nov 27, 2024
@Lonnytunes Lonnytunes self-assigned this Nov 27, 2024
# 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.
Copy link
Member

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
Copy link
Member

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 ?

Copy link
Member

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.
Copy link
Member

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.
Copy link
Member

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.
Copy link
Member

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'
Copy link
Member

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.

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