chore: add config file merging, wildcard anonymization, and secure file output#3
Merged
nabroleonx merged 1 commit intomainfrom Mar 3, 2026
Conversation
Owner
nabroleonx
commented
Mar 3, 2026
- Config file support: full YAML config parsing with CLI override precedence, per-table overrides (skip, depth, direction, max_rows), and deprecated key aliases (include_drop_tables -> include_truncate)
- Wildcard anonymization: glob-based patterns for table.column matching with exact > wildcard > builtin precedence, custom field providers, and security_null_fields wildcards
- Secure file I/O: new fileio.py with os.open/fchmod for deterministic permissions, --output-file-mode CLI flag, applied to all output paths
- Row limits: max_rows_per_table with deterministic PK-sorted selection and parent closure to preserve FK integrity
- Per-table traversal: table-specific depth and direction overrides in BFS graph traversal
- CLI: all boolean flags support --no-* variants, proper None defaults for config merging, dynamic version from package metadata
- PostgreSQL adapter: sync per-table FK lists with graph edges, simplify batch fetching
- Docs and tests updated for all new features
…le output - Config file support: full YAML config parsing with CLI override precedence, per-table overrides (skip, depth, direction, max_rows), and deprecated key aliases (include_drop_tables -> include_truncate) - Wildcard anonymization: glob-based patterns for table.column matching with exact > wildcard > builtin precedence, custom field providers, and security_null_fields wildcards - Secure file I/O: new fileio.py with os.open/fchmod for deterministic permissions, --output-file-mode CLI flag, applied to all output paths - Row limits: max_rows_per_table with deterministic PK-sorted selection and parent closure to preserve FK integrity - Per-table traversal: table-specific depth and direction overrides in BFS graph traversal - CLI: all boolean flags support --no-* variants, proper None defaults for config merging, dynamic version from package metadata - PostgreSQL adapter: sync per-table FK lists with graph edges, simplify batch fetching - Docs and tests updated for all new features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.