kopia lustrzana https://github.com/jupyterhub/repo2docker
commit
cd7efc1b0d
|
@ -151,7 +151,7 @@ class Repo2Docker(Application):
|
||||||
|
|
||||||
def fetch(self, url, ref, checkout_path):
|
def fetch(self, url, ref, checkout_path):
|
||||||
try:
|
try:
|
||||||
for line in execute_cmd(['git', 'clone', url, checkout_path],
|
for line in execute_cmd(['git', 'clone', '--recursive', url, checkout_path],
|
||||||
capture=self.json_logs):
|
capture=self.json_logs):
|
||||||
self.log.info(line, extra=dict(phase='fetching'))
|
self.log.info(line, extra=dict(phase='fetching'))
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
|
|
Ładowanie…
Reference in New Issue