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"))