carvel-dev / vendir

Easy way to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively
https://carvel.dev/vendir
Apache License 2.0
268 stars 46 forks source link

support overriding directories within pulled dependencies via later directory configs #6

Open cppforlife opened 4 years ago

cppforlife commented 4 years ago

for example:

osterman commented 3 years ago

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

cppforlife commented 3 years ago

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.

osterman commented 3 years ago

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.

cppforlife commented 3 years ago

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".