confluentinc / confluentinc/confluent-docker-utils
`dub template` command does not work with relative source paths
- Dominant language
- Python
- Stars
- 6
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Passing a relative path as a source to `dub template` breaks, since the path is not made absolute before passing it to the Jinja template loader, which is only configured with the root (`/`) in it's search path. The path should be made absolute before use, or the current directory should be added to the search path.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the entry point for the `dub template` command and trace how its source path is passed to the Jinja template loader. Verify the fix by running `dub template` with a relative source path and confirm that template generation succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100