posit-dev / posit-dev/images-shared
Improve error handling for missing Jinja2 template variable values
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 22
Description
I want to get rid of any need for Justfile targets that wrap bakery. The primary reason we were even utilizing those targets was to provide guide rails when creating new image versions that had fixed variables that needed to be provided. If we improve the error handling to make it very obvious what variables must be provided, the feedback to the user should be sufficient to eliminate these external wrapper guardrails.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the bakery entry point that renders Jinja2 templates and review the Justfile targets that currently provide variable guardrails. Trace how missing template values are reported. Done means the error clearly identifies every variable that must be provided, making those external wrapper targets unnecessary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100