Closed fritzduchardt closed 9 months ago
Looks good. First approach seems better, adding config for each contents. For an example in one vendir.yam l if there are multiple contents and only one of them require non-lazy sync then we have to sync others as well multiple times if we add flag on binary. Still wait for others opinion on this.
Looks great, thank you for the proposal!
+1 to first approach being the better option.
I'm inclined to think we should include a note that the sync was not performed in vendir output. Other than that this sounds like a good option.
Semantically I am wondering is this really lazy loading? Lazy to me implies that we sync it on demand - but we are actually sync'ing on changes in the common case of this being enabled.
This actually sounds more to me like caching, we store on first load, then we just re-use the local files unless there is a remote change. I'm pondering a cache: true
option -- to me it's closer to what I am expecting based on the flag name. What do others think? I can be convinced of lazy
though ;). The proposal looks good to me to implement with either name.
LGTM 👍
LGTM
Thanks for the proposal. LGTM The first approach of adding lazy config at 'contents' level is good and vendir sync --lazy=true/false seems more readable. +1 to include a note when sync was not performed in vendir output
Your last commit was not signed do you mind signing it so that we can merge the PR when we have all the needed approvals?
If have done this just now
✅ Deploy Preview for carvel ready!
Toggle QR Code...
Use your smartphone camera to open QR code link.
To edit notification comments on pull requests, go to your Netlify site configuration.