added more logging
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from pydantic import AnyHttpUrl
|
||||
from pathlib import Path
|
||||
from git import Repo
|
||||
import logging
|
||||
import shutil
|
||||
import os
|
||||
|
||||
@@ -16,4 +17,5 @@ def clone_repository(repo_url: AnyHttpUrl) -> Path:
|
||||
dst_dir.mkdir()
|
||||
# git clone repo
|
||||
Repo.clone_from(url=repo_url, to_path=dst_dir)
|
||||
logging.debug('finished')
|
||||
return dst_dir
|
||||
Reference in New Issue
Block a user