From d505b0df16d138eceb6bf943c6b2f9e77da9863d Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Wed, 12 Jul 2023 19:34:51 +0200 Subject: [PATCH] updated --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index dd3c3aa..f4f981f 100644 --- a/main.py +++ b/main.py @@ -17,6 +17,7 @@ logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s') def fetch_branches(repo): + logging.info("fetching branches...") # branches = [repo.git.branch("-r").replace("origin/", "").split("\n ")] # branches = repo.remotes.origin.fetch() branch_list = [r.remote_head for r in repo.remote().refs] @@ -25,7 +26,7 @@ def fetch_branches(repo): def fetch_repository(REPOSITORY_URL, REPOSITORY_PATH): - logging.debug("fetching repository %s", str(REPOSITORY_URL)) + logging.info("fetching repository %s", str(REPOSITORY_URL)) # git.Repo(Path(config(REPOSITORY_PATH))) repo = git.Repo.clone_from(REPOSITORY_URL, Path("../coco_apm_terraform_onboarding"))