vcspull
vcspull copied to clipboard
No URL found for submodules breaks the pull
Hello there, While trying to use vcspull I noticed that it breaks and stops when a submodule is miss configured or does not exist. Maybe would be better to validate the configuration and if it passes continue with the checkout and if not, warn the user and continue to checkout the next repo.
there is a plan to do config validation in 2.0.0 as there will be a major config format rework done in that version.
@tony i guess submodule handling is entirely done in libvcs?
MfG Andreas "Segaja" Schleifer
@rogerioefonseca @aschleifer
It is in the early stages, under the hood I am updating/untangling libvcs to address this.
- libvcs
run()
will support deferred execution and return a class so its more introspectable in tests and commands - there will be a core
Git
command wrapper: https://github.com/vcs-python/libvcs/pull/319 - there will be a way to
continue_on_error
that can pass directly through via the config (still not sure what the signature will look like)
Related: #363 continue on error
@rogerioefonseca I would need the full traceback of this to see the codepath where the exception was raised.
Sorry for the delay.
I can't quite recreate this exactly. I will make a PR where I've taken a stab
@rogerioefonseca I created #391, I can't recreate it, but had some test code out there that you can look at - which may be close to recreating