Skip to content

chore: docs, setup lifecycle, and justfile formatting fixes - #86

Merged
c-vigo merged 7 commits into
devfrom
chore/docs-setup-formatting-fixes
Feb 19, 2026
Merged

c-vigo merged 7 commits into
devfrom
chore/docs-setup-formatting-fixes

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

Summary

  • fix(setup): rewrite host-specific paths in .gitconfig at export time and refactor devcontainer lifecycle hooks — one-time setup moved from postAttachCommand to postCreateCommand, new verify-auth.sh for lightweight attach-time checks (#60)
  • docs: fix broken curl | bash -s install examples (wrong -- separator placement) and clarify bare semver image tags vs v-prefixed git tags (#57)
  • style: apply canonical just --fmt formatting to justfile.base and justfile.project (#45)

Related Issues

Refs: #60, #57, #45

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • CI / Build change
  • Test updates

Changes Made

fix(setup) — host paths and lifecycle refactor (#60)

  • copy-host-user-conf.sh — generates a container-ready .gitconfig rewriting host paths (user.signingkey, gpg.ssh.allowedsignersfile) to /root/... equivalents; strips host-only entries (credential.*, includeIf.*, core.excludesfile)
  • post-create.sh — now runs all one-time setup (git config, SSH keys, gh auth, pre-commit, uv sync) previously in postAttachCommand
  • post-attach.sh — simplified to auth verification only
  • verify-auth.sh — new script: read-only SSH agent and gh auth checks, socket scanning fallback
  • setup-git-conf.sh — heavily slimmed (removed SSH agent scanning logic, now just file placement)
  • CHANGELOG.md — added entry under Fixed
  • tests/test_image.py, tests/test_integration.py — added verify-auth.sh to expected file lists

docs — install examples and image tags (#57)

  • README.md, docs/templates/README.md.j2 — moved -- separator to correct position after bash -s; replaced 1.0.0 with 0.2.1; added semver image tag note
  • install.sh — fixed version references in help text

style — justfile formatting (#45)

  • justfile.base — canonical just --fmt spacing for interpolations ({{args}} → {{ args }})
  • justfile.project — same formatting, removed extra blank lines

Testing

  • Tests pass locally
  • Pre-commit hooks pass

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have updated the documentation accordingly
  • I have updated CHANGELOG.md in the [Unreleased] section
  • My changes generate no new warnings or errors
  • New and existing unit tests pass locally with my changes

The README curl examples placed the -- separator after script options
instead of immediately after bash -s, causing bash to reject all
flags (--version, --force, etc.) as its own invalid options. Also
replaced the non-existent version 1.0.0 with 0.2.1 and added a note
about bare semver image tags vs v-prefixed git tags.

Refs: #57
…ooks

Generate container-ready .gitconfig at export time in copy-host-user-conf.sh
instead of patching downstream. Move one-time setup (git config, SSH keys,
gh auth, pre-commit) from postAttachCommand into postCreateCommand so it
runs reliably on container creation. Extract auth verification into
verify-auth.sh for lightweight postAttachCommand checks.

Refs: #60
@gerchowl
gerchowl requested a review from c-vigo as a code owner February 18, 2026 23:28
@c-vigo
c-vigo force-pushed the chore/docs-setup-formatting-fixes branch from 597f80f to de184c7 Compare February 19, 2026 16:48
c-vigo and others added 2 commits February 19, 2026 17:03
…o just

- Add post-start.sh for Docker socket perms and dep sync on every start
- Replace inline postStartCommand with script in devcontainer.json
- Route all lifecycle hooks through `just sync` instead of `uv sync`
- Update justfile sync recipe with --all-extras --no-install-project
- Update CHANGELOG and README

Refs: #60
@c-vigo c-vigo closed this Feb 19, 2026
@c-vigo c-vigo reopened this Feb 19, 2026
@c-vigo
c-vigo merged commit 59dd497 into dev Feb 19, 2026
11 checks passed
@c-vigo
c-vigo deleted the chore/docs-setup-formatting-fixes branch February 19, 2026 17:52
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