Skip to content

Conversation

@AnkanSaha
Copy link
Member

This pull request introduces several updates to enhance version control, streamline development environment setup, and simplify Docker configurations for the FFmpeg API project. Key changes include adding pre-commit hooks, updating the versioning system, creating a robust development setup script, and restructuring Docker Compose services and networks.

Version Control Enhancements:

  • .pre-commit-config.yaml: Added a local pre-commit hook (version-controller) to enforce version updates during commits.
  • scripts/version-hook.sh: Created a wrapper script to integrate version control with git hooks, ensuring proper terminal handling.
  • scripts/versionController.sh: Implemented a script to compare local and remote versions, validate new versions, and update the VERSION file interactively.

Development Environment Setup:

  • development.sh: Added a comprehensive script to automate the setup of the development environment, including package installation, virtual environment creation, and pre-commit hook setup.

Docker Configuration Updates:

  • docker-compose.yml: Refactored services and networks to align with the FFmpeg API project structure, including renaming containers, updating environment variables, and removing obsolete services (e.g., GPU workers, monitoring tools). [1] [2] [3]
  • docker/api/Dockerfile: Updated the build.date label to a fixed date for consistent traceability.

Version Update:

  • VERSION: Updated the project version to 1.1.1-beta to reflect the new beta release.

- Introduced a version controller script to manage local versioning.
- Updated VERSION file to 1.1.1-beta.
- Refactored docker-compose.yml to improve service configurations and networking.
- Modified Dockerfile to set a static build date.
- Changed permissions for init-db.py and validate-dockerfile.py scripts.
- Added a setup script for simplified development environment setup.
@AnkanSaha AnkanSaha requested a review from alokemajumder July 20, 2025 18:00
@AnkanSaha AnkanSaha enabled auto-merge July 20, 2025 18:00
@AnkanSaha AnkanSaha merged commit 7cb9595 into main Jul 21, 2025
2 checks passed
@alokemajumder alokemajumder deleted the fix/instaallation-fix branch August 8, 2025 03:44
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.

3 participants