feat(dev-session): Containerize dev session manager
This commit introduces a containerized workflow for the development session manager (dev_session.py). - Dockerization: Added gemini.Dockerfile to create a self-contained environment with all Python dependencies, removing the need for manual host setup. - Start Script: Updated start-gemini.sh to build and run the container, executing dev_session.py as the entrypoint. - Session Management: Implemented --done flag to properly terminate a session, update the Notion task status, and clean up the git hook. - Notion Integration: Created and integrated notion_commit_hook.py which is automatically installed/uninstalled to post commit messages to the active Notion task. - Documentation: Updated README_dev_session.md to reflect the new container-based setup, usage, and features.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
# Sicherstellen, dass der Config-Ordner existiert, damit Docker ihn als Ordner und nicht als Datei mountet
|
||||
@@ -14,4 +15,6 @@ sudo docker run -it --rm \
|
||||
-v "$(pwd):/app" \
|
||||
-v "$(pwd)/.gemini-config:/root/.config" \
|
||||
--name gemini-session \
|
||||
gemini-dev-env
|
||||
gemini-dev-env \
|
||||
bash -c "python3 dev_session.py"
|
||||
|
||||
Reference in New Issue
Block a user