Fix/instaallation fix #18
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.
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 theVERSION
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 thebuild.date
label to a fixed date for consistent traceability.Version Update:
VERSION
: Updated the project version to1.1.1-beta
to reflect the new beta release.