Confusion about what path
actually represents
#296
Labels
carvel-accepted
This issue should be considered for future work and that the triage process has been completed
documentation
This issue indicates a change to the docs should be considered
My goal is to synchronize a few Git repositories in a certain local directory.
It seems
path
can be a completely different object if it's underdirectories
orcontents
. Here's my journey.One cannot specify
.
as the directory and add entries incontents
:And it's also not possible to specify a list of directories directly under
directories
:Even with
contents
it doesn't work:The Eureka moment:
path
is not the same kind of object with everywhere.Finally, the
workaroundsolution is to define another self-referencing.
path. Now, this works:A few thoughts:
contents
should actually besubdirectories
, but still subdirectories would have a different schema from directories (confusing)directories
is just a local structure used to storecontents
and that acontent
is the actual thing you want to synchronize. I assume most people will be familiar with rsync and how it synchronizes remote directories with local directories but that's not how vendir works.The text was updated successfully, but these errors were encountered: