Closed Alex-Kopylov closed 7 months ago
This update enhances a Telegram bot project with improved error handling, logging, and database management. It introduces a CI/CD pipeline for the develop
branch, integrates Telegram notifications, and updates data models to support new game functionalities. The deployment process now includes environment variables for smoother operations. Overall, these changes aim to streamline development, deployment, and the user experience within the bot's ecosystem.
Files | Change Summary |
---|---|
.dockerignore |
Excludes __pycache__ , .venv , venv directories. |
.github/workflows/deploy.yml |
Adds environment variables for deployment script, modifies container checks. |
.github/workflows/develop.yml |
Sets up CI/CD with Docker Compose, SSH actions, Telegram integration, Docker container management. |
README.md |
Updates SQLite database file path instructions. |
src/__main__.py , src/callbacks/... |
Adjusts error handling, logging, poll answer logic, simplifies method calls. |
src/config.py , src/data_models/... |
Updates default values, renames variables, adds fields, introduces validation methods. |
src/db.py , src/handlers/... , src/services/db_service.py |
Modifies database connections, error handling, adds saving functions. |
src/sql/init.sql |
Renames fields, modifies table structures, adds new fields, formatting changes. |
src/get_handlers.py , src/handlers/error_handler.py |
Minor adjustments in function implementations. |
🐇✨
Changes abound, the code does hop,
Through fields of logic, nonstop.
With every line, we aim to improve,
A bot's journey, smooth and groove.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit