You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by kmkacpermajor July 25, 2024
Hi,
Is it possible to turn off following symlinks in gomplate.config?
I have all files excluded except for !*.tmpl, and it still tries to follow symlinks (even though their names don't end with .tmpl).
Because files that symlinks should follow don't exist on my computer, gomplate ends with an error "failed to gather templates for rendering: walkDir: ignore matching failed for ../..: applyPatterns: stat: stat testSymlink: no such file or directory".
I can't seem to find an option to turn off following symlinks in gomplate.
If there would be a config option to change os.Stat() to os.Lstat(), it would be great.
It would read the information off of symlink, and then for my usage it would just be excluded.
The text was updated successfully, but these errors were encountered:
@kmkacpermajor thanks for filing this - can you provide some more concrete details? what exactly does your configuration and/or gomplate commandline look like?
Discussed in #2194
Originally posted by kmkacpermajor July 25, 2024
Hi,
Is it possible to turn off following symlinks in gomplate.config?
I have all files excluded except for !*.tmpl, and it still tries to follow symlinks (even though their names don't end with .tmpl).
Because files that symlinks should follow don't exist on my computer, gomplate ends with an error "failed to gather templates for rendering: walkDir: ignore matching failed for ../..: applyPatterns: stat: stat testSymlink: no such file or directory".
I can't seem to find an option to turn off following symlinks in gomplate.
If there would be a config option to change os.Stat() to os.Lstat(), it would be great.
It would read the information off of symlink, and then for my usage it would just be excluded.
The text was updated successfully, but these errors were encountered: