Skip to content

Add glob helper for path expansion#135

Merged
leynos merged 11 commits intomainfrom
codex/implement-glob-function-with-tests
Aug 26, 2025
Merged

Add glob helper for path expansion#135
leynos merged 11 commits intomainfrom
codex/implement-glob-function-with-tests

Conversation

@leynos
Copy link
Owner

@leynos leynos commented Aug 23, 2025

Summary

  • implement glob() Jinja helper using the glob crate
  • test globbing for sorted results and invalid patterns
  • document glob design and mark roadmap item complete

Testing

  • make check-fmt
  • make lint
  • make test
  • make markdownlint
  • make nixie

https://chatgpt.com/codex/tasks/task_e_68a98de1c57c83229e6b49e3c904a9fd

Summary by Sourcery

Implement a new glob(pattern) Jinja helper for expanding file system paths with sorted results and proper error handling, along with supporting tests and documentation updates.

New Features:

  • Add glob(pattern) helper to Jinja environment for file path expansion in manifests

Build:

  • Add the glob crate dependency to Cargo.toml

Documentation:

  • Document the glob helper design in netsuke-design.md and mark the roadmap item as complete

Tests:

  • Add feature tests for glob expansion and invalid pattern errors in manifest.feature
  • Add Rust unit tests for sorted glob matches and invalid pattern error handling

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant