Skip to content

Polish setup wizard and add config check#1754

Open
magrathean-uk wants to merge 5 commits into
rustic-rs:mainfrom
magrathean-uk:magrathean/setup-wizard-clean
Open

Polish setup wizard and add config check#1754
magrathean-uk wants to merge 5 commits into
rustic-rs:mainfrom
magrathean-uk:magrathean/setup-wizard-clean

Conversation

@magrathean-uk
Copy link
Copy Markdown

Hey,

What I changed:

  • kept setup focused on generating a backup profile, using TOML serialization and safe profile handling
  • added rustic setup --print so the generated TOML can be inspected without writing config or creating repo dirs
  • added rustic check-config to validate merged config and backup shape without touching the repo
  • refreshed local, S3, SFTP, and rclone examples with placeholder-safe config

Tested:

  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test setup --lib
  • cargo test --test backup_restore
  • cargo test --test completions
  • cargo test --test check_config
  • cargo test --test config

I kept this scoped away from restore prompts, init summaries, progress edits, and manual timing bits so it should be easier to review.

Copilot AI review requested due to automatic review settings May 6, 2026 16:46
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