Skip to content

feat(templates): add Jinja2 template engine with context/profile management - #3

Merged
jlaportebot merged 1 commit into
mainfrom
feat/templating-support
Jun 21, 2026
Merged

feat(templates): add Jinja2 template engine with context/profile management#3
jlaportebot merged 1 commit into
mainfrom
feat/templating-support

Conversation

@jlaportebot

Copy link
Copy Markdown
Owner

Summary

  • Add TemplateEngine class with SandboxedEnvironment for secure rendering
  • Add StrictUndefined that raises on missing variables
  • Add ContextManager for per-machine/profile context in YAML
  • Add template scan, render, context, and profile CLI commands
  • Add DOTFILE_SYNC_DIR env var support for custom repo location
  • Add comprehensive CLI integration tests (44 new test cases)
  • Add extended core tests for push/pull/list/status/diff_detailed
  • Fix lint issues: line-too-long, unused imports
  • Raise coverage from 64% to 92%, threshold from 70% to 80%

Test Plan

  • Unit tests pass (146 tests)
  • Lint clean (ruff check, ruff format)
  • Coverage 92% (threshold 80%)

Closes #2

…gement

- Add TemplateEngine class with SandboxedEnvironment for secure rendering
- Add StrictUndefined that raises on missing variables
- Add ContextManager for per-machine/profile context in YAML
- Add template scan, render, context, and profile CLI commands
- Add DOTFILE_SYNC_DIR env var support for custom repo location
- Add comprehensive CLI integration tests (44 new test cases)
- Add extended core tests for push/pull/list/status/diff_detailed
- Fix lint issues: line-too-long, unused imports
- Raise coverage from 64% to 92%, threshold from 70% to 80%
@jlaportebot jlaportebot added the enhancement New feature or request label Jun 21, 2026
@jlaportebot
jlaportebot merged commit 40285cf into main Jun 21, 2026
12 checks passed
@jlaportebot
jlaportebot deleted the feat/templating-support branch June 21, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant