spring-cloud-config icon indicating copy to clipboard operation
spring-cloud-config copied to clipboard

Update Git Submodules On Refresh

Open ryanjbaxter opened this issue 4 years ago • 4 comments

When using a Git repo as a backend and that Git repo contains a submodule you can clone the submodules but they are never refreshed.

See https://github.com/spring-cloud/spring-cloud-config/issues/1917#issuecomment-873216819

I think we can use SubmoduleWalk to walk the submodules and update them https://download.eclipse.org/jgit/site/5.12.0.202106070339-r/apidocs/index.html

ryanjbaxter avatar Jul 06 '21 16:07 ryanjbaxter

@spencergibb let me know if you think there is a way to make this work today

ryanjbaxter avatar Jul 06 '21 16:07 ryanjbaxter

Not that I'm aware of

spencergibb avatar Jul 06 '21 16:07 spencergibb