Enhancements and Improvements #39
Merged
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.
Feat: Enhancements and Improvements
Overview
This pull request introduces several enhancements and improvements to the
solrcopytool, focusing on better compression options, improved development workflow, enhanced testing capabilities, and code organization.🚀 New Features
Archive Compression Options
--archive-compressionflag to thebackupcommand with support for three compression methods:stored- No compression (raw data)zip- Standard ZIP compression (default)zstd- Zstandard compression for better compression ratiosDevelopment Workflow Improvements
Enhanced Testing Infrastructure
🔧 Improvements
Code Organization
models.rsmoduleDocumentation Updates
Development Environment
📊 Statistics
Key File Changes:
Makefile.toml: +194 lines (comprehensive build system)README.md: +236 lines (enhanced documentation)src/helpers.rs: +439 lines (extended utility functions)src/models.rs: +36 lines (new data structures)src/args.rs: +36 lines (improved argument parsing)🧪 Testing
New Test Capabilities
Test Commands
🔄 Breaking Changes
--zip-prefixto--archive-prefixfor better clarity🎯 Benefits
📝 Commit History
61cd3e3- docs: updated readme with backup compression options2cf7d05- test: testing backup with zstd compression5d692ae- feat: added flag --archive-compression to command backupaf3c2ad- chore: added some vscode extension recommendations0ab2b5b- chore: added some basic editor settingsc0b6b90- build: added command: cargo make coveragede99116- test: added some test case for helpers2196e98- build: add command: cargo make pre-commit1d646b3- docs: update readme with cargo make instructions7442101- docs: update crate description13a7976- build: reorganize and describe cargo make tasksfe0f334- chore: update crate versions9b8cb41- refactor: extract data structures✅ Ready for Review
This pull request is ready for review and includes: