Skip to content

fix gitconfig jumana - #3018

Draft
jzbahrai wants to merge 1 commit into
mainfrom
fix-gitconfig-jumana
Draft

fix gitconfig jumana#3018
jzbahrai wants to merge 1 commit into
mainfrom
fix-gitconfig-jumana

Conversation

@jzbahrai

Copy link
Copy Markdown
Collaborator

Summary | Résumé

TODO: 1-3 sentence description of the changed you're proposing.

Related Issues | Cartes liées

Test instructions | Instructions pour tester la modification

TODO: Fill in test instructions for the reviewer.

Release Instructions | Instructions pour le déploiement

None.

Reviewer checklist | Liste de vérification du réviseur

  • This PR does not break existing functionality.
  • This PR does not violate GCNotify's privacy policies.
  • This PR does not raise new security concerns. Refer to our GC Notify Risk Register document on our Google drive.
  • This PR does not significantly alter performance.
  • Additional required documentation resulting of these changes is covered (such as the README, setup instructions, a related ADR or the technical documentation).

⚠ If boxes cannot be checked off before merging the PR, they should be moved to the "Release Instructions" section with appropriate steps required to verify before release. For example, changes to celery code may require tests on staging to verify that performance has not been affected.

@jzbahrai
jzbahrai marked this pull request as ready for review August 20, 2026 14:49
@jzbahrai
jzbahrai requested a review from jimleroyer as a code owner August 20, 2026 14:49
Copilot AI lite review requested due to automatic review settings August 20, 2026 14:49
@jzbahrai
jzbahrai marked this pull request as draft August 20, 2026 14:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the devcontainer setup so the container can read a developer’s host Git configuration by bind-mounting ~/.gitconfig and including it from the container’s writable global gitconfig.

Changes:

  • Bind-mount host ${HOME}/.gitconfig into the devcontainer as /home/vscode/.gitconfig-host (read-only).
  • Update the devcontainer entrypoint to add an include.path to /home/vscode/.gitconfig-host (only if present and not already included).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.devcontainer/scripts/notify-dev-entrypoint.sh Conditionally adds a global include.path entry so git inside the container picks up the mounted host gitconfig.
.devcontainer/docker-compose.yml Adds a bind mount for the host ~/.gitconfig into the devcontainer (read-only).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

REDIS_URL: redis://redis:6380
volumes:
- ..:/workspace:cached
- ${HOME}/.gitconfig:/home/vscode/.gitconfig-host:ro
REDIS_URL: redis://redis:6380
volumes:
- ..:/workspace:cached
- ${HOME}/.gitconfig:/home/vscode/.gitconfig-host:ro
Comment on lines +119 to +123
if [ -f /home/vscode/.gitconfig-host ]; then
if ! git config --global --get-all include.path | grep -Fxq /home/vscode/.gitconfig-host; then
git config --global --add include.path /home/vscode/.gitconfig-host
fi
fi
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.

2 participants