Open GrahamDumpleton opened 2 years ago
This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.
Still want to see this.
Yeah, so do we. Aggressive little stalebot.
Moving this into "Carvel Accepted" to make that clear.
Describe the problem/challenge you have
If using file marks and you use a pattern if no files match then
ytt
errors when there is really no need for it to error.For the case where an explicit file name is given, then yes error. Eg., for
--file-mark 'file.ext:type=xxx'
. Just not when it is a wildcard.Not giving an error when using wildcards makes it practical to use
ytt
as a template system for creating a whole directory hierarchy of output files when using--output-files
. Ie., a cookiecutter (https://cookiecutter.readthedocs.io/en/1.7.2/_) equivalent.Describe the solution you'd like
Don't cause a fatal error when no files match a file mark pattern with
*
in it. Eg., don't error for*.ext
or**/*.ext
.Anything else you would like to add:
Nope.
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
đ "I would like to see this addressed as soon as possible" đ "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.