Skip to content

Update Devcontainer to support Local Windows/WSL Developement - #1091

Merged
ebhills merged 4 commits into
mainfrom
consistent-line-ending
Jul 27, 2026
Merged

ebhills merged 4 commits into
mainfrom
consistent-line-ending

Conversation

@ebhills

@ebhills ebhills commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator
  1. Update devcontainer.json to current environment and extensions
  2. Adopt linux line end convention so that local windows development does create back & forth line end diffs.

ebhills added 4 commits July 26, 2026 06:34
adopt linux convention so that  local windows development does create back & forth line end diffs.
Add a repository-wide `.editorconfig` to standardize encoding, line endings, final newlines, and whitespace handling, with Windows overrides for batch files and preserved trailing whitespace in Markdown. The devcontainer now also installs the EditorConfig VS Code extension so those rules apply automatically in the development environment.
Update the shared devcontainer to use the Python 3.13 base image, install the full editable development environment, and improve VS Code defaults for YAML and Python tooling. Add Windows-specific Docker Desktop startup guidance with a helper script, and sync the Copilot instructions with the current local setup and test dependencies.

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 local development experience for WranglesPY by modernizing the VS Code devcontainer configuration (Python 3.13-based) and adding repository-wide line-ending controls to avoid CRLF/LF churn when collaborating from Windows/WSL environments.

Changes:

  • Update .devcontainer/devcontainer.json to use the Python 3.13 devcontainer image, install the full dependency set + editable package install, and refresh recommended VS Code extensions/settings (including .recipe as YAML).
  • Add .gitattributes and .editorconfig to standardize LF line endings (with CRLF exceptions for .bat/.cmd) and common editor formatting behavior.
  • Add Windows-focused devcontainer guidance and a helper PowerShell script to wait for Docker Desktop’s Linux engine before reopening the container.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/copilot-instructions.md Updates internal contributor guidance to reflect the current test/container environment and recipe extensions.
.gitattributes Enforces LF line endings repo-wide (with CRLF for Windows command scripts) and marks common binaries as non-text.
.editorconfig Aligns editor behavior with LF conventions and whitespace handling to reduce cross-platform diffs.
.devcontainer/devcontainer.json Moves devcontainer to Python 3.13, installs full deps + editable package, and refines VS Code settings/extensions for recipes and Python.
.devcontainer/wait-for-docker.ps1 Adds a Windows helper to ensure Docker Desktop’s Linux engine is ready before VS Code evaluates the devcontainer.
.devcontainer/README.md Documents the intended Windows/Codespaces workflows and quick diagnostics for Docker readiness.

@ebhills
ebhills merged commit e0bf8b2 into main Jul 27, 2026
12 checks passed
@ebhills
ebhills deleted the consistent-line-ending branch July 27, 2026 00:35
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