added more logging

This commit is contained in:
brb
2023-07-06 12:20:02 +02:00
parent 2f964dabcc
commit 2aabc9ab37
+2
View File
@@ -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