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
Many build tools avoid modifying version controlled source files, and instead write to a different output file. Chartpress modifies values.yaml in place, which means:
It should be possible to run chartpress without git diff showing changes
Possible options
a. Rename values.yaml to something like values.yaml.in (or values.template.yaml, or similar), following the pattern of autotools which generates Makefile from Makefile.in, remove values.yaml from source control
b. Recursively copy the source directory to a temporary directory and do all work in that directory.
(a) can be made backwards compatible if we want by modifying values.yaml in-place if the input file isn't found, whereas (b) requires no change to repositories.
The text was updated successfully, but these errors were encountered:
Bug description
Many build tools avoid modifying version controlled source files, and instead write to a different output file. Chartpress modifies values.yaml in place, which means:
.dirty
binderhub#1621Expected behaviour
It should be possible to run chartpress without
git diff
showing changesPossible options
a. Rename
values.yaml
to something likevalues.yaml.in
(orvalues.template.yaml
, or similar), following the pattern of autotools which generatesMakefile
fromMakefile.in
, removevalues.yaml
from source controlb. Recursively copy the source directory to a temporary directory and do all work in that directory.
(a) can be made backwards compatible if we want by modifying
values.yaml
in-place if the input file isn't found, whereas (b) requires no change to repositories.The text was updated successfully, but these errors were encountered: