vendir icon indicating copy to clipboard operation
vendir copied to clipboard

support overriding directories within pulled dependencies via later directory configs

Open cppforlife opened this issue 5 years ago • 4 comments

for example:

  • pull in config/_ytt_lib/github.com/cloudfoundry/cf-for-k8s
  • override config/_ytt_lib/github.com/cloudfoundry/cf-for-k8s/config/_ytt_lib/github.com/pivotal/kpack with something else.

cppforlife avatar Apr 07 '20 17:04 cppforlife

@cppforlife would you say this relates kind of to our use case in #29 ?

osterman avatar Dec 10 '20 23:12 osterman

nah dont think so. this is more about overriding directories wholesale (with an updated dependency) whereas #29 is more about modifying downloaded dependency. there is some relationship but prolly a bit different.

cppforlife avatar Dec 11 '20 14:12 cppforlife

whereas #29 is more about modifying downloaded dependency.

Oh no, definitely not what I wanted to imply. We don't want to modify any file downloaded. We just want to keep files in the directory tree that did not originate at the source and not have those erased.

osterman avatar Dec 11 '20 18:12 osterman

We don't want to modify any file downloaded

what i meant is that we see directory represented via a source as a single asset. so any modification to that directory (eg copying over temp files like *.tf.json) is "modifying asset".

cppforlife avatar Dec 11 '20 23:12 cppforlife