Skip to content

feat: merge some report command#70

Merged
pmpetit merged 2 commits into
mainfrom
feat/merge_commands
May 25, 2026
Merged

feat: merge some report command#70
pmpetit merged 2 commits into
mainfrom
feat/merge_commands

Conversation

@pmpetit
Copy link
Copy Markdown
Owner

@pmpetit pmpetit commented May 25, 2026

This pull request introduces several improvements and workflow changes to the documentation and configuration of the mongo2pg project, focusing on modernization and clarity. The main updates include a migration from .conf to .toml config files, the addition of a new import command for loading data into PostgreSQL, and streamlined project workflows and documentation to reflect these changes.

Key changes:

Workflow and Command Improvements

  • Added a new import command to automate the creation of PostgreSQL objects and loading of exported CSV files, simplifying the end-to-end migration process. Documentation and usage examples have been updated throughout to include this step and clarify the workflow. [1] [2] [3]
  • The infer command now refreshes generated SQL and main HTML reports automatically, further integrating the workflow and reducing manual steps. [1] [2]

Configuration File Modernization

  • Migrated all references and examples from .conf to .toml configuration files, and updated the config structure to use [project], [source], and [target] sections, reflecting a more standard TOML layout. [1] [2] [3] [4] [5]
  • Added support for specifying both --source-uri and --target-uri during project initialization, and documented these options. [1] [2] [3]

Documentation and Usage Updates

  • Updated all documentation, quick starts, and usage examples to use the new TOML config files, new command flags, and revised workflow steps. This includes changes to README.md, USAGE.md, CONTRIBUTING.md, and docs/how-to/README.md. [1] [2] [3] [4] [5] [6]
  • Clarified the usage of the --print-json flag (replacing --no-output) for schema inference, and updated all related documentation and examples. (F52bd938L52R52, [1] [2]

Build and Dependency Updates

  • Added new dependencies to Cargo.toml, including bytes and toml, to support TOML config parsing and related features.

Task Automation

  • Updated Taskfile.yml to use the new --source-uri flag and TOML config files, ensuring all automated tasks are aligned with the new workflow and configuration structure. [1] [2] [3]

@github-actions
Copy link
Copy Markdown

Preview build ready

Binaries for commit 0625f71 are available at:
https://github.com/pmpetit/mongo2pg/releases/tag/pr-70-preview

This release is updated on every push and deleted when the PR is closed.

@pmpetit pmpetit merged commit c4b0025 into main May 25, 2026
4 checks passed
@pmpetit pmpetit deleted the feat/merge_commands branch May 25, 2026 13:08
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.

1 participant