Thank you for considering contributing to sqlBackup! We welcome all kinds of contributions — bug reports, feature requests, documentation improvements, and code contributions.
-
Fork the Repository
Click the Fork button on GitHub and clone your fork:git clone https://github.com/your-username/sqlBackup.git cd sqlBackup -
Set Up the Environment Install dependencies:
pip3 install -r requirements.txt
(Optional for development)
pip3 install -r requirements-dev.txt pip3 install -e . -
Run Tests Make sure existing tests pass:
python3 -m unittest discover tests
-
Validate Configuration Test config files with the validation tool:
python validate_config.py --config config.ini
-
Use Issues to report bugs.
-
Include:
- Clear title and description
- Steps to reproduce the issue
- Expected vs actual behavior
- Logs or screenshots if applicable
-
Open a new issue with:
- A descriptive title
- Clear explanation of the feature
- Why it would be useful
- Optional: suggested implementation
-
Create a new branch:
git checkout -b feature/my-feature
-
Follow PEP8 and the project's coding style.
-
Write tests for new functionality.
-
Run all tests and linters before committing.
-
Commit using clear and meaningful messages:
feat: Add S3 upload support fix: Correct config validator path issue docs: Update README with new install method -
Push to your fork and open a Pull Request.
- Fix typos, clarify instructions, or add new examples.
- Update
docs/,README.md, orconfig.ini.default.
- All features should be tested via
unittestor a compatible framework. - Tests are located in the
tests/directory. - Add tests for new modules or changes where possible.
Please follow our Code of Conduct to keep this project welcoming and inclusive.
If you have questions, open an issue or reach out via GitHub Discussions (if enabled).
Happy backing up! 🚀